Author Archive

Power off problem on Lenovo SL500 with OpenSuSE 12.1

A couple of days ago I installed OpenSuSE 12.1 on my laptop after running OpenSuSE 11.4 for quite a while. Upgradeing was no big deal. OpenSuSE has a nice tutorial on that. The new version finally supports the integrated mobile modem out of the box which is very nice. The only annoyance I got is […]

Execute command on every boot

You want to execute a command on every boot but do not want to create an init script? Well, if your *nix system supports cron jobs which is very likely it is your lucky day. Just open the cron file for the user who in whose name the command is supposed to run. crontab -e […]

Memcache is not cacheing

So you are using memcached to speed up your system. Than suddenly at some point you notice memcache is not helping anymore but is does not cache the part that has the worst impact on your system. That´s what just has happened to me. Why is Memcache not cacheing I asked myself. Well, the default […]

Use varnishlog to find hosts which cause most hits

If your Varnish powered server is under constant load and you are wondering who causes that varnishlog is a helpful tool. Start off by logging IP addresses for a while. 1 varnishlog -c -i RxHeader -I X-Forwarded-For > varnish.log After you have collected enough information use the following line to find out which IP caused […]

Library and WordPress plugin for Textbroker

I created a library to access the API of the Textbroker marketplace more easily. The library is Open Source with a BSD licence. Feel free to grab a copy and play with it. Feedback is appreciated. Based on that work I developed the Textbroker WordPress plug-in which makes it very easy and comfortable to place […]

Useful shell commands: last

Today I will start a new series for linux/*nix newbies called Useful shell commands. Every now and then I will write about one of the powerful commands you’ll find on your shell. I will start the series with a command called last. # last Calling last on your commandline gives you a list of logins. […]

High available NFS4 server with drbd 0.8, pacemaker 1.0, heartbeat, openais on OpenSUSE 11.1

For my podcast project I got five new root servers which are all connected internally through a switch. Two of the servers are connected directly over a crossover cable. Those two servers have 3 NICs, the other 2 servers have 2 NICs. I share the website’s HTML, images and other resources through the NFS server […]

php-fpm runlevel start script for OpenSuSE 11.1

Nowadays OpenSUSE comes with almost all packages I need to run a fast and reliable webserver. As I have written before I use nginx and php-fpm for our podcast service. You can get up-to-date packages of nginx through OpenSuSE’s build service. I have not yet found a RPM package of php-fpm though. Therefore I compile […]

How to find out user id on linux system

For a mount command I needed to find out what user id my user account had. There are several ways to find out. As root you could look into the passwd file (most likely /etc/passwd) or on OpenSuSE use the Yast user module. But I was looking for a way to find out my user […]

System upgrade openSUSE 11.0 to openSUSE 11.1 with zypper

I had to set up a server. The hoster offers openSUSE 11.0 at the moment but no openSUSE 11.1 yet. As I like to go with the latest and greatest I decided to upgrade the system to openSUSE 11.1 after using the hoster’s installation image for openSUSE 11.0. I searched on the web how a […]