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
- Cabut kabel LAN (yang dicabut ujung di PC). Tujuannya instalasi cepat dan tidak melakukun update. Disamping itu agar IP dapat dimasukkan secara manual.
- Masukkan CD Ubuntu Server 8.04 saat booting tekan esc dan pilih boot dari dvd driver
3. Pilih English untuk bahasa instalasi
<enter>
- Install ubuntu server <enter>
- Pilih English untuk … <enter>
- Pilih Other <enter>
- Scroll down → pilih Indonesia
- Pilih No
- Keyboard Layout pilih USA
- Pilih USA ….
- Masukkan hostname sesuai daftar
Contoh : k-unud.ac.id → continue
- Untuk city zone pilih makassar
- Pilih guided – use entire disk
- “partition write the change “ Pilih yes
- Pilih scsi 0.0.0
- Pilih yes
- Masukkan Full name : inherent
- Password : inherent
- Re-enter password
- Untuk http proxy di kosongkan → continue
- Pilih paket instalasi
- DNS Server
- LAMP Server
- Mail Server
- Open SSH Server
- → Continue
- Masukkan inherent password mysql untuk “user root” → continue
- Re-enter password
- Postfix configuration pilih internet site
- Systim mail name : xxx.ac.id. → continue
- Installation complete → keluarkan cd → continue
- Rebooting
Konfigurasi DNS
- 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
- 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 @
- cp db.127 192.168.30.in-addr.arpa
- 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
@
- Restart dns server
/etc/init.d/bind9 restart
- Test dns server
Nslookup
> server xxx.ac.id
result
> yahoo.com
result
atau dig xxx.ac.id
Konfigurasi mail server
- 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
Tidak ada komentar:
Posting Komentar