Posted in October 28, 2009 ¬ 4:29 pmh.cuplis
1. Proses INPUT OUTPUT
Sebuah Proses memerlukan Input / Output
Instruksi / Command yang diberikan pada Linux melalui shell disebut sebagai eksekusi program yang selanjutnya disebut proses.
Setiap kali instruksi diberikan, maka linux kernel akan menciptakan sebuah proses dengan memberikan nomor PID ( Process Identity )
Proses dalam linux membutuhkan input dan menghasilkan output.
Dalam konteks Linux input / [...]
Read the rest of this entry »
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 »
Posted in September 16, 2009 ¬ 2:54 pmh.cuplis
salah satu cara untuk configure dhcp server adalah sbb :
install dhcp server
user@computer:$ sudo apt-get install dhcp3-server
ubah file /etc/dhcp3/dhcpd.conf :
user@computer:$ sudo vim /etc/dhcp3/dhcpd.confddns-update-style none;option domain-name “cuplis.lokal”;option domain-name-servers 192.168.17.12;option routers 192.168.22.1;default-lease-time 42300;max-lease-time 84600;subnet 192.168.22.0 netmask 255.255.255.0 {range 192.168.22.1 192.168.22.10;}
note :
option domain-name “cuplis.lokal”; => untuk menentukan domain name untuk client DHCP
option domain-name-servers 192.168.17.12; => untuk menentukan ip DNS [...]
Read the rest of this entry »
Posted in September 16, 2009 ¬ 10:23 amh.cuplis
pesan error “vmware error while getting interfaces flag” muncul ketika aku melakukan copy virtual machine (dalam kasus ini ubuntu). virtual machine source-nya tidak ada masalah, sedangkan virtual machine hasil copy-nya keluar pesan error “vmware error while getting interfaces flag” dan semua eth tidak terdeteksi. untuk mengatasinya lakukan langkah2 berikut :
hapus semua ethernet yang ada di [...]
Read the rest of this entry »