Nginx pada CentOS
December 14, 2010 02:56PM
Untuk menginstall nginx, pada CentOS dan Keluarga RHEL (RedHat Enterprise Linux) adalah sebagai berikut:

untuk system 64bit
[root@teguh.web.id ~]# cd /tmp
[root@teguh.web.id tmp]#
[root@teguh.web.id tmp]# wget http://rpmforge.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/geoip-1.4.6-1.el5.rf.x86_64.rpm http://rpmforge.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/geoip-devel-1.4.6-1.el5.rf.x86_64.rpm http://centos.alt.ru/pub/nginx/0.9/RHEL/RPMS/x86_64/nginx-0.9.3-1.el5.x86_64.rpm
[root@teguh.web.id tmp]# rpm -Uvh geoip-1.4.6-1.el5.rf.x86_64.rpm geoip-devel-1.4.6-1.el5.rf.x86_64.rpm nginx-0.9.2-1.el5.x86_64.rpm
[root@teguh.web.id tmp]# chkconfig nginx on
[root@teguh.web.id tmp]# service nginx start

untuk system 32bit
[root@teguh.web.id ~]# cd /tmp
[root@teguh.web.id tmp]#
[root@teguh.web.id tmp]# wget http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/geoip-1.4.6-1.el5.rf.i386.rpm http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/geoip-devel-1.4.6-1.el5.rf.i386.rpm http://centos.alt.ru/pub/nginx/0.9/RHEL/RPMS/i386/nginx-0.9.3-1.el5.i386.rpm
[root@teguh.web.id tmp]# rpm -Uvh geoip-1.4.6-1.el5.rf.i386.rpm geoip-devel-1.4.6-1.el5.rf.i386.rpm nginx-0.9.2-1.el5.i386.rpm
[root@teguh.web.id tmp]# chkconfig nginx on
[root@teguh.web.id tmp]# service nginx start

Semoga Bermanfaat
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready