Anda di halaman 1dari 4

PELATIHAN KE-2:

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>
4. Install ubuntu server <enter>
5. Pilih English untuk <enter>
6. Pilih Other <enter>
7. Scroll down pilih Indonesia
8. Pilih No
9. Keyboard Layout pilih USA
10. Pilih USA .
11. Masukkan hostname sesuai daftar
Contoh : k-unud.ac.id continue
12. Untuk city zone pilih makassar
13. Pilih guided use entire disk
14. partition write the change Pilih yes
15. Pilih scsi 0.0.0
16. Pilih yes
17. Masukkan Full name : inherent
18. Password : inherent
19. Re-enter password
20. Untuk http proxy di kosongkan continue
21. Pilih paket instalasi
a. DNS Server
b. LAMP Server
c. Mail Server
d. Open SSH Server
22. Continue
23. Masukkan inherent password mysql untuk user root continue
24. Re-enter password
25. Postfix configuration pilih internet site
26. Systim mail name : xxx.ac.id. continue
27. Installation complete keluarkan cd continue
28. Rebooting

Konfigurasi DNS
29. 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
30. 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 @

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


32. 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
@
IN

CNAME
@
MX 10 @

33. Restart dns server


/etc/init.d/bind9 restart
34. Test dns server
Nslookup
> server xxx.ac.id
result
> yahoo.com
result
atau dig xxx.ac.id
Konfigurasi mail server
1.
2.
3.
4.

cd /etc/postfix
edit main.cf
pastikan anda sudah terhubung ke Internet
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

Anda mungkin juga menyukai