Posted in October 4, 2009 ¬ 6:16 pmh.cuplis
setting dns server
tambahkan zone sarunkgenk.com di file /etc/bind/named.conf
user@computer:$ sudo vim /etc/bind/named.confzone “sarunkgenk.com” IN {type master;file “/etc/bind/db.sarunkgenk.com”;allow-update { none; };};
ubah file /etc/bind/db.sarunkgenk.com
user@computer:$ sudo vim /etc/bind/db.sarunkgenk.com;; BIND data file for local loopback interface;$TTL 604800$ORIGIN sarunkgenk.com.@ IN SOA ns1.sarunkgenk.com. me.cuplis.net. (128 ; Serial604800 ; Refresh86400 ; Retry2419200 ; Expire604800 ) ; Negative Cache TTLIN NS ns1.sarunkgenk.com.ns1 IN A [...]
Read the rest of this entry »
Posted in October 4, 2009 ¬ 5:27 pmh.cuplis
install php
user@computer:$ sudo apt-get install php5-cgi
buat file /etc/default/php-fastcgi
user@computer:$ sudo vim /etc/default/php-fastcgiSTART=yes# Which user runs PHP? (default: www-data)EXEC_AS_USER=www-data# Host and TCP port for FASTCGI-Listener (default: localhost:9000)FCGI_HOST=localhostFCGI_PORT=8888# Environment variables, which are processed by PHPPHP_FCGI_CHILDREN=4PHP_FCGI_MAX_REQUESTS=1000
Bookmarks:
Read the rest of this entry »
Posted in October 3, 2009 ¬ 1:26 pmh.cuplis
caranya cukup mudah :
install nginx
user@computer:$ sudo apt-get install nginx
jalankan nginx
user@computer:$ sudo /etc/init.d/nginx start
kemudian buka browser dan buka url http://youripaddress dan seharusnya sudah ada tampilan seperti berikut :
nginx meletakkan vhost2-nya path /etc/nginx/sites-available/
sedangkan vhost2 yang aktif ada di path /etc/nginx/sites-enabled/. file2 di folder ini akan lebih mudah di symbolic link dari path /etc/nginx/sites-available/ yang berisi daftar vhost [...]
Read the rest of this entry »