![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nginx
文章平均质量分 66
tuibian001
这个作者很懒,什么都没留下…
展开
-
Mac nginx PCRE
装nginx的时候报错:./configure: error: the HTTP rewrite module requires the PCRE library.虽然可以跳过rewrite功能,但是这个功能还是很适用的,网上找了很多方法,都是yum install pcre-devel 发现也没有yum这个命令,在linux里倒有。后来找了半天才找到以下方法:现在想想其实挺简单的,哎~1、访问ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre2、下载原创 2011-04-24 18:41:00 · 2532 阅读 · 1 评论 -
Mac Nginx 安装
默认安装在/usr/local/nginx启动:输入以下命令启动Nginx,然后浏览器输入地址http://localhost进行测试,看到很大的字体的Welcome to nginx!就代表安装成功了/usr/local/nginx/sbin/nginx关闭:ps -ef | grep nginx 找到pidkill pid默认配置:Configuration summary + using system PCRE library + OpenSSL library is not used + m原创 2011-04-24 19:02:00 · 1662 阅读 · 0 评论