Archives

Archive for the ‘Linux’ Category

instalasi mongodb di ubuntu bisa dilakukan dengan beberapa step berikut : user@computer:$ cd /opt/curl http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.4.tgz > mongo.tgztar xzf mongo.tgzsudo mkdir -p /data/db/sudo chown ‘ditto’ /data/db/ jalankan mongodb server di terminal : user@computer:$ ./mongodb-linux-x86_64-2.0.4/bin/mongod & untuk masuk ke dalam terminal mongodb jalankan perintah berikut : user@computer:$ ./mongodb-linux-x86_64-2.0.4/bin/mongo> db.foo.save( { a : 1 } )> db.foo.find(){ “_id” [...]

Apr 25th, 2012 | Filed under Blog, Database, Linux

setiap kali login di ubuntu server, aku selalu mendapatkan beberapa baris pesan yang isinya selalu sama. inilah pesan yang selalu muncul : user@computer:$ ssh ditto@192.168.22.151ditto@192.168.22.151′s password:Linux sos 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64 GNU/LinuxUbuntu 10.04.4 LTSWelcome to the Ubuntu Server!* Documentation: http://www.ubuntu.com/server/docSystem information disabled due to load higher than 1.0Last login: [...]

Apr 25th, 2012 | Filed under Blog, Linux

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

Apr 16th, 2010 | Filed under Blog, Linux, Programming

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

Oct 28th, 2009 | Filed under Blog, Linux
Tags:

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

Oct 4th, 2009 | Filed under Blog, Linux

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

Oct 4th, 2009 | Filed under Blog, Linux