Archive for the ‘Linux’ Category

ubuntu ssh-copy-id : setting ssh tanpa password

sebenernya proses ssh ke mirror dapat dipercepat dengan tanpa password. seiring bertambahnya mesin yang kita handle, bertambah pula record password yang ada di pikiran kita. apa yang terjadi jika ada banyak mesin dengan password yang berbeda2? yang paling mungkin saat salah masukin password, kita tanya teman yang lain atau melihat dokumentasi mesin dan password (kalo [...]

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

operasi input output

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

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

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 »

how to install and configure dhcp server

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

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