Posts Tagged ‘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
Tags: Linux, PHP, xmodmap
Posted in Linux, PHP | No Comments »
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
Tags: gparted, Linux, mdadm, raid, ubuntu
Posted in Hardware, Linux | No Comments »
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
Tags: apache, Linux, optimzation
Posted in Linux | No Comments »
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
Tags: admin, Linux, performance
Posted in Linux | No Comments »
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
Tags: bash, gnu, Linux, picolisp
Posted in Pico Lisp | No Comments »
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
Tags: email, Linux, PHP, postfix, server
Posted in PHP | No Comments »
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
Tags: admin, email, Linux, sysadmin
Posted in Linux | No Comments »
Thursday, May 12th, 2011
I just had to format and mount a second HD in a Ubuntu system.... Read More
Tags: ext3, fdisk, filesystem, format, fstab, harddrive, hd, Linux, mkfs, ubuntu
Posted in Linux | No Comments »
Sunday, March 20th, 2011
[code]PGNvZGU+DQojIG0gICAgaCAgZG9tIG1vbiBkb3cgICBjb21tYW5kDQogICogICAgICAqICAgKiAgICogICAqICBwaHAgLXEgL3BhdGgvdG8vc2NyaXB0MS5waHANCiAgKi81ICAgKiAgICogICAqICAgKiAgcGhwIC1xIC9wYXRoL3RvL3NjcmlwdDIucGhwDQogICovNyAgICogICAqICAgKiAgICogIHBocCAtcSAvcGF0aC90by9zY3JpcHQzLnBocA0KICAyICAgICAgMCAgICogICAqICAgKiAgcGhwIC1xIC9wYXRoL3RvL3NjcmlwdDQucGhwDQogMTMgICAgIDMgICA3ICAgKiAgICogIHBocCAtcSAvcGF0aC90by9zY3JpcHQ1LnBocA0KPC9jb2RlPg==[/code]
Above is probably one of the most complicated crontabs I’ve ended up with.... Read More
Tags: crontab, Linux
Posted in Linux | No Comments »
Friday, February 18th, 2011
After a lot of hair pulling and swearing I just managed to open up a new port (8090) on a Ubuntu server for the first time. The IPTables HowTo is a good document but below I have condensed the pertinent information you need if you just want to open up a port.... Read More
Tags: iptables, Linux, security
Posted in Linux, security | No Comments »