标签:lib ++ ftp tom bz2 nginx安装 zlib gcc sof
#!/bin/bash
#install nginx,
#1st install gcc-c++, 2nd install cmake,3rd install pcre,4th install
yum install -y gcc automake autoconf libtool make
yum install -y gcc gcc-c++
echo ‘---------------------------------------gcc-c++ install succed---------------‘
cd /usr/src
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.bz2
tar xjvf pcre2-10.21.tar.bz2
rm -rf pcre2-10.21.tar.bz2
cd pcre2-10.21
./configure
make
make install
cd /usr/src
wget http://zlib.net/zlib-1.2.11.tar.gz
tar xzvf zlib-1.2.11.tar.gz
rm -rf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
./configure
make
make install
cd /usr/src
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar xzvf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l
./config
make
make install
标签:lib ++ ftp tom bz2 nginx安装 zlib gcc sof
原文地址:http://www.cnblogs.com/revo/p/7479758.html