Chox’s Blog

Chox juga mau belajar nge-blog

Category Archives: Ubuntu

Upgrading Ubuntu to Version 8.04 LTS a.k.a Hardy Heron

upgrade to Hardy Haron

Now, I’m preparing to upgrade the latest version of ubuntu, 8.04 Hardy Haron.

Keep my “toshibuntu” power on for tonight, to complete all the installation/downloading of upgrade process.

yeah….. rock ubuntu!!!

*ready to sleep now… zzZZZ….ZzzZzz….zzz

Advertisements

Hamachi, Instant VPN for Your PC/Ubuntu

Hamachi, Instant VPN for Your PC/UbuntuMy friends lets our pc get connected via VPN with this software..

LogMeIn Hamachi is a VPN service that easily sets up in 10 minutes, and enables secure remote access to your business network, anywhere there’s an Internet connection.

It works with your existing firewall, and requires no additional configuration. Hamachi is the first networking application to deliver an unprecedented level of direct peer-to-peer connectivity.

Ok, now lets start to install this software to your ubuntu box.

1. Download free Hamachi for Linux at the official site or go to this url (download file *.tar.gz).

2. Go to your destination directory of hamachi download (ex: Desktop)

cd Desktop/

3. Extract file

tar zvxf hamachi-0.9.9.9-20-lnx.tar.gz

4. Installing Hamachi

cd hamachi-0.9.9.9-20-lnx

sudo make install

sudo tuncfg

5. Installing depedency UPX (see: this)

sudo apt-get install upx-ucl

to install upx (in which case the unpacking command is going to be)

upx -d /usr/bin/hamachi

6. Generate crypto identiy (any account)

hamachi-init

7. Running Hamachi
Run ‘hamachi start’ to launch Hamachi daemon.

Run ‘hamachi login’ to put the daemon online and to create an account.

Run ‘hamachi join <network>’ to join the network.

Run ‘hamachi go-online <network>’ to go online in the network.

Run ‘hamachi list’ to list network members and their status

8. If you need GUI rather than command line

  • Download hamachi-gui (*.deb) from sourceforge.net
  • Install:

    sudo dpkg -i hamachi-gui*.deb

  • Run from menu Applications -> Internet -> hamachi-gui

Learn Java with Netbeans on Ubuntu

I’ve made a decision to learn Java again to prepare myself before graduated. Flash back my memory about this programming language (just the basic).

But this time I wanna learn on my ubuntu machine. And this is my a little note, when I was installing Java+Netbeans on Ubuntu.

1. Install the latest JDK

sudo apt-get install sun-java6-jdk

To verify that the installation was successful, execute

java – version

You may get the result like this:

java version “1.6.0_03”
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

To make sure that you use Java from Sun, execute

sudo update-alternatives –config java

Set JAVA_HOME path by add this line at the bottom of file /etc/environment

JAVA_HOME=”/usr/lib/jvm/java-6-sun”

or just execute

export JAVA_HOME=”/usr/lib/jvm/java-6-sun”

And You may include some packages to install, like :

  1. sun-java6-bin – Contains the binaries
  2. sun-java6-demo – Contains demos and examples
  3. sun-java6-doc – Contains the documentation
  4. sun-java6-fonts – Contains the Lucida TrueType fonts from the JRE
  5. sun-java6-jre – Contains the metapackage for the JRE
  6. sun-java6-plugin – Contains the plug-in for Mozilla-based browsers
  7. sun-java6-source – Contains source files for the JDK

2. Download the latest Netbeans with ‘All’ version (remember the file extension is *.sh), from this.

3. Install Netbeans (ex: netbeans-6.0.1-ml-linux.sh)

sh netbeans-6.0.1-ml-linux.sh

This will triger the netbeans installer and just follow the instructions to complete the installation process.

Multiget, File Download Manager

I have found the application (maybe) that can fulfil my needs for file download manager on my ubuntu machine.

Multiget file downloader is an easy-to-use GUI file downloader for Windows/Linux/BSDs/MacOs.
It’s programmed in C++ and has a GUI based on wxWidgets. It supports HTTP/FTP protocols which covers the requirements of most users. It supports multi-task with multi-thread on multi-server.
It supports resuming downloads if the Web server supports it, and if you like, you can reconfig the thread number without stopping the current task. It’s also support SOCKS 4,4a,5 proxy, ftp proxy, http proxy.
Screenshot-MultiGet.png

If you want install this program, open the terminal then input this command

sudo apt-get install multiget

Read more of this post

How to Write NTFS partition in Ubuntu

For my friends that have asked me how to write NTFS in ubuntu.

Taken from vntutor.blogspot.com.

Step 1: Install NTFS-config
sudo apt-get install ntfs-config

Step 2: Open NTFS configuration tool
sudo ntfs-config

Step 3: Enable writing
Tick the check box to enable write support for internal device. However, if you want to write to a external hard drive, you also select external option. Then, you click on button “Ok” to confirm and enjoy it.

So, now i hope u will use ubuntu more than windows.

Powered by ScribeFire.

Play DoTA (a.k.a Warcraft) on Ubuntu

Yes.., We can play dota on ubuntu now.

I have tried with ubuntu 7.04 plus WINE (Wine Is Not Emulator). But I didn’t take wine from winehq, instead of I used from kambing repository.
Now, the last version of wine is wine 0.9.39, but from the kambing it’s wine 0.9.33. So if u want to follow me, make sure u have the same version of wine(0.9.33)

chox@orangemachine:~$ wine –version
wine-0.9.33

First, we have to install wine

chox@orangemachine:~$ sudo apt-get install wine

Then u must prepare the path directory of warcraft from windows partition. I meant, we had installed warcraft on windows partition. So we dont need install it again on ubuntu with wine. Or we can just copy it from your windows partition to your ubuntu partition.
Example, I had installed at E:/games/warcraft/ (on windows partition), on ubuntu that path refers to /media/hda6/games/warcraft (it means /media/hda6/ is my “E” partition on windows. Make sure for your own).

The last, you just make a launcher (a.k.a shortcut) from your ubuntu desktop
Right click(at your desktop) -> Create Launcher.

launcher

At Launcher Window:
– Type : Application
– Fill a name for your shortcut, ex DoTA
– Command : wine /media/hda6/games/warcraft/Frozen\ Throne.exe

Finished, we can play it just double click the “DoTA” launcher at your desktop.
I hope that tutor will work at your computer.
Enjoy it..

Printer Pixma iP1700 Can Work With Ubuntu

Finaly, i have made my printer (Pixma iP1700) can work with ubuntu 7.04 (fesity fawn)

Using iP2200 driver for linux, now iP1700 can print smoothly.

But im not using packages from the vendor, instead im using the packages from this.

This is my steps how to install the driver (using terminal)
1. Add the repository
$ sudo gedit /etc/apt/sources.list

-Add this 2 following lines(sources.list)
deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./
deb-src http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./

2. Update
$sudo apt-get update

3. Install packages
$sudo apt-get install libcnbj-2.6 bjfilter-2.6 pstocanonbj

4.Add the printer (make sure to turn on the printer)
-From your browser, input this URL: http://localhost:631
-Choose “Administration” Menu
-Add “Canon iP1700 (Canon iP1700 USB #1)” from the list
-Add model to Canon iP2200 Ver.2.60
-Leave the configuration with click “Set Printer Options”

5.Testing printer
-Click the “Print Test Page” Button

6. Finish

I think there is no difference between packages from vendor and packages that i used.
You must change the packages first from .rpm to .deb with ‘alien’ command, if you use the packages form vendor
And you must sure to set the “Output Resolution” to 600 dpi. Change it to higher level, make printer cannot work.

There is some references:
1.http://mambo.kuhp.kyoto-u.ac.jp/~takushi/
2.Driver Printer Canon ip1700 di Linux

Who said there is no printer can work with linux?
Don’t believe that gossip!!!
I just have made one working.
Try linux as soon as posible, trust me..

My Laptop

chox@toshibuntu:~$ sudo dmidecode -t 1 | grep Product
Product Name: Satellite M100