Jumat, 26 Februari 2016

INSTALASI UBUNTU SERVER, DNS SERVER, MAIL SERVER

INSTALASI UBUNTU SERVER, DNS SERVER, MAIL SERVER


Kegiatan awal adalah melakukan instalasi OS Ubuntu server 8.04 ditambah Linux Apache Mysql Php (LAMP) dan Postfix mail server

Ikuti petunjuk ini secara berurutan, dan ganti xxx dengan nama kampus anda

  1. Cabut kabel LAN (yang dicabut ujung di PC). Tujuannya instalasi cepat dan tidak melakukun update. Disamping itu agar IP dapat dimasukkan secara manual.
  2. Masukkan CD Ubuntu Server 8.04  saat booting tekan esc dan pilih boot dari dvd driver
3.   Pilih English untuk bahasa instalasi <enter>
  1. Install ubuntu server <enter>
  2. Pilih English untuk … <enter>
  3. Pilih Other <enter>
  4. Scroll down → pilih Indonesia
  5. Pilih No
  6. Keyboard Layout pilih USA
  7. Pilih USA ….
  8. Masukkan hostname sesuai daftar
Contoh : k-unud.ac.id → continue
  1. Untuk city zone pilih makassar
  2. Pilih guided – use entire disk
  3. “partition write the change “ Pilih yes
  4. Pilih scsi 0.0.0
  5. Pilih yes
  6. Masukkan Full name : inherent
  7. Password : inherent
  8. Re-enter password
  9. Untuk http proxy di kosongkan → continue
  10. Pilih paket instalasi
    1. DNS Server
    2. LAMP Server
    3. Mail Server
    4. Open SSH Server
  11. → Continue
  12. Masukkan inherent password mysql untuk “user root” → continue
  13. Re-enter password
  14. Postfix configuration pilih internet site
  15. Systim mail name : xxx.ac.id. → continue
  16. Installation complete → keluarkan cd → continue
  17. Rebooting

Konfigurasi DNS

  1. Edit  file /etc/bind/named.conf.local
Unutk editor bias menggunakan vi atau nano.

Cd  /etc/bind/
Cat named.conf  >> named.conf.local

Nano named.conf.local. Lihat pada configurasi file ini pada halaman belakang


  1. cp db.local xxx.ac.id
edit sehingga nampak sebagai berikut:
            ;
; BIND data file for local loopback interface
;
$TTL     604800
@ IN      SOA     ns.kampusb.ac.id. root.kampusb.ac.id. (
               2008110401       ; Serial
                  604800        ; Refresh
                   86400        ; Retry
                 2419200        ; Expire
                  604800 )      ; Negative Cache TTL
;
@ IN      NS      kampusb.ac.id.
@ IN      A       192.168.30.58
www      IN      CNAME   @
@ IN      MX      10 @


  1. cp db.127 192.168.30.in-addr.arpa


  1. Buat file baru dengan nama file sesuai hostname anda contoh xxx.ac.id
nano /etc/bind/xxx.ac.id, dan ketik:

;
; BIND data file for local loopback interface
;
$TTL   604800
@        IN        SOA    ns.kampusb.ac.id. root.kampusb.ac.id. (
                              2008110401          ; Serial
                                     604800                       ; Refresh
                                      86400                        ; Retry
                                    2419200                      ; Expire
                                     604800 )         ; Negative Cache TTL
;
@        IN        NS       kampusb.ac.id.
@        IN        A         192.168.30.58
www   IN        CNAME         @
@        IN        MX      10 @




  1. Restart dns server
/etc/init.d/bind9 restart

  1. Test dns server
Nslookup
> server xxx.ac.id
   result 
> yahoo.com
   result

atau dig xxx.ac.id


Konfigurasi mail server

  1. cd /etc/postfix
  2. edit main.cf
  3. pastikan anda sudah terhubung ke Internet
  4. Update repository 
apt-get update
Update ini bias tanpa link Internet bila memiliki DVD reposetori yang lengkap.

Apt-get install dovecot

Apt-get install nmap

Tidak ada komentar:

Posting Komentar