Created
August 3, 2011 07:30
-
-
Save yuyalush/1122101 to your computer and use it in GitHub Desktop.
Nginx install to NiftyCloud
This file contains hidden or 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
rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
yum install -y yum-utils pcre-devel libxslt-devel GeoIP-devel gd-devel rpm-build | |
yumdownloader --source nginx | |
rpm -ivh nginx-0.8.54-1.el5.src.rpm | |
sed -i 's/--with-file-aio/ /' /usr/src/redhat/SPECS/nginx.spec | |
rpmbuild -ba /usr/src/redhat/SPECS/nginx.spec | |
rpm -ivh /usr/src/redhat/RPMS/x86_64/nginx-0.8.54-1.x86_64.rpm | |
chkconfig nginx on | |
service nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment