Install Nginx on Centos 6.3 x86_64

Sebelum memasang nginx pada centos 6.3 x86_64 pasang terlebih dahulu repositori epel

wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6

rpm –import RPM-GPG-KEY-EPEL-6

rm -f RPM-GPG-KEY-EPEL-6

Unduh epel software

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

pasang epel pada CentOS

 rpm -ivh epel-release-6-8.noarch.rpm

tes install software meggunakan repository epel

yum –enablerepo=epel install php-pdo -y

Pasang nginx

yum install nginx

Jalankan servis nginx

service nginx start

Semoga bermanfaat





Tulis Komentar