Install Apache Tomcat 8 on Debian 7 (Wheezy) with virtual hosts and Apache2 integration

1. Install OpenJDK Java 7 runtime: aptitude install openjdk-7-jre 2. Download Tomcat Download Tomcat 8 from Tomcat 8 Download page. For example: wget http://ftp.fau.de/apache/tomcat/tomcat-8/v8.0.5/bin/apache-tomcat-8.0.5.tar.gz 3. Install Tomcat tar -xzvf apache-tomcat-8.0.5.tar.gz mv apache-tomcat-8.0.5 /opt/tomcat 4. Create tomcat user and group groupadd tomcat useradd -g tomcat -d /opt/tomcat tomcat usermod -G www-data tomcat chown tomcat:tomcat /opt/tomcat -R […]

Fix broken ext4 partitions

Boot from a live distribution like ubuntu (http://www.ubuntu.com). fsck.ext4 -cDfty -C 0 /dev/sda Note: Replace “sda” with your harddrive. Explanation: -c check for bad sector check -D optimize directories if possible -f force check -t print timing stats -y assume answer “yes” to all questions -C 0 print progress info to stdout

Remove old kernel packages from Ubuntu

I blog this because the original blog doesn’t exists any longer. I want to remove all old kernel packages from my system ( Ubuntu Linux ). I found this command: dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/’”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’ | xargs sudo apt-get -y purge But you shouldn’t use […]

Cyanogenmod on Samsung S III

Required Pakets I use Ubuntu 13.10 (saucy) the required software is available in the package manager. Install required packages with: sudo apt-get install heimdall-flash android-tools-adb Download Cyanogenmod and Addons * http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.3.1-i9305.img * http://download.cyanogenmod.org/get/jenkins/40515/cm-10.1.3-RC2-i9305.zip * http://goo.im/gapps/gapps-jb-20130812-signed.zip Please check on the Cyanogenmod Website for the latest versions. Install Clockwork * Poweroff * Poweron and press Volume Down […]

Racktables Extension 0.3.1

Small update of my racktables extension: Fixes and new features: – Fix: Variable Bug with new PHP versions – Fix: Custom Report now saved as UTF-8 char – Fix: Blade locations now complete – Feature: Custiom Report now with type column – Feature: Custiom Report now with container column – Feature: Custiom Report now with […]

Change the Subnet of VMWare Network Interfaces

If you install VMWare Player or Workstation the installer searches free subnets for the host-only network adapters vmnet1 and vmnet8. Sometimes this isn’t compatible with networks at other locations. Like Wifis, VPN connections or the networks at your work place. You can change this subnets if you want. On Linux open “/etc/vmware/networking” and change the […]

Happy Birthday!

This Blog today runs for 5 years. It now has about 125 entries and 380 comments. It get’s about 200 visits per day mostly on weekdays The busiest day had 1100 visits. Thank’s a lot to all my followers