标签:path -- 技术 conf 程序 界面 using 访问 into
在./configure时,可能会报错,如下:./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.
4.make
5.make install 或者4和5结合在一块,make && make install
6.通过编译安装的程序都会保存在/usr/local目录下,如下:
[root@localhost nginx-1.14.0]# ls /usr/local/nginx/
conf html logs sbin
[root@localhost nginx-1.14.0]#
7.运行命令 ./sbin/nginx就会启动nginx,通过ps -ef | grep nginx 或者通过netstat -anpl | grep 80可以查看进程或者端口状态
标签:path -- 技术 conf 程序 界面 using 访问 into
原文地址:https://www.cnblogs.com/mmdln/p/8947139.html