Posts Tagged ‘nginx’

how to install wordpress mu on nginx

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       [...]

Bookmarks:
  • Facebook
  • Google Bookmarks
  • Digg
  • LinkedIn
  • Twitter
Read the rest of this entry »

how to configure php as fastcgi on nginx

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:

Bookmarks:
  • Facebook
  • Google Bookmarks
  • Digg
  • LinkedIn
  • Twitter
Read the rest of this entry »

how to install and configure nginx webserver on ubuntu

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 [...]

Bookmarks:
  • Facebook
  • Google Bookmarks
  • Digg
  • LinkedIn
  • Twitter
Read the rest of this entry »