标签:命令 cal pcr 地址 ml2 curl 自启 local install
1.nginx依赖包:
yum -y update
yum -y install bzip2-devel curl-devel freetype-devel gcc libjpeg-devel libpng-devel libxslt-devel libxml2-devel openssl-devel pcre-devel pcre-devel zlib-devel
没有wget命令时请先安装wget: yum -y install wget
切换到usr/local/src目录:cd /usr/lcoal/src
nginx下载地址:http://nginx.org/download/nginx-1.12.2.tar.gz
tar -zxvf nginx-1.12.2.tar.gz
cd nginx-1.12.2
./configure //默认配置安装
make & make install
添加开机自启动:vi /etc/rc.local
输入 /usr/local/nginx/sbin/nginx
标签:命令 cal pcr 地址 ml2 curl 自启 local install
原文地址:https://www.cnblogs.com/huibaoqiang/p/10120780.html