Senin, 27 Agustus 2007

My Special Moment in My Life, 'till I closed my eyes.

Assalamu'alaikum Wr.Wb

Alhamdulillahirobbil'alamin, Ya Alloh SWT, terima kasih akhirnya aku sampai di usia yang ke-17 ini. Ternyata aku sudah 17 tahun hidup di bumi-Mu ini Ya Alloh. Terima kasih Ibu, engkau telah memberikan kasih sayang yang tak akan pernah terbalaskan sampai kapanpun. Engkau yang telah melahirkanku 17 tahun yang lalu, mengurusku dan adiku, membiayai aku sekolah, dan memberikan yang terbaik bagi kedua putranya serta keluarganya. Dan, terima kasih kepada keluargaku semuanya, yang telah ikut mengurusku, membantu membiayaiku sekolah. Kasih sayang kalian semua tak akan pernah terbalaskan sampai kapanpun. Terima kasih Ibu, keluargaku, kalian telah memberikan sesuatu yang paling berharga dalam hidupku, sampai aku menutup mata. Kalian telah menghadirkan MOMENT yang paling berharga di dalam hidupku sampai aku menutup mata. Aku bertekad, sebelum aku menggapai sukes aku tidak akan menyerah, walapun aku harus mengorbankan diriku (tentu tetap dalam jalan Alloh Tuhanku) :). Bu, dan keluarga, do'akan Akmal supaya saya bisa menggapai sukes. Akmal harus membuat kalian bahagia dan bangga, Akmal akan sangat merasa senang dan bahagia jika bisa melihat Ibu dan Keluarga senang dan bahagia. :) Adiku yang tercinta, kamu harus lebih sukses dari kakakmu ini. Kamu harus bisa orang yang bisa membahagiakan keluarga. Mengharumkan Nama Agama Alloh, Negara Kita serta Bangsa Kita. Jadilah orang yang sukses adiku tercinta :). Kaka akan selalu mendo'akan mu. Kelak kita sekeluarga akan berkumpul di Surga sana. :) Amiin ya Alloh ya Robbal'alamin

Assalamu'alaikum Wr.Wb

Akmal

Sabtu, 11 Agustus 2007

Hidup yang penuh tantangan

Siklus Air

Hidup itu bagai air mengalir. Jika kita tidak tau kemana arahnya kita akan tersesat. Begitu juga dengan kehidupan kita, ari juga bisa singgah kemanapun dia mau. Air juga kadang-kadang terbawa arus. Tapi ari juga membuat hidup di dunia ini menjadi lebih indah. Kita tidak bisa hidup tanpa air. Semua makhuk di alam ini membutuhkan air. Begitu juga dengan kita. Kita jangan risih atauh khawatir dengan hidup kita. Kita dibutuhkan alam ini. Mengapa tuhan menuruhkan kita di bumi ini. Karena, kita adalah khalifah di dunia ini. Yang berusaha merubah gelap jadi terang, kemunduran jadi kemajuan. Apakah hidup kita seperti air? Mungkin bisa di umpamakan demikian. Dalam hidup kita, cobaan dan godaaan serta tantangan yang datang kepada kita bukan 1 atau dua saja. Tetapi beribu-ribu cobaan, goodaan dan tantangan yang menerpa kita. Tapi apakah hidup kita akan berhenti di situ saja? Belum, masih panjang perjalanan hidup ini. Seperti air yang mengalir dari hulu ke hilir. Dia berusaha menacapai hulu lagi melalui hilir dahulu. Hidup untuk mencapai sukses pasti melalui kepedihan dan penderitaan.
Siklus ari yang mengalir dari hulu ke hilir, sampai dia kembali lagi dan terus menerus begitu. Dari atas kebawah, dari bawah naik ke atas dan seterusnya. Begitu juga dengan hidup kita. Ada kalanya kita sedang bahagia menacapai sukses, kita yakin sukses hari itu akan berganti lagi. Dan dalam pegantian ke sukses yang lain adalah mengalir ke hilir terlebih dahulu. Apakah ada air yang dari hulu tidak melalui hilir dahulu. Dari hulu mundur lagi. Tidak Bisa. Waktu terus berjalan. Karena itu jangan putus asa dalam hidup, walaupun kita gagal hari ini, yakin bahwa suatu hari nanti kita bisa ke hulu lagi (sukses). Begitu juga sebaliknya, jika kita hari ini telah sukses, jangan merasa sombong, angkuh, tinggi hati serta merasa paling benar. Memang benar kita akan pergi ke hulu lagi, tapi hilir telah menunggu kita terlebih dahulu.


-- Indahnya hidup, penuh dengan cobaan, godaan, tantangan serta pada akhirnya adalah kebahagiaan dan kesuksesan. :) --

Jumat, 06 Juli 2007

PC Router in Slackware Linux

Mmmm...I'm very sleepy, I wanna sleep now. But I must post about my passion. Ok....let's begin!
Now, I'd not present about installation slackware Linux, but there are only some methode to configure our PC to be PC Router. And in this chance I'll use Slackware Linux.
Ok....
After We configure the network, exam:
eth0 ==> 202.155.0.187 netmask 255.255.255.248 and ISP's gateway 202.155.0.185
eth1 ==> 172.16.1.33 netmask 255.255.255.224
and you should add name server ...
vi /etc/resolv.conf
insert your own domain name server!
after it....We should make active ip forwarding, and run it with type:
/etc/rc.d/rc.ip_forward start
And then, you may create some firewall script.
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A INPUT -i eth1 -j ACCEPT
And that rules will allow incoming packet from eth0 and eth1.

-iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
-iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
and that rules will make some relation between network A and network B, so they can communicate together.

-iptables -A OUTPUT -o eth0 -j ACCEPT
-iptables -A OUTPUT -o eth1 -j ACCEPT
and that rules will allow outgoing connection or packet from eth0 and eth1.

Now, if you're really have the connection to the Internet. You should set your rule iptables, and using NAT (Network Address Translation) to make your private network get Internet access.
-iptables - t nat -A POSTROUTING -s (your network ip / subnet mask) -d 0.0.0.0/0 -j SNAT --to-source (your ip public)
Ok, finish and you've made some rule to put in your firewall. And now you have to save them.
Now, create a new file in specific directory, for example in /etc/firewall.scrpt and of course use text editor. examp "vi"
-vi /etc/firewall.scrpt
then save and exit!
-:wq!
Now, you have to save your iptables rule in that file.
-iptables-save > /etc/firewall.scrpt
Ok, Finish.......
Now you must test your PC Router that shown "work".
Ping to router.....if reply, that mean success
-ping to ISP's gateway.....if reply, you've succed too.
-ping to google.com.....if reply, you're really succes configure your PC to be PC Router.
Ok...that's all from me....
And Good luck, ......
I wanna sleep....I'm very sleepy.....huauaauaaaaaaaaaaaaah....ah.

Regard's...
Malx


Kamis, 05 Juli 2007

Installing Proxy Server on Debian...

To the point...

Install squid package!
-apt-get install squid
edit file /etc/squid.conf with your favorite text editor.
-vi /etc/squid.conf

This is importance:
http_port 8080/3128 or it's up to you the importance

Find the following directives, uncomment
them, and change them to the appropriate values:
· httpd_accel_host virtual
· httpd_accel_port 80
· httpd_accel_with_proxy on
· httpd_accel_uses_host_header on

And find again acccelerator.....
Finally, look at the http_access directive. The default is usually ``http_access deny all''. This will prevent
anyone from accessing squid. For now, you can change this to ``http_access allow all'', but once it is working,
you will probably want to read the directions on ACLs (Access Control Lists), and setup the cache such that
only people on your local network (or whatever) can access the cache. This may seem silly, but you should
put some kind of restrictions on access to your cache. People behind filtering firewalls (such as porn filters, or
filters in nations where speech is not very free) often ``hijack'' onto wide open proxies and eat up your
bandwidth.

After finish editing, save and exit!...
:wq!

And you should give some rule in firewall to redirect connection http to squid port.
Like this:
-iptables -t nat -I PREROUTING -s (your ip network/subnetmask) -d 0.0.0.0/0 -p tcp --dport 80 -j REDIRECT --to-port 3128(it's up to you, as you configured)
example:
-iptables -t nat -I PREROUTING -s 172.11.0.32/27 -d 0.0.0.0/0 -p tcp --dport 80 -j REDIRECT --to-port 3128.

And now...you may run the squid for the first time...(just once)
-squid -z
and then start the proxy service!
/etc/init.d/squid start
Ok, now you have installed and configuring your PC as transparent proxy server.
....Good Luck...
AnD happy with your proxy machine.... :)


Best Regard's....
Malx


Minggu, 01 Juli 2007

Installing and configuring DNS server using Debian

Hello guys, in this chance I'm gonna try to write about my reffer. And I called it configuring DNS server with BIND in using Debian Woody. For the first, If our debian linux system ready. Login as root!. If we install bind manually They are some methode to do!
1. mount debian installer cd with
root@debian#mount /cdrom
then, go to directory pools/main/b/
type !
root@debian#apt-get install bind-9.x.x.deb
wait a few minute while debian linux installing bind on your system.
and now, we have ready to configure our DNS server.
Edit file named.conf in directory /etc/bind (in this chance I use vi editor to edit that file. But, it's up to you, choose text editor what do you want. And in this tutor, the domain is tkj.edu.
root@debian#vi /etc/bind/named.conf
That will show.
opitons {
// directory "/var/cache/bind";
// query-source address 192.168.5.122 port 53;
// forwarders {
// 219.83.116.186;
// };
};

zone "tkj.edu" {
type master;
file "/etc/bind/tkj";
};

zone "5.168.192.in-addr.arpa." {
type master;
file "/etc/bind/reverse";
};

after it, save and exit with type ":wq!"

and now you have to make the zone file and reverse zone file, in directory as you edited in file named.conf

root@debian#vi /etc/bind/tkj
and you have to put some configuration like this;
dns rev:
$TTL 604800
5.168.192.in-addr.arpa. IN SOA debian. root.tkj.edu. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Exipire
604800 ) ; Negative Cache TTL

;
@ IN NS debian.tkj.edu.
@ IN MX 10 debian.tkj.edu.
debian IN A 192.168.5.122
www IN CNAME debian.tkj.edu.


then save and exit, with type ":wq!"
after it, you must create reverse zone file
root@debian#vi /etc/bind/reverse
then put some configuration like this;

tkj's zone file :
$TTL 64800
@ IN SOA debian root.tkj.edu (
1 ; serial
7200 ; refresh
7200 ; retry
36000 ; expire
7200 ) ; mimimum
;
@ IN NS debian.tkj.edu.

debian IN A 192.168.5.122

122 IN PTR debian.tkj.edu.

then save and exit, with type ":wq!"

and now you should configure dns resolver.
Edit file of directory /etc/resolv.conf
and put some configuration there!

resolve dns:
search tkj.edu
nameserver 192.168.5.122
then save and exit with type ":wq"

and now you should configure the host file.

root@debian#vi /etc/hosts

put some configuration there!
127.0.0.1 localhost
192.168.5.122 debian.tkj.edu debian


Note: IP address in that domain is 192.168.5.122
and that host has domain tkj.edu

Ok guys, our tutor finished. Good luck...and try to operate it on your DNS Server!! :)
always here!!!
Debian Linux

Me and Linux


Maybe, now all of peoples known about many distro in the world. Like Slackware, Debian,Trustix, Fedora, SUSE, Mandriva and other. But also many distro, I always using three distro. And There are my favorite distro. Like Slackware, It has simple, stable, secure and it works. Debian, It has stable, secure and clasicc behavior( that's for me). :) Trustix, It called Server optimized Linux. It has good security. Mmmh but, that hang toward their adminstator who operates them. "Man Behind the Gun". :) Ok, maybe enough for the first post. Hehe It's just introuction.
Regards...

Malx