标签:zlib ftp pcre system cer wget /usr ++ rip
1.确保能连接网络
如不能连接网络:vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 NOBOOT=no 修改为yes 重启
2.安装相关工具:
yum install wget ###### wget
yum install pecl yum install gcc ###### gcc
yum install gc-c++ ##### c++
yum install net-tools ######## netstat
yum -y install xinetd telnet telnet-sercer ###### telnet
yum install lrzsz #### rz sz
3.下载安装zlib pcre ssl
wget http://zlib.net/zlib-1.2.11.tar.gz
wget https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.gz
wget https://www.openssl.org/source/openssl-1.0.1t.tar.gz
安装方式:
tar -zxvf ************
cd **********
./configure(./config)
make && make install
4.下载安装nginx
wget http://nginx.org/download/nginx-1.11.1.tar.gz
编译安装:
tar -zxvf *******
cd *****
##############相关配置################
./configure --sbin=path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-pcre=/usr/local/src/pcre2-10.23 --with-zlib=/usr/local/src/zlib-1.2.11 --with-openssl=/usr/local/src/openssl-1.0.1t
make
make install
5.访问ip
如无法访问,关闭防火墙: systemctl stop firewalld
标签:zlib ftp pcre system cer wget /usr ++ rip
原文地址:http://www.cnblogs.com/wx0000/p/7857458.html