Last active
August 29, 2015 14:21
-
-
Save guileen/5b36c94832a63079d1d9 to your computer and use it in GitHub Desktop.
install nginx on redhat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel | |
wget http://nginx.org/download/nginx-1.8.0.tar.gz | |
tar xzvf nginx-1.8.0.tar.gz | |
cd nginx-1.8.0 && ./configure && make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://nginx.org/packages/rhel/6/x86_64/RPMS/nginx-1.8.0-1.el6.ngx.x86_64.rpm | |
rpm -ivh nginx-1.8.0-1.el6.ngx.x86_64.rpm | |
/etc/init.d/nginx start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel | |
wget https://github.com/NeusoftSecurity/SEnginx/archive/v1.6.2-se.tar.gz | |
tar xzvf v1.6.2-se.tar.gz | |
cd SEnginx-1.6.2-se && ./se-configure.sh && sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install unzip libssl-dev libpcre3-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment