torstai 7. marraskuuta 2013

Install Java Developer Kit to Linux

Type this to terminal: sudo apt-get install openjdk-7-jdk openjdk-7-jre
Done.

keskiviikko 6. marraskuuta 2013

Piping ports to other computer with Linux terminal

In some cases you need to setup piping that you can use for example database from other computer and develope application. To do that type in terminal:

ssh username@server.com> -L 3306:127.0.0.1:3306 -N

In this command I change MySQL port from the server to my own computer.