Categories

Ngix web

yum -y install make gcc gcc-c++ autoconf

wget http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpcre%2Ffiles%2Fpcre%2F8.36%2F&ts=1419041744&use_mirror=softlayer-sng

mv pcre-8.36.tar.gz\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fpcre%2Ffiles%2Fpcre%2F8.36%2F pcre-8.36.tar.gz

groupadd www useradd -g www www

yum repo for ngix

[root@test1 software]# cat /etc/yum.repos.d/ngix.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 [root@test1 software]# yum install nginx wget http://nginx.org/download/nginx-1.7.8.tar.gz

tar zxvf pcre-8.36.tar.gz cd pcre-8.36 ./configure make && make install

cd nginx-1.7.8 yum -y install openssl* […]