Category Archives: howto

simplify your daily ssh usage… even more…

On MeyerMillerSmith.com I recently posted this one: Typing ssh commands can be very annoying but it doesn’t has to. There’s a quite nice way to simplify your daily admin life: shell scripts. Okay, let’s say we have a dozen servers … Continue reading

Posted in Linux, howto | Tagged , , , | Leave a comment

find out if your Apache is really serving the right hosts

From time to time it can happen that websites that used to be on your webservers are being moved by your clients without notifying you. Therefore, you will have to search for «zombie websites». I have the following setup: There … Continue reading

Posted in Linux, Webserver, howto | Tagged , , , , , , , , , , , , , , , , | Leave a comment

SFTP only and SSH only OpenSSH system with gentoo

Although there are many ways workarounding the lack of security with ye olde FTP, there is a quite handy solution: use OpenSSH via SCP/SFTP to handle the file transfers. There are many solutions which all try to restrict the access … Continue reading

Posted in Linux, Software, howto | Tagged , , , , , , , , , | Leave a comment

rebuilding Cyrus indexes

You might know the situation, something happened, and afterwards you get error messages from Cyrus telling you that your databases just have crashed. Then, your Inbox is shown empty while the filesystem does show the correct files. What happened? Every … Continue reading

Posted in Linux, Mailserver, Software, howto | Tagged , , , , , , , , , , , , | Leave a comment

tomcat on port 80

You might know the situation: You’d like to run tomcat from a privileged port, but the bloody thing just won’t start. Of course, it’s java-specific. Usually, a daemon gets its port from root. Not with Java. Your possibilities are therefore … Continue reading

Posted in Linux, Software, Webserver, howto | Tagged | 2 Comments

creating apache vhosts with style

We decided to have a reverse domain name structure that conatains (beside the htdocs) all vhost-related information like logs, stats and config. The reverse structure is neccessary to get an quick overview not about the subdomains but the domains. Additionally, … Continue reading

Posted in Webserver, howto | Tagged , , , , , | Leave a comment

recursive md5 hashing with Linux

The problem: You need a md5sum of a directory. Unfortunately, md5sum just accepts files as input. The solution: Let’s use find! Okay. Here we go: find DIRECTORY -type f -exec md5sum ‘{}’ \; | md5sum – | awk ‘{print $1}’ … Continue reading

Posted in Linux, howto | 1 Comment

icecast and awstats

Not much has yet been written about this topic and it really is no big deal but some sentences more would have made me feel more secure. Therefore, I tell what to do. We need icecast and awstats (definitely) and … Continue reading

Posted in Linux, Software, howto | Tagged , , , | 1 Comment

gentoo and kde4

As it is written in the package information, KDE4 still is masked. Those who cannot wait (like us) have to face a long and struggling road. To ease things up a little bit, we hacked some shell-aid. Like this: while … Continue reading

Posted in Linux, Software, howto | Tagged , | 1 Comment

lighttpd and awstats

There are lots of howtos for running awstats with lighthttpd. Nearly all of them define a subdomain for statistics but miss to add the only line for defaulting to awstats.pl. Here is what you have to do to do it … Continue reading

Posted in Linux, Webserver, howto | Tagged , , , | Leave a comment