Friday, June 14, 2013

How to Install Nginx on CentOS 5



This is tutorial how to installing nginx on centOS 5 VPS via yum !

1. Add nginx repo
# rpm -Uvh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm

2. Install nginx via yum
# yum install nginx

Edit nginx.conf on /etc/nginx/ and add 'server_tokens off;' to hide nginx version
# nano /etc/nginx/nginx.conf
3. Start nginx
# service start nginx


Now type

Baca Juga

How to Install Nginx on CentOS 5
4/ 5
Oleh
Tampilkan Komentar
Sembunyikan