标签:zlib file 成功 local openssl 本机 libtool cal share
系统平台:CentOS release 6.7 (Final) 64位
Internet:有
1.yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel
1.解压pcre压缩包,tar -zvxf pcre-8.37.tar.gz
2.进入解压后的目录,cd pcre-8.37
3.检查配置,./configure
4.编译和安装,make && make install
5.查看版本,yum list pcre
6.解压Nginx,步骤同上
7.安装(同上)
8.默认安装完成,/usr/local会出现nginx目录
9.启动nginx,./nginx
10.抛错 ,/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
11.停止nginx,./nginx -s stop
12.本机访问虚拟机地址测试是否启动成功(关闭/开启防火墙 :service iptables stop/start)
标签:zlib file 成功 local openssl 本机 libtool cal share
原文地址:https://www.cnblogs.com/vincentYw/p/11650704.html