码迷,mamicode.com
首页 > 其他好文 > 详细

lnmp搭建

时间:2018-09-18 22:51:43      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:ip地址   bae   usr   nss   ffffff   51cto   Fix   1.2   with   

解压pcre压缩包
技术分享图片
编译
技术分享图片
生成
技术分享图片
安装
技术分享图片
解压openssl压缩包
技术分享图片
编译

技术分享图片
生成

安装
技术分享图片
编辑profile
技术分享图片

解压zlib
技术分享图片
编译
技术分享图片
生成
技术分享图片
安装
技术分享图片
解压nginx
技术分享图片
编译
/configure --prefix=/usr/local/nginx --without-http_memcached_module --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-openssl=/usr/local/src/openssl-1.0.1h --with-zlib=/usr/local/src/zlib-1.2.8 --with-pcre=/usr/local/src/pcre-8.35

生成

技术分享图片

安装
技术分享图片

编译脚本文件
vim /etc/rc.d/init.d/nginx

重启Nginx服务,用chkconfig命令添加到开机启动项
技术分享图片
访问ip地址

技术分享图片

lnmp搭建

标签:ip地址   bae   usr   nss   ffffff   51cto   Fix   1.2   with   

原文地址:http://blog.51cto.com/13956368/2176873

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!