Membuat Server sederhana berbasis Debian Lenny " Konfigurasi Debian "
http://bagus-hidayat.blogspot.com/
masuk sebagai root dan masukan kata sandi anda yang anda buat.
lalu enter.
kemudian tuliskan perintah di bawah ini.
nano /etc/network/interfaces kemudian enter.
kemudaian hapus sebagian yang di dalam kotak tersebut.
kemudian setelah di hapus masukan perintah seperti ini.
auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
gateway 192.168.10.1
auto eth0:1
iface eth0:1 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.10.1
auto eth0:2
iface eth0:2 inet static
address 192.168.10.3
netmask 255.255.255.0
gateway 192.168.10.1
stelah itu simpan konfigurasi dengan perintah x,y
setelah itu restart networking interface dengan printah
=# /etc/init.d/networking restart enter => kemudian tulis perintah ifconfig
lalu install bind9 dengan perintah.
=> apt-get -y install bind9 enter masukan cd debian lenny
=> nano /etc/bind/named.conf.local
=> cp /etc/bind/db.local /etc/bind/db.tkj enter ( host name buatan anda )
edit dan buat zone seperti ini
=> cp /etc/bind/db.127 /etc/bind/db.192 enter => nano /etc/bind/named.conf.options edit seperti di bawah ini
=> nano /etc/bind/db.sekolah edit seperti di bawah ini
kemudain tambah di bawahnya dengan perintah ini. ns IN A 192.168.10.1 www sama kaya di atas tpi akhirnya 2 mail sama dan akhirnya 3 =>nano /etc/bind/db.192 =>nslookup ns.tkj.sch.id =>nslookup www.tkj.sch.id =>nslookup mail.tkj.sch.id =>apt-get -y install apache2 =>/etc/apache2/sites-enabled/www masukan perintah seperti ini
=>nano /var/www/index.html /etc/init.d/apache2 restart install dengan perintah apt-get -y install postfix apt-get -y install courier-imap courier-pop maildiremake.courier /etc/skel/maildir adduser satu adduser dua dpkg-reconfigure postfix kemudian masukan perintah /etc/init.d/postfix restar /etc/init.d/courier-pop restar /etc/init.d/courier-imap restar =>apt-get -y installsquirrelmail nano /etc/apache2/apache2.conf tambahkan peintah include /etc/squirrelmail/apache.conf nano /etc/squirrelmail/apache.conf restar dengan perintah /etc/init.d/apache2 restar apt-get -y install lynx lynx www.tkj.sch.id lynx mail.tkj.sch.id masukan name dan pasword yang anda buat dan selesai SELAMAT MENCOBA DAN GOOD LUCK ^___^
=> cp /etc/bind/db.127 /etc/bind/db.192 enter => nano /etc/bind/named.conf.options edit seperti di bawah ini
=> nano /etc/bind/db.sekolah edit seperti di bawah ini
kemudain tambah di bawahnya dengan perintah ini. ns IN A 192.168.10.1 www sama kaya di atas tpi akhirnya 2 mail sama dan akhirnya 3 =>nano /etc/bind/db.192 =>nslookup ns.tkj.sch.id =>nslookup www.tkj.sch.id =>nslookup mail.tkj.sch.id =>apt-get -y install apache2 =>/etc/apache2/sites-enabled/www masukan perintah seperti ini
=>nano /var/www/index.html /etc/init.d/apache2 restart install dengan perintah apt-get -y install postfix apt-get -y install courier-imap courier-pop maildiremake.courier /etc/skel/maildir adduser satu adduser dua dpkg-reconfigure postfix kemudian masukan perintah /etc/init.d/postfix restar /etc/init.d/courier-pop restar /etc/init.d/courier-imap restar =>apt-get -y installsquirrelmail nano /etc/apache2/apache2.conf tambahkan peintah include /etc/squirrelmail/apache.conf nano /etc/squirrelmail/apache.conf restar dengan perintah /etc/init.d/apache2 restar apt-get -y install lynx lynx www.tkj.sch.id lynx mail.tkj.sch.id masukan name dan pasword yang anda buat dan selesai SELAMAT MENCOBA DAN GOOD LUCK ^___^
thanks mas atas infonya
BalasHapusjangan lupa mampir http://blognyateknikkomputer.blogspot.com/2013/10/1_25.html
BalasHapusizin copas ya min
BalasHapus