![]() |
|
|
|
MODUL PRAKTIKUM
|
|
MEMBANGUN DNS SERVER, WEB SERVER, WEB MAIL SERVER
|
|
PADA DEBIAN 5 (LENNY)
|
|
DI SUSUN
|
|
OLEH :
|
|
Agus setiawan
joyo wijoyo
|
|
PROGRAM STUDI TEKNIK INFORMATIKA
|
|
KOMPETENSI KEAHLIAN TEKNIK KOMPUTER DAN JARINGAN
|
|
SMK TARUNA PEKANBARU
|
|
2013
|
|
@
Co
|
|
|
![]() |
|
|
|
|
![]() |
![]() |
![]() |
|
|
|
|
|
|
|
1. TOPOLOGI JARINGAN
|
|
DNS Server
|
|
Web Server
|
|
Webmail server
|
|
PC Client Switch/Hub
|
|
IP Address
|
|
1.
|
|
ns.taruna
|
|
.sch.id = 192.168.10.1/24
|
|
www.
|
|
taruna
|
|
.sch.id
|
|
2.
|
|
= 192.168.10.2/24
|
|
3.
|
|
mail
|
|
.
|
|
taruna
|
|
.sch.id = 192.168.10.3/24
|
|
4. PC Client = 192.168.10.4/24
|
|
DNS Server
|
|
1. Sistem Operasi = OS Linux
|
|
2. Domain =
|
|
taruna.sch.id
|
|
3. Email Admin
|
|
= nama_praktikan
|
|
@taruna.sch.id
|
|
4. Sub Domain =
|
|
www.taruna
|
|
.sch.id
|
|
mail.taruna
|
|
.sch.id
|
|
Webmail Server
|
|
1. Virtual Alias = mail.taruna.sch.id
|
|
2. Metode = IMAP/POP3 , SMT
|
|
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
2. KONFIGURASI INTERFACE
|
|
nano /etc/network/interfaces
|
|
tambahkan IP alias untuk web server dan mail server
|
|
Restart interfaces
|
|
/etc/init.d/network ing restart
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Lihat hasil konfigurasi
|
|
Ifconfig
|
|
Uji koneksi menggunakan ping
|
|
ping 192.168.10.1
|
|
ping 192.168.10.2
|
|
ping 192.168.10.3
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
seting ip address di Client Windows XP
|
|
Control Panel\Network Conections\Local Area Network
|
|
klik kanan
|
|
Properties
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Internet Protocol (TCP/IP) Properties
|
|
Konfigurasi
menjadi
|
|
Cek ping ke
server melalui
|
|
Command Promt
|
|
di client windows XP
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
3. DNS Server
|
|
Install bind9
|
|
apt-get install bind9
|
|
ubah file named.conf.local
|
|
nano /etc/bind/named.conf.local
|
|
tambahkan di baris terakhir menjadi
|
|
Buka file named.conf.options
|
|
nano /etc/bind/named.conf.options
|
|
ubah menjadi
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Buka file resolv.conf
|
|
nano /etc/resolv.conf
|
|
pastikan isinya sebagai berikut
|
|
copy db.local ke db.taruna
|
|
cp /etc/bind/db.local
/etc/bind/db.taruna
|
|
ubah file db.taruna menjadi
|
|
nano /etc/bind/db.taruna
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
copy db.127 ke db.192
|
|
cp /etc/bind/db.127
/etc/bind/db.192
|
|
ubah file db.192 menjadi
|
|
nano /etc/bind/db.192
|
|
Restart DNS Server
|
|
/etc/init.d/bind9
restart
|
|
Cara menguji dns server DNS Server
|
|
nslookup
taruna.sch.id
|
|
nslookup
www.taruna.sch.id
|
|
nslookup
mail.taruna.sch.id
|
|
hasil test DNS Server
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
4. INSTALL WEB SERVER DAN MAIL SERVER
|
|
apt-get install apache2 php5 postfix squirrelmail
courier-imap courier-pop
|
|
perhatikan
setiap pesan yang muncul dan jawab sbb
|
|
create
directories : no
|
|
general
type : internet site
|
|
system
mail name : taruna.sch.id
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
ubah file konfigurasi apache2
|
|
nano /etc/apache2/apache2.conf
|
|
pada baris terakhir tambahkan menjadi :
|
|
Ubah file konfigurasi squirrelmail
|
|
nano /etc/squirrelmail/apache.conf
|
|
tambahkan di baris terakhir menjadi
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Buat direktori untuk mail server
|
|
maildirmake /etc/skel/Maildir
|
|
add user untuk mail server
|
|
Konfigurasi ulang untuk postfix
|
|
dpkg-reconfigure postfix
|
|
general
type : internet site
|
|
system
mail name : taruna.sch.id
|
|
root
and postmaster : [kosongkan]
|
|
other
destination : [pada baris terakhir tambahkan]
, 0.0.0.0/0
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Force
synchronous : no
|
|
Local
network : [pada baris terakhir tambahkan] 0.0.0.0/0
|
|
Use
procmail : No
|
|
Mailbox
size : 0
|
|
Local
address : +
|
|
Internet
protocols : ipv4
|
|
nano /etc/postfix/main.cf
|
|
Pada baris terakhir tambahkan:
|
|
home_mailbox = Maildir/
|
|
menjadi sbb :
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Lakukan restart pada :
|
|
/etc/init.d/postfix restart
|
|
/etc/init.d/courier-imap restart
|
|
/etc/init.d/courier-pop restart
|
|
5. PENGUJIAN
|
|
a. Web Server
|
|
Untuk mengedit tampilan dari halaman web, secara
default file html’nya
|
|
terdapat di /var/www/index.html
|
|
nano /var/www/index.html
|
|
jika kita
tidak melakukan perubahan
untuk tampilan halaman web’nya
maka
|
|
tampilan’nya
akan sebagai berikut
|
|
Jika demikian maka web server sudah berjalan
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
b. Mail Server
|
|
Halaman login squirrelmail
|
|
Masukkan nama user dan password yang anda buat
|
|
Setelah user dan password di masukan maka halaman mail
sbb :
|
|
@
Copyright By M. Suyatman, A.Md -2013
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
|
Contoh cara membuat sebuah email dan mengirim email ke
user lain
|
|
Contoh membuka email yang dikirim oleh user lain
|
|
@
Copyright By M. Suyatman, A.Md -2013
|


















































































































































Tidak ada komentar:
Posting Komentar