Tutor Seting Linux Server Debianx
Tutor Seting Linux Server Debianx
Ketentuan soal
1. Partisi
System
= 80% harddisk
Format system
= ext3
Swap
= 20%
2. DNS Server
Unpk.net
= 192.168.13.65/26
www.unpk.net
= 192.168.13.66/26
Ns.unpk.net
= 172.16.0.129/25
Mail.tkjc.com
= 10.10.10.10/24
Ns.tkjc.com
= 192.168.11.1/24
3. Proxy Server
Ip proxy
= 192.168.13.65/26
Port
= 6600
Mode
= transparent
Site block
= facebook.com, youtube.com
Ip yang hanya bias internet =
192.168.13.70/26
4. FTP Server
5. Web Server
Untuk langkah mengkonfigurasi DNS dan Proxy lihat modul sebelumnya.
MENGKONFIGURASI FTP SERVER
Mount DVD Drive dengan perintah :
root@debian:/etc/bind# apt-cdrom add
Install web server dengan perintah :
root@debian:/etc/bind# apt-get install proftpd
Pilih opsi stand alone
Edit proftpd.conf
root@debian:~# nano /etc/proftpd/proftpd.conf
Hilangkan tanda komentar (#) pada script di bawah ini :
DefaultRoot
~
DirFakeUser
on ftp
DirFakeGroup
on ftp
MaxClients
10
DisplayLogin
welcome.msg
DisplayChdir
.message
Simpan file konfigurasi tersebut.
Mengkonfigurasi DNS, Proxy, Web dan FTP Server oleh Andi Novianto, S.Kom
Page |1
Mengkonfigurasi DNS, Proxy, Web dan FTP Server oleh Andi Novianto, S.Kom
Page |2
Mengkonfigurasi DNS, Proxy, Web dan FTP Server oleh Andi Novianto, S.Kom
Page |3
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ns.unpk.net
DocumentRoot /home/ns_unpk
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName mail.tkjc.com
DocumentRoot /home/mail_tkjc
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ns.tkjc.com
DocumentRoot /home/ns_tkjc
</VirtualHost>
Restart web server
root@debian:/etc/apache2# service apache2 restart
Restarting web server: apache2 ... waiting .
Buatlah tampilan web untuk setiap domain pada setiap direktori yang ditentukan
root@debian:/home# nano mail_tkjc/index.php
root@debian:/home# nano ns_tkjc/index.php
root@debian:/home# nano unpk/index.php
root@debian:/home# nano ns_unpk/index.php
root@debian:/home# nano www__unpk/index.php
root@debian:/home# nano www_unpk/index.php
Restart web server
root@debian:/home# service apache2 restart
Restarting web server: apache2 ... waiting .
Cek masing-masing domain menggunakan web browser
Mengkonfigurasi DNS, Proxy, Web dan FTP Server oleh Andi Novianto, S.Kom
Page |4