Konfigurasi Paket 3

Langkah-Langkah Konfigurasi Debian

# nano /etc/network/interfaces

auto eth0

iface eth0 inet static

address 192.168.100.30

netmask 255.255.255.192

network 192.168.100.0

broadcast 192.168.100.63

ctrl x lalu y enter

# etc/init.d/networking restart

# apt-get install bind9

# cd /etc/bind

# nano named.conf

zone ” smkn12.sch.id” {

type master;

file “/etc/bind/db.smkn12”;

};

zone “100.168.192.in-addr.arpa” {

type master;

file “/etc/bind/db.ip”;

};

ctrl x lalu y enter

# cp db.local db.smkn12

# cp db.127 db.ip

# nano db.smkn12

SOA smkn12.sch.id root smkn12.sch.id

@ NS smkn12.sch.id

@ A 192.168.100.30

www A 192.168.100.30

ctrl x+y enter

# nano db.ip

SOA smkn12.sch.id root smkn12.sch.id

@ NS smkn12.sch.id

30 PTR smkn12.sch.id

30 PTR http://www.smkn12.sch.id.

ctrl x lalu y enter

# nano /etc/resolv.conf

search smkn12.sch.id

nameserver 192.168.100.30

# /etc/init.d/bind9 restart

# nslookup www.smkn12.sch.id

# nslookup 192.168.100.30

# apt-gt install apache2 php5

# cd /etc/apache2/sites-available

# cp default smkn12

# nano smkn12

ServerAdmin mila@smkn12.sch.id

ServerName www.smkn12.sch.id

ServerAlias smkn12.sch.id

DocumentRoot /home/mila/public_html

<Directory /home/mila/public_html/>

# mkdir /home/khusna/public_html

# chmod 777 /home/mila/public_html

# a2dissite default

# a2ensite smkn12

# /etc/init.d/apache2 restart

# apt-get install proftpd

standalone

# nano /etc/proftpd/proftpd.conf

ctrl w : jail

# pada default root dihilangkan

# /etc/init.d/proftpd restart

# apt-get install postfix courier-imap courier-pop

# maildirmake /etc/skl/Maildir

# nano /etc/postfix/main.cf

tambahkan home_mailbox = Maildir/

# dpkg-reconfigure postfix

# /etc/init.d/postfix restart

# /etc/init.d/courier-imap restart

# /etc/init.d/courier-pop restart

# adduser mila

# adduser ririn

# telnet mail.smkn12.sch.id 25

# telnet mail.smkn12.sch.id 110

# apt-get install squirrelmail

# nano /etc/squirrelmail/apache.conf

# nano /etc/apache2/apache2.conf

Include /etc/squirrelmail/apache.conf

# /etc/init.d/apach2 restart

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s