Tutorial cara cepat dan mudah Paket 3 UKK TKJ
~# nano /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
                address 200.100.4.65
                netmask 255.255.255.224
auto eth1:0
iface eth1:0 inet
static
                address 200.100.4.66
                netmask 255.255.255.224 
auto eth1:1
iface eth1:1 inet
static
                address 200.100.4.67
                netmask 255.255.255.224
~# /etc/init.d/networking restart <- Wajib
supaya bisa di update 
~# nano /etc/apt/sources.list
deb http://kambing.ui.ac.id/ubuntu/
precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/
precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-updates
main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise main
restricted universe multiverse
~# apt-get update && apt-get install bind9
apache2 -y && cd /etc/bind && cp db.local sekolah && cp
db.127 200 && nano named.conf
zone
"sekolah.sch.id"{
                type master;
                file "/etc/bind/sekolah";
};
zone
"4.100.200.in-addr.arpa"{                        <-
IP di balik "etc : 200.100.4.65 jadi 4.100.200"
                type master;
                file "/etc/bind/200";
};
~# nano sekolah
@            IN            NS          sekolah.sch.id.
@            IN            A             200.100.4.65
ns            IN            A             200.100.4.65
www       IN            A             200.100.4.66
mail        IN            A             200.100.4.67
@            IN            MX
40    mail.sekolah.sch.id.            <- MX 40 = 40 Hanya nilai bisa di
ubah
~# nano 200
@            IN            NS          ns.
65           IN            PTR        sekolah.sch.id.
66           IN            PTR        www.sekolah.sch.id.
67           IN            PTR        mail.sekolah.sch.id.
~# apt-get install postfix courier-imap courier-pop
-y && maildirmake /etc/skel/Maildir && adduser juri
1 <- password user juri
1 <- Password user juri, Kemudian
enter,enter,enter,enter, sampai bertemu pilihan Y/N
Y
~# adduser siswa
1 <- password user siswa
1 <- Password user siswa, Kemudian
enter,enter,enter,enter, sampai bertemu pilihan Y/N
Y
~# nano /etc/postfix/main.cf
home_mailbox = Maildir/                    <- isi di paling bawah
~# dpkg-reconfigure postfix
General Type of Mail Configuration : Internet Site
System Mail Name : sekolah.sch.id
Root and postmaster mail recipient : (leave it blank)
Other destination to accept... : (leave it as it was, just OK)
Force synchronous updates... : No
Local Networks : 0.0.0.0/0 (tambahkan di paling belakang)
Use Procmail for local deliver : No
Mailbox size limit (bytes) : 0
Local address extension character : +
Internet protocols to use : ipv4
General Type of Mail Configuration : Internet Site
System Mail Name : sekolah.sch.id
Root and postmaster mail recipient : (leave it blank)
Other destination to accept... : (leave it as it was, just OK)
Force synchronous updates... : No
Local Networks : 0.0.0.0/0 (tambahkan di paling belakang)
Use Procmail for local deliver : No
Mailbox size limit (bytes) : 0
Local address extension character : +
Internet protocols to use : ipv4
~# apt-get install squirrelmail -y && nano
/etc/apache2/apache.conf
include "/etc/squirrelmail/apache.conf"           <- isi di paling bawah
~# nano /etc/squirrelmail/apache.conf
<VirtualHost *:80>                                               <- Isi di paling
bawah                       
 
DocumentRoot /usr/share/squirrelmail                                             
  ServerName
mail.sekolah.sch.id                                               
</VirtualHost> 
~# nano /etc/rc.local
echo "nameserver 200.100.4.65" >
/etc/resolv.conf
/etc/init.d/networking restart
/etc/init.d/bind9 restart
/etc/init.d/apache2 restart
/etc/init.d/postfix restart
/etc/init.d/courier-imap restart
/etc/init.d/courier-pop restart
~# /etc/rc.local
~# reboot <-Bila tidak bisa login.
download modulnya di sini !
sumber : www.vanhittler.blogspot.com
 


















