Currently browsing category

Linux

Setting up a LAMP at once

Since I have to setup my Raspberry Pi over and over again, I found it useful to have just “one command” to set the Apache Webserver, MySQL Database and PHP5 up.   And here it is: sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install apache2 mysql-client …

Repair corrupted NTFS partition

I just had to repair an NTFS partition on my USB-Stick, it seems it got corrupted when unplugging it. sudo ntfsfix /dev/[device name] Replace [device name] with the partition you want to recover. (e.g. “sdb1”) And that’s it! All the files on the stick were recovered :) You can install …

Install Java 32bit Version on Linux

I just struggled with installing a 32 bit version of Java JDK on my 64 bit ubuntu machine. After installing the JDK-Files (download the .tar.gz archive and un-tar it), you will have to add it to java alternatives, so it will be recognized by the OS: sudo update-alternatives –install /usr/bin/java …

Java Game on Raspberry Pi

I try to get Java and LWJGL running on a Raspberry Pi, so I can run some little games on it.   To install OpenJDK 1.7 run the following command in your terminal: sudo apt-get install openjdk-7-jre   This will install the Runtime, if you need the development kit too, …