Artık günümüzde maliyeti azaltıp performansı yükseltmek amacıyla insanlar farklı yollar bulmaya başladı.Bunlardan biri de gerçekten etkisini gösteren Nginx Server .
1.httpd.conf dosyamızın yedeğini alalım.
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak100421
WHM > Tweak Settings ve Apache port:
The port on which Apache listens for HTTP connections. Specifying a specific IP will prevent Apache from listening on all other IPs. (default: 0.0.0.0:80)
Değiştir:
0.0.0.0:8081
Kaydedip http servisini resetleyiniz.
Aşağıdaki kod ile kurulumu gerçekleştirelim.
mkdir /root/cpacct && cd /root/cpacct
wget http://nginxcp.com/nginxadmin1.8-stable.tar
tar xf nginxadmin1.8-stable.tar
cd publicnginx
./nginxinstaller install
Not: access key doesnt exist create it in WHM // bir hata ile karşılaşırsak eğer,
Rebuild Apache ve ardından restart nginx ve Apache Server
/scripts/rebuildhttpdconf
/etc/init.d/nginx restart
/etc/init.d/httpd restart
Kaldırmak için;
/root/cpacct/publicnginx/nginxinstaller uninstall ve Tweak settings den eski haline getirmemiz gerekmektedir.
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart
1.httpd.conf dosyamızın yedeğini alalım.
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak100421
WHM > Tweak Settings ve Apache port:
The port on which Apache listens for HTTP connections. Specifying a specific IP will prevent Apache from listening on all other IPs. (default: 0.0.0.0:80)
Değiştir:
0.0.0.0:8081
Kaydedip http servisini resetleyiniz.
Aşağıdaki kod ile kurulumu gerçekleştirelim.
mkdir /root/cpacct && cd /root/cpacct
wget http://nginxcp.com/nginxadmin1.8-stable.tar
tar xf nginxadmin1.8-stable.tar
cd publicnginx
./nginxinstaller install
Not: access key doesnt exist create it in WHM // bir hata ile karşılaşırsak eğer,
Rebuild Apache ve ardından restart nginx ve Apache Server
/scripts/rebuildhttpdconf
/etc/init.d/nginx restart
/etc/init.d/httpd restart
Kaldırmak için;
/root/cpacct/publicnginx/nginxinstaller uninstall ve Tweak settings den eski haline getirmemiz gerekmektedir.
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart