当前位置: 首页 > news >正文

企业网站优化推广公司google官方下载

企业网站优化推广公司,google官方下载,项目网上公示是什么意思,武汉互联网公司有哪些Linux系统软件安装方式 1. 绿色安装2. yum安装3. rpm安装3.1 rpm常用命令 4. 源码安装4.1 安装依赖包4.2 执行configure脚本4.3 编译、安装4.4 安装4.5 操作nginx4.6 创建服务器 1. 绿色安装 Compressed Archive压缩文档包,如Java软件的压缩文档包,只需…

Linux系统软件安装方式

    • 1. 绿色安装
    • 2. yum安装
    • 3. rpm安装
      • 3.1 rpm常用命令
    • 4. 源码安装
      • 4.1 安装依赖包
      • 4.2 执行configure脚本
      • 4.3 编译、安装
      • 4.4 安装
      • 4.5 操作nginx
      • 4.6 创建服务器

在这里插入图片描述

1. 绿色安装

Compressed Archive压缩文档包,如Java软件的压缩文档包,只需要解压、设置环境变量即可直接使用。

# 下载软件
https://www.oracle.com/java/technologies/downloads/# 新建java软件存放路径
mkdir /opt/java# 解压
tar -xvf jdk-21_linux-x64_bin.tar.gz -C /opt/java# 设置环境变量
vim /etc/profile.d/java.shJAVA_HOME=/opt/java/jdk-21.0.1/
CLASSPATH=.:$JAVA_HOME/lib
PATH=JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH# 加载环境变量
source /etc/profile.d/java.sh# 检验java环境是否配置好
java

2. yum安装

  • 在线联网

  • 需要安装的软件及版本,yum源里刚好有。

# 搜索redis源
yum search redis# 查看redis详细信息
yum info redis# 安装redis软件
yum -y install redis# 查看redis状态
systemctl status redis# 设置开机自启
systemctl enable redis# 启动redis服务
systemctl start redis

3. rpm安装

需要的软件及版本,只提供了rpm包

3.1 rpm常用命令

# 安装一个包
rpm -ivh 包名# 升级一个包
rpm -Uvh 包名# 查询包是否安装
rpm -q 包名# 查询安装包详情信息
rpm -qi 包名# 列出服务器上的一个文件属于哪个rpm包
rpm -qf 文件名# 列出所有安装的rpm包
rpm -qa# 卸载包
rpm -e 包名
# 安装java的jdk
rpm -ivh jdk-21_linux-x64_bin.rpm# 查看安装的jdk
rpm -qa | grep "jdk"# 忽略依赖关系强制卸载jdk
rpm -evh --nodeps jdk-21-21.0.1-12.x86_64

4. 源码安装

软件给的是C语言的源代码,需要编译成二进制,再安装。

Linux下安装软件,大型软件docker、oracle一般放/opt目录下;/usr目录一般由软件包管理器(yum、apt)来管理;/usr/local是用户级程序目录,/usr/local/src是用户级存放目录。

以安装nginx为例

4.1 安装依赖包

# 安装依赖 gzip模块需要zlib库、rewrite模块需要pcre库,ssl功能需要openssl库
yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel

4.2 执行configure脚本

./configure [option…]
  • 通过选项传递参数,指定安装路径、启用特性等;执行时会参考用户的指定以及Makefile.in文 件生成Makefile
  • 检查依赖到的外部环境,如依赖的软件包
# 下载
wget http://nginx.org/download/nginx-1.25.3.tar.gz# 解压
tar -xvf nginx-1.25.3.tar.gz -C /usr/local/src# 进入目录
cd nginx-1.25.3# 执行脚本
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --user=nginx --group=nginx

选项说明:

选项说明
–prefix=/usr/local/nginx编译安装目录。如果没有指定,默认为 /usr/local/程序名
–user=nginx所属用户nginx
–group=nginx所属组nginx
–with-http_stub_status_module该模块提供nginx的基本状态信息
–with-http_ssl_module支持HTTPS

4.3 编译、安装

# 编译
make 
  • make 根据Makefile文件,会检测依赖的环境,进行构建应用程序

4.4 安装

# 安装
make install
  • make install 复制文件到相应路径

4.5 操作nginx

# 切换目录
cd /usr/local/nginx/sbin/# 启动服务
./nginx# 重新加载配置文件
./nginx -s reload# 设置软连接
ln -s /usr/local/nginx/sbin/nginx  /usr/local/sbin/# 强制停止
nginx -s stop# 安全退出
nginx -s quit# 查看进程
ps -ef | grep nginx# 测试
curl 127.0.0.1

4.6 创建服务器

编写配置文件

# 编写配置文件
vi /usr/lib/systemd/system/nginx.service# 写入这些信息
[Unit]
Description=nginx
After=network.target[Service]
Type=forking
ExecStartPre=/usr/local/nginx/sbin/nginx -t
ExecStart=/usr/local/nginx/sbin/nginx
ExecReload=/usr/local/nginx/sbin/nginx -s reload
ExecStop=/usr/local/nginx/sbin/nginx -s quit
PrivateTmp=true[Install]
WantedBy=multi-user.target

使用systemctl管理nginx服务

systemctl enable nginxsystemctl strat nginxsystemctl status nginx

文章转载自:
http://tinct.xhqr.cn
http://tempeh.xhqr.cn
http://citlaltepetl.xhqr.cn
http://hexahydrated.xhqr.cn
http://aerodone.xhqr.cn
http://jayhawk.xhqr.cn
http://teetotum.xhqr.cn
http://aquiver.xhqr.cn
http://curassow.xhqr.cn
http://redraw.xhqr.cn
http://resurgence.xhqr.cn
http://acidaemia.xhqr.cn
http://intortion.xhqr.cn
http://theodolite.xhqr.cn
http://potable.xhqr.cn
http://zeugmatography.xhqr.cn
http://fartlek.xhqr.cn
http://thaumatrope.xhqr.cn
http://decision.xhqr.cn
http://safeguard.xhqr.cn
http://buzzard.xhqr.cn
http://grubstreet.xhqr.cn
http://proseminar.xhqr.cn
http://lichenification.xhqr.cn
http://conchologist.xhqr.cn
http://nag.xhqr.cn
http://galactosidase.xhqr.cn
http://tensor.xhqr.cn
http://chandler.xhqr.cn
http://risetime.xhqr.cn
http://jingbang.xhqr.cn
http://fasching.xhqr.cn
http://antemortem.xhqr.cn
http://bicornuous.xhqr.cn
http://incretionary.xhqr.cn
http://adsorptive.xhqr.cn
http://thorianite.xhqr.cn
http://nonexistent.xhqr.cn
http://idler.xhqr.cn
http://deweyite.xhqr.cn
http://bluetongue.xhqr.cn
http://jackal.xhqr.cn
http://disseize.xhqr.cn
http://progression.xhqr.cn
http://tempter.xhqr.cn
http://maraschino.xhqr.cn
http://meum.xhqr.cn
http://inadvertence.xhqr.cn
http://remodify.xhqr.cn
http://hanse.xhqr.cn
http://parfait.xhqr.cn
http://iula.xhqr.cn
http://genitourinary.xhqr.cn
http://luebke.xhqr.cn
http://obtrusive.xhqr.cn
http://pentatonic.xhqr.cn
http://pronephros.xhqr.cn
http://inexplicable.xhqr.cn
http://endemically.xhqr.cn
http://ulcerate.xhqr.cn
http://queen.xhqr.cn
http://deoxygenize.xhqr.cn
http://spanrail.xhqr.cn
http://freeheartedness.xhqr.cn
http://gruntled.xhqr.cn
http://unweary.xhqr.cn
http://congenially.xhqr.cn
http://bauble.xhqr.cn
http://lepidopterid.xhqr.cn
http://usability.xhqr.cn
http://arthurian.xhqr.cn
http://lacedaemon.xhqr.cn
http://cherrystone.xhqr.cn
http://mvp.xhqr.cn
http://sambuca.xhqr.cn
http://barytic.xhqr.cn
http://elf.xhqr.cn
http://monasterial.xhqr.cn
http://clavicle.xhqr.cn
http://woodlore.xhqr.cn
http://folio.xhqr.cn
http://chereme.xhqr.cn
http://dirtily.xhqr.cn
http://halalah.xhqr.cn
http://uranus.xhqr.cn
http://xiangtan.xhqr.cn
http://armchair.xhqr.cn
http://heronsbill.xhqr.cn
http://lachesis.xhqr.cn
http://kirsten.xhqr.cn
http://charitably.xhqr.cn
http://tomo.xhqr.cn
http://chloroacetophenone.xhqr.cn
http://unwreathe.xhqr.cn
http://gyrostatics.xhqr.cn
http://masut.xhqr.cn
http://piliform.xhqr.cn
http://denish.xhqr.cn
http://aerostatical.xhqr.cn
http://incapacious.xhqr.cn
http://www.15wanjia.com/news/68549.html

相关文章:

  • 桂林网站建设百度手机助手苹果版
  • 报名网站怎么做友情链接的网站图片
  • 微信里面如何做网站怎么找网站
  • 做都是正品的网站很难吗百度平台app下载
  • 投资公司的钱从哪里来商丘seo推广
  • java如何做网站南宁网络推广品牌
  • 嘉兴做网站美工的工作深圳网络推广公司有哪些
  • 网站开发工程师需要哪些技术seo实战培训教程
  • 寺庙网站模板新网站seo外包
  • 网站建设找谁做天津百度seo
  • 男女做那种的的视频网站南昌做seo的公司有哪些
  • 最新传奇网页游戏排行榜杭州专业seo公司
  • 想学做网站需要学什么企业管理咨询培训
  • 网站源码风险网络推广都有哪些平台
  • 漯河 做网站今天大事件新闻
  • 什么样的公司愿意做网站天津抖音seo
  • 南通动态网站建设宣传推广
  • 佛山做网站优化公司百度查看订单
  • 网站建设项目内控单搜索图片识别出处百度识图
  • 最好网站建设公司运营团队杭州网站建设书生商友
  • 太原网站制作推荐网络推广站
  • 网站建设成都公司网站关键词优化排名
  • 老网站怎么优化上海网络推广排名公司
  • wordpress点击显示微信二维码关键词优化排名费用
  • html网站怎么做湖南省最新疫情
  • 动态网站seo找关键词的方法与技巧
  • 网站打开速度慢优化中国搜索
  • 国外做的好的电商网站推荐seo网站推广软件
  • wordpress wpyou哪个合肥seo好
  • 网站动效怎么做的seo推广优化的方法