Rabu, 16 November 2011

KONFIGURASI DNS, WEB SERVER DAN MAIL SERVER (Ujian Praktik)

 
1.     nano /etc/network/interfaces
    edit dan tambahkan ip alias.
auto eth0
iface eth0 inet static
     address 193.186.66.3
     netmask 255.255.255.128
network 193.186.66.0
broadcast 193.186.66.27
gateway 193.186.66.3
auto eth0:0
iface eth0:0 inet static
address 193.186.66.5
netmask 255.255.255.128
auto eth0:1
iface eth0:1 inet static
address 193.186.66.7
netmask 255.255.255.128
2.     /etc/init.d/networking restart
3.     apt get – install bind9
4.     nano /etc/bind/named.conf
edit file named.conf, tambahkan
zone “boyolali.go.id” {
       typemaster;
       file “/etc/bind/db.a”;
};

zone “193.in-addr.arpa” {
       typemaster;
       file “/etc/bind/db.b”;
};
Kemudian simpan.
5.     cd  /etc/bind
6.     cp db.local db.a
7.     cp db.127 db.b
8.     nano db.a
edit script.
@      IN   SOA  boyolali.go.id.root.boyolali.go.id. (
                     2         ; Serial
                 604800        ; Refresh
                 86400        ; Retry
                2419200       ; Expire
                604800        ; Negative Cache TTL
@      IN   NS   boyolali.go.id.
ns          IN   A    193.186.66.3
www    IN   A    193.186.66.5
mail   IN   A    193.186.66.7
      Kemudian keluar dan simpan.
9.        nano db.b
        edit script.
@          IN   SOA  boyolali.go.id.root.boyolali.go.id. (
                         1    ; Serial
                    604800   ; Refresh
                     86400    ; Retry
                   2419200   ; Expire
                    604800    ; Negative Cache TTL
@          IN   NS   boyolali.go.id.
3.66.186   IN   boyolali.go.id.
Kemudian keluar dan simpan.
10.     nano /etc/resolv.conf
edit script
search boyolali.go.id.
servername 193.186.66.3
kemudian keluar dan simpan.
11.      /etc/init.d/bind9 restart
12.     nslookup ns.boyolali.go.id
13.     nslookup www.boyolali.go.id
14.     nslookup mail.boyolali.go.id
15.     apt-get install apache2 php5 squirrelmail courier-imap courier-pop postfix
16.     nano /etc/apache2/apache2.conf
Tambahkan script dibawah sendiri
Include /etc/squirrelmail/apache.conf
17.     nano /etc/squirrelmail/apache.conf
18.     Tambahkan script dibawah sendiri
<VirtualHost *:80>
     DocumentRoot /usr/share/squirrelmail
     ServerName mail.boyolali.go.id
</VirtualHost>
19.      /etc/init.d/apache2 restart
20.     maildirmake /etc/skel/Maildir
21.     nano /etc/postfix/main.cf
Tambahkan script di bagian paling bawah
home_mailbox = Maildir/
22.      /etc/init.d/courier-imap restart
23.     /etc/init.d/courier-pop restart
24.     /etc/init.d/postfix restart
25.     dpkg-reconfigure postfix
·      Ok
·      Internet Site, Ok
·      Sistem mail diisi boyolali.go.id
·      Ok
·      Pada bagian terakhir tambahkan boyolali.go.id
·      Ok
·      No
·      Pada bagian terakhir tambahkan ,193.186.66.7/25
·      Ok
·      No
·      Ok
·      Ok
·      ipv4
·      ok
26.     /etc/init.d/postfix reload
27.     adduser a
28.     adduser b
29.     apt-get install links
30.     links mail.boyolali.go.id
31.     atau melalui webbrowser, sebelum dicek melalui web browser,
·      klik kanan pada Network adapter, pada Attached-to diganti Host-only Adapter
·      atur IP Client melalui Network connection
IP Address 193.186.66.9
Netmask  255.255.255.128
DNS      193.186.66.3
·      Setelah itu masuk ke webbrowser
Ketik mail.boyolali.go.id
Jika berhasil maka akan muncul gambar tupai.
·      Masuk dengan user a
·      Masukkan password
·      Login
·      Klik Compose
·      Pada To, isi a
·      Subjek diidsi bebas
·      Ketikkan pesan
·      Klik send
·      Apabila ada laporan folder tidak kosong maka pesan kita terkirim.

1 komentar:

Qory_djeroe mengatakan...

ikuti blog saya yaa,,,

Posting Komentar