Gentoo

warning: Creating default object from empty value in /var/www/www.lordvan.com/htdocs/drupal/modules/taxonomy/taxonomy.pages.inc on line 33.

A little useful addition for ssh login (from putty) to my .bashrc / .bash_profile

A while ago I was getting increasingly annoyed with encoding problems through ssh - especially when using putty from windows to access my box with filenames,.. in de_AT.UTF-8 - so I was constantly setting locale back to 'C' or something similar.
And well since I am lazy I did look for a way to make that happen automatically -- unfortunately I didn't find a -reasonably easy- way to see if I am using putty. But at least you can find out if you are logged in through ssh or not. So here's a little code snippet I added to my .bashrc to save myself from garbled console output:

Server monitoring with monit (dbmail, openfire, postfix, ..)

I just added some more server monitoring using monit to my server so I thought I'd share a bit of the config in case someone else has a use for it.

Since /etc/monitrc is by default rather verbose and well commented I'll skip this though (also this is covered in a lot of other tutorials anyway)

Syndicate content