Chox’s Blog

Chox juga mau belajar nge-blog

Category Archives: FOSS

Chrome and its extension

I love chrome. specially now it comes with extensions.

No doubt, I will use chrome longer =)

Then I wanna mention Google as Super Google.

A lot of apps that have been published by Google out there.

Maybe tomorrow,  all we need just a browser (and Google?? hahaha….)

ok see u later,  my chromed bird has been waiting.  tweet…tweet… B-)


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-

4. Installing Hamachi

cd hamachi-

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)


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
  • 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


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:


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