Anda di halaman 1dari 5

Paket

DOKUMEN NEGARA 1

PENYELESAIAN SOAL UJI KOMPETENSI KEAHLIAN


TAHUN PELAJARAN 2018/2019
SOAL PRAKTIK KEJURUAN

Satuan Pendidikan : Sekolah Menengah Kejuruan


Kompetensi Keahlian : Teknik Komputer dan Jaringan
Kode : 2143
Alokasi Waktu : 8 Jam
Bentuk Soal : Penugasan Perorangan
Judul Tugas : Instalasi, Konfigurasi dan Routing Perangkat
jaringan Komputer

SOAL/TUGAS

Judul Tugas :
Instalasi, Konfigurasi dan Routing Perangkat jaringan Komputer Skenario
Dalam kegiatan uji kompetensi ini anda bertindak sebagai System Administrator, Anda
diminta untuk merancang bangun dan mengkonfigurasi sebuah PC Server yang
berfungsi sebagai Gateway Internet, DHCP, DNS, Web, Mail, Web Mail, SSH, NTP,
Proxy dan Monitoring (Cacti) Server.

Dengan opsi konfigurasi sebagai berikut :

Konfigurasi Server :
1. IP Internet = Sesuai dengan Network yang diberikan ISP
2. IP LAN = 192.168.20.17/29
3. Gateway = Sesuai dengan Network yang diberikan ISP
4. Sistem Operasi = Linux
# nano /etc/network/interfaces
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.20.17
netmask 255.255.255.248
network 192.168.20.16
# /etc/init.d/networking restart

# nano /etc/apt/sources.list
deb http://192.168.xx.xxx/debian jessie main
deb-src http://192.168.xx.xxx/debian jessie main
# apt-get update

Konfigurasi Client :
1. IP LAN = DHCP Client
2. Sistem Operasi = Windows / Linux

2143-P1-18/19 Hak Cipta pada Kemdikbud SPK-


Penyelesaian Soal UKK by Walid Umar, S.SI (walidumar@gmail.com)
Konfigurasi DHCP Server
1. IP Pool = maksimal rentang IP
2. Lease Time = 6 Jam
3. Gateway = 192.168.20.17
4. DNS = 192.168.20.17

# apt-get install -y isc-dhcp-server


# nano /etc/dhcp/dhcpd.conf
subnet 192.168.20.16 netmask 255.255.255.248 {
range 192.168.20.18 192.168.20.22;
option domain-name-servers 192.168.20.17;
option domain-name "sekolah.sch.id";
option routers 192.168.20.17;
option broadcast-address 192.168.20.23;
default-lease-time 21600;
max-lease-time 21600;
}
# nano /etc/default/isc-dhcp-server
INTERFACE=”eth1”
# /etc/init.d/isc-dhcp-server restart

Konfigurasi DNS Server


1. Domain = sekolah.sch.id
2. Sub Domain = www → Untuk halaman website utama
mail → untuk web mail server

# apt-get install -y bind9


# cd /etc/bind
# nano named.conf.local
zone "sekolah.sch.id" {
type master;
file "/etc/bind/db.sekolah";
};

zone "20.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
# cp db.local db.sekolah
# cp db.127 db.192
# nano db.192
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA sekolah.sch.id. root.sekolah.sch.id. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sekolah.sch.id.
@ IN MX 10 mail.sekolah.sch.id.
17 IN PTR sekolah.sch.id.
17 IN PTR www.sekolah.sch.id.
17 IN PTR mail.sekolah.sch.id.
# nano db.sekolah
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA sekolah.sch.id. root.sekolah.sch.id. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS sekolah.sch.id.
@ IN MX 10 mail.sekolah.sch.id.
@ IN A 192.168.20.17
www IN A 192.168.20.17
mail IN A 192.168.20.17
# nano /etc/bind/named.conf.options
options {
directory "/var/cache/bind";

forwarders {
8.8.8.8;
};

dnssec-validation no;
};
# /etc/init.d/bind9 restart
# nano /etc/resolv.conf
nameserver 192.168.20.17

# nslookup 192.168.20.17
Server: 192.168.20.17
Address: 192.168.20.17#53

17.20.168.192.in-addr.arpa name = sekolah.sch.id.


17.20.168.192.in-addr.arpa name = mail.sekolah.sch.id.
17.20.168.192.in-addr.arpa name = www.sekolah.sch.id.
# nslookup sekolah.sch.id
Server: 192.168.20.17
Address: 192.168.20.17#53

Name: sekolah.sch.id
Address: 192.168.20.17

Konfigurasi WEB Server


1. Server web = apache / nginx
2. Document Root = /home/site/www
3. Modul = PHP
4. Database = MySQL / PostgreSQL / MariaDB
# apt-get install -y apache2 php5 php5-mysql mysql-server phpmyadmin

Konfigurasi paket
┌───────────────┤ Sedang mengonfigurasi mysql-server-5.5 ├────────────────┐
│ While not mandatory, it is highly recommended that you set a password│
│ for the MySQL administrative "root" user.│
││
│ If this field is left blank, the password will not be changed.│
││
│ New password for the MySQL "root" user:│
││ │ tkj │
│ │
<Ok>
│ │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Konfigurasi paket
┌────┤ Sedang mengonfigurasi mysql-server-5.5 ├─────┐
│ │
│ │
│ Repeat password for the MySQL "root" user: │
│ │
│ tkj │
│ │
│ <Ok> │
│ │
└───────────────────────────────────────────────────┘
Konfigurasi paket
┌───────────────────┤ Sedang mengonfigurasi phpmyadmin ├────────────────────┐
│ Please choose the web server that should be automatically configured to │
│ run phpMyAdmin. │
│ │
│ Web server to reconfigure automatically: │
│ │
│ [*] apache2 │
│ [ ] lighttpd │
│ │
│ │
│ <Ok> │
│ │
└───────────────────────────────────────────────────────────────────────────┘

Konfigurasi paket
┌───────────────────┤ Sedang mengonfigurasi phpmyadmin ├────────────────────┐
│ │
│ The phpmyadmin package must have a database installed and configured │
│ before it can be used. This can be optionally handled with │
│ dbconfig-common. │
│ │
│ If you are an advanced database administrator and know that you want to │
│ perform this configuration manually, or if your database has already │
│ been installed and configured, you should refuse this option. Details │
│ on what needs to be done should most likely be provided in │
│ /usr/share/doc/phpmyadmin. │
│ │
│ Otherwise, you should probably choose this option. │
│ │
│ Configure database for phpmyadmin with dbconfig-common? │
│ │
│ <Ya> <Tidak> │
│ │
└───────────────────────────────────────────────────────────────────────────┘

Konfigurasi paket
┌──────────────────┤ Sedang mengonfigurasi phpmyadmin ├───────────────────┐
│ Please provide the password for the administrative account with which │
│ this package should create its MySQL database and user. │
│ │
│ Password of the database's administrative user: │
│ │
│ tkj │
│ │
│ <Ok> <Batal> │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Konfigurasi paket
┌───────────────────┤ Sedang mengonfigurasi phpmyadmin ├───────────────────┐
│ Please provide a password for phpmyadmin to register with the database │
│ server. If left blank, a random password will be generated. │
│ │
│ MySQL application password for phpmyadmin: │
│ │
│ tkj │
│ │
│ <Ok> <Batal> │
│ │
└──────────────────────────────────────────────────────────────────────────┘

# mkdir -p /home/site/www
# nano /home/site/www/index.html
<html>
<head><title>Selamat Datang di WebServer smknegeri4-tkj</title>
<body>
<h1>Welcome to homepage – SMK Negeri 4 Gorontalo</h1>
<h2>by Nama Siswa – Kelas XII TKJ
</body>
</html>
# nano /home/site/www/info.php
<?php
phpinfo();
?>
# nano /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
ServerName sekolah.sch.id
ServerAdmin admin@sekolah.sch.id
DocumentRoot /home/site/www
</VirtualHost>
# nano /etc/apache2/apache2.conf
<Directory /home/site/www>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
# /etc/init.d/apache2 restart

Konfigurasi MAIL Server


1. Server Mail = postfix, courier, zimbra
2. User = user1 s.d. user4
#apt-getinstall-ypostfixcourier-popcourier-imap squirrelmail

Konfigurasi paket
┌─────────────────────────┤ Postfix Configuration ├─────────────────────────┐
││
│ Silahkan pilih tipe konfigurasi server mail yang sesuai kebutuhan Anda.│
│ │
Tanpa konfigurasi:│ │
Harusnya dipilih agar
│ konfigurasi saat ini tak berubah. Situs internet: │
Surel dikirim dan │diterima langsung melalui SMTP. Internet dengan smarthost: │
Email diterima langsung
│ │
melalui SMTP atau dengan menjalankan utilitas seperti fetchmail. Surel keluar terkirim dengan menggunakan smarthost.
Sistem satelit: │ │
Sebuah surel terkirim
│ ke mesin lain, disebut sebuah 'smarthost', untuk │
│ │
│ │
│ │
│ pengiriman.

│ Hanya lokal:

│Surel yang terkirim hanya untuk pengguna lokal. Tanpa jaringan.



│<Ok>
││ │
└───────────────────────────────────────────────────────────────────────────┘

Konfigurasi paket
┌─────┤ Postfix Configuration ├──────┐
│ Tipe umum konfigurasi email: │
│ │
│ Tanpa konfigurasi │
│ Situs Internet │
│ Internet dengan smarthost Sistem satelit │
│ Hanya lokal │
│ │
│ │
│ │
<Ok> <Batal>
│ │
│ └────────────────────────────────────┘ │

Konfigurasi paket
┌─────────────────────────┤ Postfix Configuration ├─────────────────────────┐
│ "mail name" adalah nama domain yang digunakan untuk "quality" _ALL_ │
│ alamat mail tanpa nama domain. Ini menyertakan mail ke dan dari <root>: │
│ tolong jangan buat mesin Anda mengirim mail ke luar dari │
│ root@example.org kecuali root@example.org mengatakan demikian. │
│ │
│ Nama ini juga akan digunakan oleh program lain. Seharusnya tunggal, nama │
│ domain yang memenuhi syarat (FQDN). │
│ │
│ Nah, jika alamat surel pada host lokal adalah foo@example.org, nilai │
│ yang benar untuk pilihan ini seharusnya example.org. │
│ │
│ Nama mail sistem: │
sekolah.sch.id
│ │
│ │
│ <Ok>│<Batal> │
│ │
└───────────────────────────────────────────────────────────────────────────┘ │

Anda mungkin juga menyukai