Hanya seorang yang pemarah yang bisa betul-betul bersabar. Seseorang yang tidak bisa merasa marah tidak bisa disebut penyabar, karena dia hanya tidak bisa marah. Sedangkan seorang lagi yang sebetulnya merasa marah, tetapi mengelola kemarahannya untuk berlaku baik dan adil adalah seorang yang berhasil menjadikan dirinya bersabar. Dan bila Anda mengatakan bahwa untuk bersabar itu sulit, Anda sangat tepat, karena kesabaran kita diukur dari kekuatan kita untuk tetap mendahulukan yang benar dalam perasaan yang membuat kita seolah-olah berhak untuk berlaku melampaui batas. ( My For All Sosial Network curuterz@facebook.com )

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Selasa, 24 Januari 2012

Konfigurasi DNS dan Squirrelmail




$ su -
(Biar lebih bagus install dlu yang di perluin)
# apt-get install bind
# apt-get install apache2 php5
# apt-get install squirrelmail
# apt-get install postfix dovecot-common dovecot-pop3d dovecot-imapd
# nano /etc/network/interfaces
-------------------
auto eth0
iface eth0 inet static
address 192.168.1.56 <<<< lebih kecil dari pada BroadCast
netmask 255.255.255.0
network 192.168.1.56
broadcast 192.168.1.60 <<<< lebih besar dari pada IP address
gateway 192.168.1.56
--------------------
# nano /etc/resolv.conf
--------------------
nameserver192.168.1.56
--------------------
# /etc/init.d/networking restart
# ifconfig <<<< pastiin IP address'a udah pass sama yang di atas
# cd /etc/bind
# nano /etc/bind/named.conf <<< yang di sini ga usah di edit.. kluarin aja (Ctrl + X)
# nano /etc/bind/named.conf.local
--------------------
zone "smkalmuin.sch.id" {
type master;
file "/etc/bind/db.smkalmuin";

};

zone "192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";

};
--------------------
# cp db.local db.smkalmuin
# nano db.smkalmuin
--------------------
@ IN SOA ns.scmkalmuin.sch.id. root.smkalmuin.sch.id. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.smkalmuin.sch.id.
@ IN A ns.smkalmuin.sch.id.
ns IN A 192.168.1.56
www IN CNAME smkalmuin.sch.id.
mail IN CNAME smkalmuin.sch.id.
--------------------
# cp db.127 db.192
# nano db.192
--------------------
@ IN SOA ns.scmkalmuin.sch.id. root.smkalmuin.sch.id. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.smkalmuin.sch.id.
56.1.168 IN PTR ns.smkalmuin.sch.id.
--------------------
# /etc/init.d/bind9 restart
# nslookup
> 192.168.1.56
> smkalmuin.sch.id
> www.smkalmuin.sch.id
> mail.smkalmuin.sch.id
(Ctrl + C untuk kluar)
(Truss...coba u liat di MozilaFirofox'a,,,"mudah2n ItWork smua"...
tapi Itwork ga itwork..lanjutin aja, jdi nnti'a bisa kliatan apa yg salah. biasa'a di "# nano /etc/bind/named.conf.local" tu sih mnurut we
tapi coba priksa dari atas smpe "nslookup" trus liat ke MozilaFirofox... insya allah :)
# nano /etc/hosts
------------------
127.0.0.1 localhost
127.0.1.1 server-laptop
192.168.1.56 www.smkalmuin.sch.id mail.smkalmuin.sch.id <<<< yg ini aja yg di tambah (ngrti kan?)
# the following...........................................................
------------------
# ping smkalmuin.sch.id
# ping www.smkalmuin.sch.id
# ping mail.smkalmuin.sch.id
(Pastiin jgn ada "Request time out" usahaain "Reply" Ok... )
# cd /etc/apache2
# pico apache2.conf
-----------------
(di antara)
#
ServerRoot "/etc/apache2"
SeverName "smkalmuin.sch.id"
#
# The accept..........................................
-----------------
# cd sites-enabled/
# nano 000-default
-----------------
ServerAdmin vmon@smkalmuin.sch.id
ServerName www.smkalmuin.sch.id
DocumentRoot /var/www
----------------
# /etc/init.d/apache2 restat
(Kalo udah.. Coba liat di Mozila'a... "www.smkalmuin.sch.id"
"mail.smkalmuin.sch.id" <<<<<<<<< mudah2n sih kluar squirelmail (ngasal)
# pico /etc/postfix/main.cf
---------------
myhostname = mail.smkalmuin.sch.id
mydomain = smkalmuin.sch.id
myorigin = smkalmuin.sch.id
alias... =
alias... =
mydestination = $mail.smkalmuin.sch.id
relay... =
mynetworks = 192.168.1.56
mail... =
recip... =
inet_interfaces = all
default = ...
----------------
# /etc/init.d/postfix restart
# cp 000-default web.mail
# pico web.mail
----------------
ServerAdmin vmon@smkalmuin.sch.id
ServerName mail.smkalmuin.sch.id
DocumentRoot /usr/share/squirrelmail
---------------
# /etc/init.d/apache2 restart
# adduser vheevmon
(Ucapkan "Bissmillahhirrohmanirohim" insya allah squirrelmail muncul dan bisa masuk ke inbox .. )

Klo mo liat Contoh'a di "Squirrelmail Login"

NB:
"gw udah buktiin dan nyoba ngebuat e-mail dan domain sendiri nihh contoh email dan domain buatan gw
1. vmon@altatkjstyle.co.cc
2. vm@72tng.co.cc
3. v_vexia@altatkjstyle.co.cc
4. v_m_0_n@altatkjstyle.oc.cc
dan domainnya
www.altatkjstyle.co.cc & www.72tng.co.cc

sekian dan terima kasih semoga bermanfaat untuk anda 
"End"