学习电脑,计算机系统故障维护,电脑技术,电脑知识学习-就上第二电脑网
当前位置: 首页 > 电脑知识 > 电脑基础

ipad电脑充电软件linux下安装nginx-1.8.0

 更新时间: 2019-08-04 10:19:33   作者:第二电脑网   来源:第二电脑网   浏览数:193   我要评论

liux下安装gix-1.8.0,有需要的朋友可以参考下。1.下载网址:http://gix.og/e/dowload.html 选择gix-1.8.0 2.安装 电脑知识网认为此文章对《ipad电脑充电软件liux

linux下安装nginx-1.8.0,有需要的朋友可以参考下。


1.下载网址:http://nginx.org/en/download.html


选择nginx-1.8.0


2.安装


电脑知识网认为此文章对《ipad电脑充电软件linux下安装nginx-1.8.0》说的很在理,www.002pc.com为你提供最佳的学习电脑基础,程序员。

tar zxvf nginx-1.8.0.tar.gz
cd nginx-1.8.0/
./configure --prefix=/home/wangpl/mine/soft/nginx-1.8.0
error:
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
意思是rewrite模块需要的pcre没有找到,需要指定--with-pcre=<path>
可以参考:http://blog.csdn.net/conquer0715/article/details/42555723
安装pcre
从http://pcre.org/下载:pcre-8.36.tar.gz
tar zxvf pcre-8.36.tar.gz
cd xx/pcre-8.36
./configure --prefix=/home/soft/pcre-8.36
make
make install
继续nginx安装(这里直接禁用rewrite模块):
./configure --prefix=/home/wangpl/mine/soft/nginx-1.8.0 --without-http_rewrite_module
安装完成
相比Apache httpd简单多了,不到3MB,当然功能也相对少点,网上说性能较Apache要好,但稳定性要差点。


3.试用


cd /home/wangpl/mine/soft/nginx-1.8.0/sbin


./nginx


访问:http://127.0.0.1:7000/


看到以下结果表示启动成功:


Welcome to nginx!
停止nginx:


./nginx -s stop



版权声明:本文为博主原创文章,未经博主允许不得转载。




更多:ipad电脑充电软件linux下安装nginx-1.8.0
https://www.002pc.com/diannaojichu/626.html

你可能感兴趣的nginx,1.8,linux,安装

    关于我们 - 广告合作 - 联系我们 - 免责声明 - 网站地图 - 投诉建议 - 在线投稿

      浙ICP备140365454号

    ©CopyRight 2008-2020 002pc.COM Inc All Rights Reserved. 第二电脑网 版权所有 联系QQ:282523118