Jumat, 08 Juli 2011

"INSTALL PAKET WEB PADA SERVER LINUX UBUNTU"

langkah-langkah install web Apache, PHP dan server database MySQL langkah-langkahnya sebagai berikut:


Instalasi web server Apache
# apt-get install apache2

Instalasi database server MySQL
# apt-get install mysql-server

Instalasi php untuk web server Apache
# apt-get install php5

Instalasi MySQL untuk Apache
# apt-get install libapache2-mod-auth-mysql
# apt-get install php5-mysql

Jumat, 24 Juni 2011

Menghapus/Uninstall/Remove Webmin dari Beberapa Macam OS


Iseng-iseng saja menulis turorial ini. Kenapa saya harus menghapus webmin? ceritanya pada beberapa saat yang lalu saya dikagetkan dengan penggunaan RAM server yang melonjak tajam. Setelah menganalisa proses yang berjalan di server, baru diketahui kalau salah satu service webmin leak dan menghabiskan memory lebih besar dari kondisi normal.
Akhirnya saya harus menghapus webmin, kemudian menginstall kembali. Cara yang digunakan untuk menghapus webmin adalah sebagai berikut:
1. Remove Webmin RPM (RHEL / Centos / Fedora )
# rpm -ev webmin

2. Uninstall Webmin Source Installation
# /etc/webmin/uninstall.sh

3. Solaris UNIX Remove Webmin Software
# pkgrm WSwebmin

4. Debian / Ubuntu Linux Remove Webmin Software
# apt-get --purge remove webmin

5. FreeBSD Remove Webmin Software
# cd /usr/ports/sysutils/webmin
# make deinstall clean
ref: http://www.cyberciti.biz

Sabtu, 18 Juni 2011

Queue Tree with more than two interfaces Basic Setup


This page will talk about how to make QUEUE TREE in RouterOS that with Masquerading for more than two interfaces. It’s for sharing internet connection among users on each interfaces. In manual this possibility isn’t written.

First, let’s set the basic setting first. I’m using a machine with 3 or more network interfaces:
[admin@instaler] > in pr
#    NAME       TYPE    RX-RATE    TX-RATE    MTU
0  R public     ether   0          0          1500
1  R wifi1      wlan    0          0          1500
2  R wifi2      wlan    0          0          1500
3  R wifi3      wlan    0          0          1500
And this is the IP Addresses for each interface:
[admin@instaler] > ip ad pr
Flags: X - disabled, I - invalid, D - dynamic
#  ADDRESS           NETWORK      BROADCAST      INTERFACE
0  10.20.1.0/24      10.20.1.0    10.20.1.255    public
1  10.10.2.0/24      10.10.2.0    10.10.2.255    wifi1
2  10.10.3.0/24      10.10.3.0    10.10.3.255    wifi2
3  10.10.4.0/24      10.10.4.0    10.10.4.255    wifi3
On the public you can add NAT or proxy if you want.

Mangle Setup

And now is the most important part in this case.
We need to mark our users. One connection for upload and second for download. In this example I add mangle for one user. At the end I add mangle for local transmission because I don’t QoS local trafic emong users. But for user I need to separate upload and download.
[admin@instaler] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
    disabled=no
0 chain=forward src-address=10.10.2.36 action=mark-connection \
   new-connection-mark=users-userU passthrough=yes comment="" disabled=no
1 chain=forward dst-address=10.10.2.36 action=mark-connection \
   new-connection-mark=users-userD passthrough=yes comment="" disabled=no
2 chain=forward connection-mark=users-userU action=mark-packet \
   new-packet-mark=userU passthrough=yes comment="" disabled=no
3 chain=forward connection-mark=users-userD action=mark-packet \
   new-packet-mark=userD passthrough=yes comment="" disabled=no
98  chain=forward src-address=10.10.0.0/16 dst-address=10.10.0.0/16
    action=mark-connection new-connection-mark=users-lokal passthrough=yes
99  chain=forward connection-mark=users-lokal action=mark-packet
    new-packet-mark=lokalTrafic passthrough=yes

Queue Tree Setup

And now, the queue tree setting. We need one rule for downlink and one rule for uplink. Be careful when choosing the parent. for downlink traffic, we use parent “global-out”, because we have two or more downloading interfaces. And for uplink, we are using parent “public”, we want QoS uplink traffic. (I’m using pcq-up and download from manual) This example is for 2Mb/1Mb
[admin@instaler] > queue tree pr
Flags: X - disabled, I - invalid
0   name="Download" parent=global-out packet-mark="" limit-at=0
    queue=pcq-download priority=1 max-limit=2000000 burst-limit=0
    burst-threshold=0 burst-time=0s
1   name="Upload" parent=WGW packet-mark="" limit-at=0 queue=pcq-upload
    priority=1 max-limit=1000000 burst-limit=0 burst-threshold=0
    burst-time=0s
Now we add our user:
2   name="user10D" parent=Download packet-mark=userD limit-at=0
    queue=pcq-download priority=5 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s
3   name="user10U" parent=Upload packet-mark=userU limit-at=0
    queue=pcq-upload priority=5 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s
souce = wiki.mikrotik.com

User Manager Untuk Hotspot Mikrotik


User Manager Mikrotik merupakan management system yang apat dipergunakan untuk memanage user sbb:
  1. HotSpot users
  2. PPP (PPtP/PPPoE) users
  3. DHCP users
  4. Wireless users
  5. RouterOS users.
  • Pada tulisan ini akan sedikit diulas mengenai User Manager untuk hotspot user. Sebelumnya paket hotspot dan dhcp server harus sudah terintall/enable dan dikonfigurasi terlebih dahulu pada Mikrotik RouterOS. Asumsi pada tulisan ini RouterOS terdiri atas 1 Wlan dan 1 ether. Ether sebagai interface yang terhubung ke internet sedangkan wlan sebagai interface yang terhubung ke hotspot client.Ip ether 1 192.168.0.40 dan wlan 1 dengan ip 172.16.0.1/24. Langkah-langkahnya sebagai berikut:
  • 1. Set DHCP Server pada interface wlan1 ( Set Dhcp server ada pada tulisan terdahulu).
  • 2. Set Hostpot
  • / ip hotspot profile set hsprof1 use-radius=yes
  • 3. Set Radius Client untuk User Manager menangani hotspot
  • / radius add service=hotspot address=172.16.0.1 secret=123456
  • Sebagai catatan pertama kali hotspot user autentifikasi akan membaca pada database /ip hotspot user print. Remove data pada direktori ini agar autentifikasi pada radius.
4. Install User Manager
- Buka system packages dari winbox atau terminal
  /system/packages/print
- Jika belum ada paket user manager install dulu. Karena User-manager merupakan paket terpisah   dari router os MT. Pastikan versi outer OS sama dengan versi paket user manager. Misalnya jika router os kita 2.9.50 maka paket user-manager juga harus 2.9.50.
Download dari http://www.mikrotik.com/download.html, pilih salah paket user-manager-2.9.x.npk dari paket zip
 - Upload via Program FTP Ke Mikrotik Server
 -  Reboot Mikrotik Server
 -  Cek system packages spt no 1, jika user manager belum aktif diaktifkan terlebih dahulu kemudian reboot. Jika sudah aktif
 - buka http://192.168.0.40/userman
 - Jika sudah bisa terbuka halaman login user manager, berarti user manager sudah aktif.
  • 5. Buat Pada User Manager nama subcriber
  • / tool user-manager customer add login="admin" password=123 permissions=owner
  • 6. Buat Hotspot Router
  • / tool user-manager router add subscriber=admin ip-address=172.16.0.1 shared-secret=123456
  • 7. Buat User untuk Hotspot
  • / tool user-manager user add username=fajar password=123 subscriber=admin
Silahkan dicoba untuk konek hotspot dengan laptop dan User manager dapat diakses melalui http://192.168.0.40/userman. Menu-menu yang  terdapat di dalamnya antara lain status login, add user, delete user, log dan lain-lain. Lengkapnya seperti ini http://wiki.mikrotik.com/wiki/User_Manager/Customer_page

Referensi:
http://wiki.mikrotik.com/wiki/MikroTik_User_Manager
http://wiki.mikrotik.com/wiki/User_Manager/Hotspot_Exampl

Limit Different Bandwidth In Day and Night in Mikrotik


There are lot many ways to limit bandwidth for day and Night, but personally I found this is the easiest way, Here it is.
I have used Simple Queue, Script and Scheduler.
Suppose we have one network 192.168.1.0/24 and want to limit Bandwidth for day and Night Time.
Network 192.168.1.0/24
Bandwidth = 06:00am – 18:00pm – 1Mbps. 
Bandwidth = 18:00pm – 06:00am – 2Mbps. 
Create two simple queues for the same network with different Bandwidth Limit.
/queue simple
#name=”Day” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0
interface= parent=none direction=both priority=8
queue=default-small/default-small limit-at=512k/512k
max-limit=1M/1M total-queue=default-small

#name=”Night” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0
interface= parent=none direction=both priority=8
queue=default-small/default-small limit-at=1M/1M
max-limit=2M/2M total-queue=default-small
Now, write scripts
/system script
#name=”Day” source=/queue simple enable Day; /queue simple disable Night

#name=”Night” source=/queue simple enable Night; /queue simple disable Day
Finally, Schedule it
/system scheduler
#name=”Day” on-event=Day start-date=oct/13/2007 start-time=06:00:00 interval=1d

#name=”Night” on-event=Night start-date=oct/13/2007 start-time=18:00:00 interval=1d

Mikrotik : Membuat Server Radius


Mikrotik Part I :
1. Masukan CD Mikrotik
2. Pilih Sofware yang mau diinstal ke dalam PC kita klw mau pilih semua (Alt+A)
3. Langkah Penginstalan : Untuk Menginstal Tekan (Alt+i)
4. Tunggu Loading……
5. Boot/Restart(Keluarkan CD)
6. Muncul Pertanyaan Jawab [N]
7. Login : admin Password : ……….
8. Buat IP Address Ketik :
a. ip address add address=202.152.2.107/24 interface=ether1(ip yang berasal dari pemberi koneksi)
b. ip address add address=192.168.0.1/24 interface=ether2 (ip yang untuk ether2,yang akan dibagi ke klain)
c. ip route add gateway=202.152.2.254 (buat ip gateway)
d. ip dns set primary=202.51.229.8 (buat ip dns)
9. Buat DHCP Server Ketik :
a. ip dhcp server setup
b. ether2
10. tinggal Enter2 Saja..
Mikrotik Part II
I. Buat IP Firewall(agar klain bisa internetan) Ketik :
1. ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
* untuk kembali dari editan/remove Ketik : [/]
II. Buat Billing ( ” Setting Radius Server ” )
* seperti di warnet2..selalu menggunakan billing..(fungsinya mengatur waktu pemakaian si klain dan untuk masuk ke sistem koneksi) car buatnya Ketik :
1.* radius add service=hotspot address="ip ether2″ secret=123456
2. buat hotspot yang mengarah interface client Ketik :
* ip hotspot add name= hotspot interface=ether2
3. Set profile Ketik :
* ip hotspot profile set default login-by=https,http-pap,http-chap use-radus=yes
4. Buat costumer untuk Administrator Username Ketik :
* tool user-manager customer add login=admin password=admin permission=owner
5. Buat router Pada User Manager Ketik :
* tool user-manager router add ip-address="ip ether2″ shared-secret=123456 subserible=admin
6. Buat User Pertama Untuk Custumer Ketik :
* tool user-manager user add username=user1 password=user1 first name=user1 subscriber admin
7. Aktifkan Hotspot yang Baru Di Setting Ketik :
* ip hotspot enable hotspot sudah selesai……..
keterangan :
* Swic===>Ether1
Klain===>Ether2
* Untuk melihat Gateway=>ip route pr
* untuk melihat ip=>ip address pr
* untuk Remove Gateway=>ip route remove
* Ping Gateway=202.152.2.254
* Untuk Melihat Perangkat Ethernet=>interface pr
* Untuk Melihat IP Address=>ip address pr
* CAra Mereset Mikrotik =>system reset=>pilih Yes

Senin, 09 Mei 2011

"LIST ALBUM NIRVANA"

1991 NEVERMIND
142fc496eac1104b24ae30fdcb1cffa1.14805216543

1. "Smells Like Teen Spirit" (Cobain/Grohl/Novoselic) (5:02)
2. "In Bloom" (4:15)
3. "Come as You Are" (3:39)
4. "Breed" (3:04)
5. "Lithium" (4:17)
6. "Polly" (2:56)
7. "Territorial Pissings" (2:23)
8. "Drain You" (3:44)
9. "Lounge Act" (2:37)
10. "Stay Away" (3:33)
11. "On a Plain" (3:17)
12. "Something in the Way" (3:51)

http://www.megaupload.com/?d=XXSN97RI


1992 INCESTICIDE


1. "Dive" - 3:55
2. "Sliver" - 2:16
3. "Stain" - 2:40
4. "Been a Son" - 1:55
5. "Turnaround" (Devo) - 2:19
6. "Molly's Lips" (The Vaselines) - 1:54
7. "Son of a Gun" (The Vaselines) - 2:48
8. "(New Wave) Polly" - 1:47
9. "Beeswax" - 2:50
10. "Downer" - 1:43
11. "Mexican Seafood" - 1:55
12. "Hairspray Queen" - 4:13
13. "Aero Zeppelin" - 4:41
14. "Big Long Now" - 5:03
15. "Aneurysm" - 4:36

http://www.megaupload.com/?d=G705VWWQ


1993 IN UTERO


1. "Serve the Servants" - 3:34
2. "Scentless Apprentice" - (Cobain/Grohl/Novoselic) 3:47
3. "Heart-Shaped Box" - 4:39
4. "Rape Me" - 2:49
5. "Frances Farmer Will Have Her Revenge on Seattle" - 4:07
6. "Dumb" - 2:29
7. "Very Ape" - 1:55
8. "Milk It" - 3:52
9. "Pennyroyal Tea" - 3:36
10. "Radio Friendly Unit Shifter" - 4:49
11. "Tourette's" - 1:33
12. "All Apologies" - 3:50
13. Gallons of Rubbing Alcohol Flow through the Strip" - 7:33 (cancion secreta)

http://www.megaupload.com/?d=B7LAH3M8


1994 MTV Unplugged in New York


1. "About a Girl" — 3:37
2. "Come As You Are" — 4:13
3. "Jesus Doesn't Want Me for a Sunbeam" (Kelly/McKee; The Vaselines) - 4:37
4. "The Man Who Sold the World" (David Bowie) - 4:20
5. "Pennyroyal Tea" — 3:40
6. "Dumb" — 2:52
7. "Polly" (Cobain/Nirvana) — 3:16
8. "On a Plain" — 3:44
9. "Something in the Way" — 4:01
10. "Plateau" (Kirkwood; Meat Puppets) — 3:38
11. "Oh, Me" (Kirkwood; Meat Puppets) — 3:26
12. "Lake Of Fire" (Kirkwood; Meat Puppets) — 2:55
13. "All Apologies" — 4:23
14. "Where Did You Sleep Last Night?" (Leadbelly) — 5:08

http://www.megaupload.com/?d=5WBCW8B0


1996 FROM THE MUDDY BANKS OF THE WISHKAH


1. Intro - 0:52
2. School - 2:40
3. Drain You - 3:34 (Cobain/Nirvana)
4. Aneurysm - 4:31 (Cobain/Grohl/Novoselic)
5. Smells Like Teen Spirit - 4:47 (Cobain/Grohl/Novoselic)
6. Been A Son - 2:07
7. Lithium - 4:10
8. Sliver - 1:55
9. Spank Thru - 3:10
10. Scentless Apprentice - 3:31 (Cobain/Grohl/Novoselic)
11. Heart-Shaped Box - 4:41
12. Milk It - 3:45
13. Negative Creep - 2:43
14. Polly - 2:30
15. Breed - 3:28
16. tourette's - 1:55
17. Blew - 3:36

http://www.megaupload.com/?d=LJ09QE8U


2004 WITH THE LIGHTS OUT


Lista de canciones CD1:


1. Heartbreaker (Live, 1987)
2. Anorexorcist (Radio Performance, 1987)
3. White Lace And Strange (Radio Performance, 1987)
4. Help Me I'm Hungry (Radio Performance, 1987)
5. Mrs. Butterworth
6. If You Must
7. Pen Cap Chew
8. Downer (Live, 1988)
9. Floyd The Barber (Live, 1988)
10. Raunchola/Moby Dick (Live, 1988)
11. Beans (Solo Acoustic, 1988)
12. Don't Want It All
13. Clean Up Before She Comes
14. Polly
15. About A Girl
16. Blandest
17. Dive
18. They Hung Him On A Cross
19. Grey Goose
20. Ain't It A Shame
21. Token Eastern Song
22. Even In His Youth
23. Polly

Lista de canciones CD2:

1. Opinion
2. Lithium
3. Been A Son
4. Sliver
5. Where Did You Sleep Last Night
6. Pay To Play
7. Here She Comes Now
8. Drain You
9. Aneurysm
10. Smells Like Teen Spirit
11. Breed
12. Verse Chorus Verse
13. Old Age
14. Endless, Nameless
15. Dumb
16. D-7
17. Oh The Guilt
18. Curmudgeon
19. Return Of The Rat
20. Smells Like Teen Spirit

Lista de canciones CD3:

1. Rape Me
2. Rape Me
3. Scentless Apprentice
4. Heart Shaped Box
5. I Hate Myself And I Want To Die
6. Milk It
7. M.V.
8. Gallons Of Rubbing Alcohol Flow Through The Strip
9. The Other Improv
10. Serve The Servants
11. Very Ape
12. Pennyroyal Tea
13. Marigold
14. Sappy
15. Jesus Doesn't Want Me For A Sunbeam
16. Do Re Mi
17. You Know You're Right
18. All Apologies

http://www.megaupload.com/?d=L9QIYEBI
http://www.megaupload.com/?d=WDJVD0T6
http://www.megaupload.com/?d=88OUE3WE


2005 Sliver - The Best of the Box


1. Spank Thru (1985 Fecal Matter)
2. Heartbreaker (Live)
3. Mrs. Butterworth (Rehearsal Demo)
4. Floyd the Barber (Live)
5. Clean Up Before She Comes (Home Demo)
6. About A Girl (Home Demo)
7. Blandest (Studio Demo)
8. Aint it A Shame (Studio Demo)
9. Sappy (1990 Studio Demo)
10. Opinion (Solo Acoustic Radio)
11. Lithium (Solo Acoustic Radio)
12. Sliver (Home Demo)
13. Smells Like Teen Spirit (Home Demo)
14. Come as You Are (Boom Box Version)
15. Old Age (Nevermind Outtake)
16. Oh the Guilt
17. Rape Me (Home Demo)
18. Rape Me (Band Demo)
19. Heart Shaped Box (Band Demo)
20. Do Re Mi (Home Demo)
21. You Know Youre Right (Home Demo)
22. All Apologies (Home Demo)

http://www.megaupload.com/?d=JZ727F0B


OUTCESTICIDE


1.If You Must
2.Downer
3.Floyd The Barber
4.Paper Cuts
5.Spank Thru
6.Beeswax
7.Pen Cap Chew
8.Blandest
9.Polly (Acoustic)
10.Misery Loves Company
11.Sappy (Acoustic)
12.Do You Love Me
13.Been A Son
14.Junkyard
15.Opinion
16.D7 (Version)
17.Imodium
18.Pay To Play
19.Sappy
20.Here She Comes Now
21.Where Did You Sleep Last Night
22.Return Of The Rat
23.Talk To Me

http://www.megaupload.com/?d=W4HSUYQG


OUTCESTICIDE II


1. In Bloom
2. Imodium
3. Help Me
4. Oh, The Guilt
5. Smells Like Teen Spirit
6. Pennyroyal Tea
7. It's Closing Soon
8. Heart Shaped Box
09. Scentless Apprentice
10. Been A Son
11. Something In The Way
12. Negative Creep
13. Where Did You Sleep Last Night
14. Baba O'riley
15. The End
16 Lithium
17. Dumb
18. Molly's Lips
19. In His Hands
20. The Man Who Sold The World
21. Smells Like Teen Spirit

http://www.megaupload.com/?d=VZS8U5KH


OUTCESTICIDE III


1. Love Buzz (Peel Session)
2. About A Girl (Peel Session)
3. Polly (Peel Session)
4. Spank Thru (Peel Session)
5. Son Of A Gun
6. Molly's Lips
7. D7
8. Turnaround
9. Dumb (Peel Session)
10. Drain You (Peel Session)
11. Endless Nameless (Peel Session)
12. Been A Son (Goodier Session)
13. (New Wave) Polly (Goodier Session)
14. Aneurysm (Goodier Session)
15. Something In The Way (Goodier Session)
16. Here She Comes Now (Vpro Session)
17. Where Did You Sleep Last Night
18. Drain You (MTV Studios)
19. Polly (MTV Studios)
20. Territorial Pissings (MTV Studios)
21. Rape Me (Lithium 1992 MTV Music Adwards)

http://www.megaupload.com/?d=6Z8GQ0FD


OUTCESTICIDE IV


01.Smells Like A Teen Spirit (Gothic)
02.Marigold (Demo 92)
03.Oh The Guilt (Outtake 93)
04.My (Moist Vagina) (Outtake 93)
05.Do You Love Me (Outtake 93)
6.Curmudgeon (Outtake 92)
07.Into The Dirt (Outtake 93)
08.Return Of The Rat (Outtake 92)
09.Verse Chorus Verse (Outtake 92)
10.I Hate Myself And I Want To Die
11.Frances Farmer (Demo)
12.About A Girl (Outtake 90)
13.Breed (Demo 90)
14.Turn Around (Outtake 90)
15.Molly's Lips (Hollywood CA)
16.Spank Thru (Hollywood CA)
17.Drain You (Chicago IL 94)
18.School (Seattle)
19.Smells Like Teen Spirit (Seattle)
20.Lithium (Seattle)
21.Territorial Pissings (Seattle)

http://www.megaupload.com/?d=4MPTX8YG


OUTCESTICIDE V

1.Rape Me
2.Pennyroyal Tea
3.Drain You
4.Marigold
5.Dive
6.Mr Moustache
7.Blandest
8.Even In His Youth
9.Polly
10.Smells Like Teen Spirit
11.Serve The Servants
12.Dumb
13.The Eagle Has Landed
14.Aneurysm
15.Oh The Guilt
16.Dive
17.About A Girl
18.The Money Will Roll Right In
19.In His Hands
20.Curmudgeon
21.Alcohol
22.Run Rabbit Run

http://www.megaupload.com/?d=A579TTMD


Y AHORA LOS GREATEST HITS DE LA BANDA DE NIRVANA


http://www.megaupload.com/?d=VBX2GL13