Linux

Remove MySQL from Ubuntu startup

If you want to remove mysql from your system startup rcconf or sysv-rc-conf can’t disable it because of the SysV init approach. Here is how to do it: sudo vim /etc/init/mysql.conf Comment out the whole start on entry. This should look like the following: #start on (net-device-up #          and local-filesystems #         and runlevel [2345])

GPG Error

After adding a new apt repository to your sources.list you often get a gpg error that there is no public key for that repository. If you trust the added server you can add the key with the command stated below. Here is an example error message. I replaced the id of the key with <long_key>: …

GPG Error Read More »

Nexus server behind an apache2 proxy

the following howto explains how to install a default nexus server behind an apache2 proxy on a debian host. First install apache and java download nexus and prepare for configuration. You’ll find the latest version of nexus under http://nexus.sonatype.org/downloads/ [codesyntax lang=”bash”] apt-get install apache2 sun-java6-jdk wget http://nexus.sonatype.org/downloads/nexus-oss-webapp-VERSION-bundle.tar.gz mv nexus-oss-webapp-VERSION-bundle.tar.gz nexus.tgz mv nexus.tgz /usr/local/ cd /usr/local …

Nexus server behind an apache2 proxy Read More »

no iKVM64 in java.library.path on SuperMicro IP KVM

since I upgraded to ubuntu 11.10 connecting a IPMI console to SuperMicro servers fails with the error message “no iKVM64 in java.library.path”. A workaround for this problem is to download the .jnlp file and open it with an editor. Copy the two lines stated below, taken from the <resources> entry, to the corresponding <resources os=”Linux” …

no iKVM64 in java.library.path on SuperMicro IP KVM Read More »

SSH config

If you are using special ports or different usernames on different ssh-hosts you can simplify your connect commands with a .ssh/config file like the one in the following example. Host test1 HostName 8.8.8.8 Port 12345 User myname Host test2 HostName fubuntu User horaz Host * User root ssh test1 equals ssh myname@8.8.8.8 -p 12345. The …

SSH config Read More »

Ubuntu 11.10 Gnome 2 Style

to everybody who doesn’t like unity under ubuntu 11.10. You can install gnome-shell by sudo apt-get install gnome-shell After this you get the option gnome-classic at your login screen. Then rearange the desktop items and move window buttons to the right and you have a gnome 2ish look and feel.