Saturday 14 May 2016

Tutorial Install Web Server Nginx Dan PHP5 FPM-PHP Di VPS Debian 7 (Wheezy)

  No comments


Hallo Selamat malam gan/sis.
kalo ini saya akan share tutorial install web server nginx di debian 7 (wheezy)
ok langsung saja simak tutorial nya :D

pertama update dulu vpsnya
apt-get update


install web server nginx nya 

apt-get install nginx php5 php5-fpm php5-cli php5-mysql php5-mcrypt
 
kalo sudah beres install nya sekarng jalankan script ini 
 
rm /etc/nginx/sites-enabled/default
rm /etc/nginx/sites-available/default
wget -O /etc/nginx/nginx.conf "http://iqbalfaf.net/script/conf/nginx.conf"
mkdir -p /var/www
echo "<pre>Setup by IqbalFAF | Email me@iqbalfaf.net | Facebook : http://fb.com/jamaika127 | Webserver Nginx</pre>" > /var/www/index.html
echo "<?php phpinfo(); ?>" > /var/www/info.php
wget -O /etc/nginx/conf.d/vps.conf "http://iqbalfaf.net/script/conf/deb.conf"
sed -i 's/listen = \/var\/run\/php5-fpm.sock/listen = 127.0.0.1:9000/g' /etc/php5/fpm/pool.d/www.conf
 
nah sekarang coba jalan kan vps nya IPVPS:80



TAG :
tutorial install web server nginx di debian 7
cara install web server nginx di debian 7
cara install nginx di debian 7
cara install php5 di debian 7






No comments :

Post a Comment