7/22/2019 Latihan Ujian Kompetensi tkj 2013
1/16
7/22/2019 Latihan Ujian Kompetensi tkj 2013
2/16
@ Co ri ht B M. Su atman, A.Md -2013
1. TOPOLOGI JARINGAN
IP Address
1. ns.taruna.sch.id = 192.168.10.1/24
2. www.taruna.sch.id = 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 = [email protected]
4. Sub Domain =www.taruna.sch.idmail.taruna.sch.id
Webmail Server
1. Virtual Alias = mail.taruna.sch.id
2. Metode = IMAP/POP3 , SMTP
DNS Server
Web Server
Webmail server
PC Client Switch/Hub
http://www.taruna.sch.id/http://www.taruna.sch.id/http://www.taruna.sch.id/mailto:[email protected]:[email protected]://www.taruna.sch.id/http://www.taruna.sch.id/http://www.taruna.sch.id/mailto:[email protected]://www.taruna.sch.id/7/22/2019 Latihan Ujian Kompetensi tkj 2013
3/16
@ Co ri ht B M. Su atman, A.Md -2013
2. KONFIGURASI INTERFACE
nano /etc/network/interfaces
tambahkan IP alias untuk web server dan mail server
Restart interfaces
/etc/init.d/networking restart
7/22/2019 Latihan Ujian Kompetensi tkj 2013
4/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
5/16
@ Co ri ht B M. Su atman, A.Md -2013
seting ip address di Client Windows XP
Control Panel\Network Conections\Local Area Network klik kananProperties
7/22/2019 Latihan Ujian Kompetensi tkj 2013
6/16
@ Co ri ht B M. Su atman, A.Md -2013
Internet Protocol (TCP/IP) Properties
Konfigurasi menjadi
Cek ping ke server melalui Command Promtdi client windows XP
7/22/2019 Latihan Ujian Kompetensi tkj 2013
7/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
8/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
9/16
@ Co ri ht B M. Su atman, A.Md -2013
copy db.127 ke db.192
cp /etc/bind/db.127 /etc/bind/db.192
ubah file db.192
nano /etc/bind/db.192
Menjadi
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
http://www.taruna.sch.id/http://www.taruna.sch.id/7/22/2019 Latihan Ujian Kompetensi tkj 2013
10/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
11/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
12/16
@ Co ri ht B M. Su atman, 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
7/22/2019 Latihan Ujian Kompetensi tkj 2013
13/16
@ Co ri ht B M. Su atman, 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 :
7/22/2019 Latihan Ujian Kompetensi tkj 2013
14/16
@ Co ri ht B M. Su atman, 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 htmlnya
terdapat di /var/www/index.html
nano /var/www/index.html
jika kita tidak melakukan perubahan untuk tampilan halaman webnya maka
tampilannya akan sebagai berikut
Jika demikian maka web server sudah berjalan
7/22/2019 Latihan Ujian Kompetensi tkj 2013
15/16
@ Co ri ht B M. Su atman, 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 :
7/22/2019 Latihan Ujian Kompetensi tkj 2013
16/16
@ Co ri ht B M. Su atman, A.Md -2013
Contoh cara membuat sebuah email dan mengirim email ke user lain
Contoh membuka email yang dikirim oleh user lain