1. Konfigurasi ip address
nano /etc/network/interfaces --> enter--> ketikkan di dalamnya
auto eth0
iface eth0 inet static
address 192.168.1.18
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
Ctrl+x --> y --> enter
/etc/init.d/networking restart
2. Repositori
apt-cdrom add --> masukkan dvd1 --> enterapt-get update --> enter
apt-cdrom add --> masukkan dvd2 --> enter
apt-get update --> enter
apt-cdrom add --> masukkan dvd3 --> enter
apt-get update --> enter
3. Install package
apt-get install bind9 isc-dhcp-server apache2 mysql-server phpmyadmin proftpd ntp ntpdate postfix courier-imap courier-pop squirrelmail squid34. Configurasi DNS server
cd /etc/bind/nano named.conf >enter
zone "antopardi.com"{
type master;
file "/etc/bind/anto";
};
zone "1.168.192.in-addr.arpa"{
type master;
file "/etc/bind/10";
};
Crtl+x --> y --> enter
/etc/init.d/bind9 restart --> enter
cp db.local anto --> enter
cp db.127 10 --> enter
nano anto --> enter
-> ganti semua local host dengan domainmu
-> ganti ip 127.x.x.x menjadi ip address server kalian
-> tambahkan fasilitas sub domain: www, mail, webmail, proxy, ftp.
Ctrl+x --> y --> enter
nano 10 --> enter
-> ganti semua localhot dengan domainmu
-> ganti penggalan ip address dengan ip terahir mu
ctrl+x --> y --> enter
nano /etc/resolv.conf --> enter
-> ketik > nameserver 192.168.1.18
> search antopardi.com
ctrl+x --> y --> enter
/etc/init.d/bind9 restart --> enter
nslookap 192.168.1.18 ...> enter
nslookap antopardi.com ....> enter
5. Configurasi Web server
cd /var/www/html/ --> enterrm index.html --> enter
nano index.html --> enter
--> ketik sesuai keinginan (WELCOME TO MY WEBSITE)
ctrl+x --> y --> enter
cd /etc/apache2/sites-available/ --> enter
cp 000-default.conf anto.conf --> enter
nano anto.conf --> enter
a2dissite 000-defaul.conf --> enter
a2ensite anto.conf --> enter
/etc/init.d/apache2 restart --> enter
/etc/init.d/mysql restart --> enter
6. Konfigurasi FTP
cd /etc/proftpd/ --> entermkdir/home/anto/ --> enter
useradd –d /home/anto pardi --> enter
passwd hamid --> enter
masukkan password --> enter
re enter password --> enter
nano proftpd.conf --> enter
--> cari ServerName ganti ftp dengan ftp.domainmu
--> hapus tanda # dari anonymous sampai anonymous
--> ganti ~ftp> dengan /home/belajar/>
ctrl+x --> y --> enter
/etc/init.d/proftpd restart --> enter
7. configurasi Mail server
maildirmake /etc/skel/Maildir --> enternano /etc/postfix/main.cf --> enter
-> ketik : home_mailbox = Maildir/ (di baris paling bawah)
Ctr+x --> y --> enter
dpkg-reconfigure postfix --> enter
-> Ikuti perintah penginstalannya.
/etc/init.d/postfix restart --> enter
/etc/init.d/courier-imap restart --> enter
/etc/init.d/courier-pop restart --> enter
nano /etc/apache2/apache.conf --> enter
-> Ketik Include “/etc/squirrelmail/apache.conf” di baris paling bawah
Ctr+x --> y --> enter
nano /etc/squirrelmail/apache.conf --> enter
-> Hilangkan tanda pagar dibaris virtualhost sampai baris virtualhost
-> Ganti 1234 menjadi *:80
-> Pada baris ServerNama ketik mail.domainmu
Ctr+x --> y --> enter
/etc/init.d/postfix restart --> enter
/etc/init.d/courier-imap restart --> enter
/etc/init.d/courier-pop restart --> enter
8. Konfigurasi NTP
nano /etc/ntp.conf --> enter-> tambahkan tanda # dari server 1-3
-> ketik
> server 127.127.1.0
> fudge 127.127.1.0 stratum 1
> tambahkan restrict networkmu mask xxx.xxx.xxx.xxx nomodify notrap
Tidak ada komentar:
Posting Komentar