Archive for the ‘Linux’ Category
Wednesday, November 21st, 2012
I just got an 4th gen iPad to test mobile sites with. Unfortunately there is no proper jailbreak for it yet so editing the hosts file on the machine itself was out of the question.... Read More
Tags: iPad, proxy, squid3
Posted in Linux | No Comments »
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 »
Thursday, May 24th, 2012
I have a server where there are two RAID1 disks where the second disk is mounted on /mnt/data, having the MySQL database there would be great as it then would have a whole disk all by itself without having to share with other processes that read and write to the same disk. I/O is often the bottleneck and now we make sure it gets as good as it can be with the hardware we have.... Read More
Tags: apparmor, mysql
Posted in Linux, security | 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 »
Sunday, August 28th, 2011
I’m currently debugging stuff which requires me to begin every session with opening up 3 gnome terminal tabs and executing a different command in each just to get started.... Read More
Tags: bash, gnome terminal, xdotool
Posted in Linux | 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 »