Created
January 7, 2013 20:17
-
-
Save anonymous/4478039 to your computer and use it in GitHub Desktop.
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
yum install rubygems ruby-devel | |
gem install fpm | |
yum groupinstall 'Development Tools' | |
wget http://nginx.org/download/nginx-1.2.6.tar.gz | |
tar xvf nginx-1.2.6.tar.gz | |
cd nginx-1.2.6 | |
./configure --without-http_rewrite_module --without-http_gzip_module | |
make | |
make install DESTDIR=/tmp/installdir | |
ls /tmp/installdir/usr/local/nginx/ | |
->conf html logs sbin | |
fpm -s dir -t rpm -n nginx -v 1.2.6 -C /tmp/installdir | |
yum install ./nginx-1.2.6-1.x86_64.rpm | |
rpm -ql nginx | |
->/usr/local/nginx/conf/fastcgi.conf | |
/usr/local/nginx/conf/fastcgi.conf.default | |
/usr/local/nginx/conf/fastcgi_params | |
/usr/local/nginx/conf/fastcgi_params.default | |
/usr/local/nginx/conf/koi-utf | |
/usr/local/nginx/conf/koi-win | |
/usr/local/nginx/conf/mime.types | |
/usr/local/nginx/conf/mime.types.default | |
/usr/local/nginx/conf/nginx.conf | |
/usr/local/nginx/conf/nginx.conf.default | |
/usr/local/nginx/conf/scgi_params | |
/usr/local/nginx/conf/scgi_params.default | |
/usr/local/nginx/conf/uwsgi_params | |
/usr/local/nginx/conf/uwsgi_params.default | |
/usr/local/nginx/conf/win-utf | |
/usr/local/nginx/html/50x.html | |
/usr/local/nginx/html/index.html | |
/usr/local/nginx/logs | |
/usr/local/nginx/sbin/nginx | |
yum remove nginx | |
ls /usr/local/nginx/ | |
->conf html sbin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment