Posts Tagged ‘Linux’

DKIM with Postfix – My Multiple Site Setup

Monday, December 31st, 2012

I honestly can’t remember where I originally got my setup from. This is a pretty good tutorial though.... Read More

Xmodmap for quick PHP programming in Linux

Tuesday, September 25th, 2012

When I program Clojure and PicoLisp I use Emacs and it’s the way things are done in Emacs which inspired me to looking into making myself more productive doing PHP in Eclipse.... Read More

From Win/Linux dual boot to Linux RAID

Monday, May 21st, 2012

I’ve just had a shit of a time going from a dual boot setup with Windows on sda and Ubuntu on sdb to a Ubuntu only software RAID1 setup using both drives without having to erase or otherwise screw up the existing Ubuntu install on sdb (I’m using Lucid Lynx). ... Read More

RAM Cache and Redirecting to it in Apache

Sunday, February 26th, 2012

I’ve just had to cache all images on a site in RAM in order to limit the amount of disc scratching going on.... Read More

Server monitoring with SYSSTAT and kSAR

Sunday, December 11th, 2011

It’s hard to beat the SYSSTAT / kSAR combo for easy and quick setup of monitoring servers and in this tutorial you will see how it’s done.... Read More

PicoLisp and Linux/GNU system commands

Friday, September 2nd, 2011

Most of the most commonly used and useful Linux commands needs a file as input, in the shell this can be circumvented by for instance a line like this: echo “hej” | md5sum.... Read More

PHP email admin script

Friday, June 17th, 2011

If you’ve read the article about my email server setup you quickly realize that adding a new email account is quite onerous, a combination of adding records to tables in a MySQL database and creating folders on the harddrive. This can easily be automated with for instance PHP and I’ll show you how below.... Read More

Mail server setup on Ubuntu Lucid

Tuesday, June 14th, 2011

Update: I keep having to redo this setup and get tripped up on what to install all the time so here is the complete install line: apt-get install postfix dovecot opendkim postfix-mysql dovecot-pop3d dovecot-imapd which already assumes you’ve got mysql server installed.... Read More

How to format and mount a second harddrive in the Ubuntu shell

Thursday, May 12th, 2011

I just had to format and mount a second HD in a Ubuntu system.... Read More

Crontab Example

Sunday, March 20th, 2011
[code]PGNvZGU+DQojIG0gICAgaCAgZG9tIG1vbiBkb3cgICBjb21tYW5kDQogICogICAgICAqICAgKiAgICogICAqICBwaHAgLXEgL3BhdGgvdG8vc2NyaXB0MS5waHANCiAgKi81ICAgKiAgICogICAqICAgKiAgcGhwIC1xIC9wYXRoL3RvL3NjcmlwdDIucGhwDQogICovNyAgICogICAqICAgKiAgICogIHBocCAtcSAvcGF0aC90by9zY3JpcHQzLnBocA0KICAyICAgICAgMCAgICogICAqICAgKiAgcGhwIC1xIC9wYXRoL3RvL3NjcmlwdDQucGhwDQogMTMgICAgIDMgICA3ICAgKiAgICogIHBocCAtcSAvcGF0aC90by9zY3JpcHQ1LnBocA0KPC9jb2RlPg==[/code]

Above is probably one of the most complicated crontabs I’ve ended up with.... Read More