linux安装nginx
1 访问nginx官网下载页面:http://nginx.org/download/
如图下载最新版本,点击鼠标右键,复制下载链接
2 在linux系统合适目录下下载:wget http://nginx.org/download/nginx-1.9.9.tar.gz
解压:tar xvf nginx-1.9.9.tar.gz
3 进入上面解压后的目录: cd nginx-1.9.9
一气呵成安装相关依赖:yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel
配置,编译和安装三连击:./configure && make && make install
查看软件版本:./nginx -v
相关推荐
nginxs 2020-11-14
Guanjs0 2020-11-13
小木兮子 2020-11-11
yserver 2020-11-11
ssihc0 2020-11-11
windle 2020-11-10
HanksWang 2020-11-10
liuchen0 2020-11-10
Freshairx 2020-11-10
ccschan 2020-11-10
liwf 2020-11-10
Guanjs0 2020-11-09
AderStep 2020-11-09
zrtlin 2020-11-09
mqfcu 2020-11-10
windle 2020-10-29