DNS Server
MAIL Server,WEB Mail
1. Setting IP address
Vim /etc/network/intefaces
Auto lo
iface lo inet loopback
Auto eth0
iface eth0 inet static
address 200.100.4.66
netmask 255.255.255.224
network 200.100.4.64
broadcast 200.100.4.95
Auto eth0:1
iface eth0:2 inet static
address 200.100.4.67
netmask 255.255.255.224
network 200.100.4.64
broadcast 200.100.4.95
Auto eth0:2
iface eth0:2 inet static
address 202.100.4.65
netmask 255.255.255.224
network 202.100.4.64
broadcast 202.1000.4.95
2. Setting DNS
Install bind9
apt-get install bind9
zone “4.100.200.in-addr.arpa”{
type master;
file “/var/cache/bind/db.200”;
};
zone “4.100.200.in-addr.arpa”{
type master;
file “/var/cache/bind/db.200”;
};
kemudian simpan
selanjutnya copy file db.127 dan db.local yang ada pada direktory /etc/bind/
taruh pada direktory /var/cache/bind/
Apache2,php5
Install apache2,php5
masuk ke direktory /etc/apache2/site-available copy file default menjadi sekolah (perintah cp default
sekolah)
vim /etc/apache2/apache2.conf
tambahkan Include /etc/squirrelmail/apache.conf
vim /etc/squirrelmail/apache.conf
edit
<VirtualHost *>
DokumentRoot /usr/share/squirrelmail
ServerName mail.sekolah.sch.id
</VirtualHost>
Postfix,courier-imap,courier-pop,squierrelamail
Install postfix sebelum nya remove paket exim 4 perintah (apt-get remove exim*4)
Simpan