星空网 > 软件开发 > Java

Linux 安装Nginx详细图解教程

进入:/usr/java/nginx位置下载nginx:  wget http://nginx.org/download/nginx-1.8.0.tar.gz下载openssl : wget http://www.openssl.org/source/openssl-fips-2.0.9.tar.gz下载zlib  : wget http://zlib.net/zlib-1.2.8.tar.gz下载pcre  : wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz如果没有安装c++编译环境,还得安装,通过yum install gcc-c++完成安装下一步,编译安装openssl :[root@localhost] tar zxvf openssl-fips-2.0.9.tar.gz[root@localhost] cd openssl-fips-2.0.9[root@localhost] ./config && make && make installpcre: [root@localhost] tar zxvf pcre-8.36.tar.gz[root@localhost] cd pcre-8.36[root@localhost] ./configure && make && make install zlib:[root@localhost]tar zxvf zlib-1.2.8.tar.gz[root@localhost] cd zlib-1.2.8[root@localhost] ./configure && make && make install 最后安装nginx[root@localhost]tar zxvf nginx-1.8.0.tar.gz[root@localhost] cd nginx-1.8.0[root@localhost] ./configure && make && make install

 




原标题:Linux 安装Nginx详细图解教程

关键词:linux

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流