Archive for the ‘LAMP’ Category

Ubuntu 8.04 Upgrade Goes Well, Not Without Issues

Saturday, May 3rd, 2008

Upgraded from 7.10 to 8.04 last week. The Upgrade went quite smooth, especially considering I have been running a mixed kde 4/kde 3 setup, with the kde 4 pulled directly from the kde.org repo.
more…

Dual-booters, beware the XP installer.

Monday, November 5th, 2007

About this time last year, I decided to switch to Linux. I lived happily ever after in (K)Ubuntu, with my original Windows still kept around (one word: games). So after upgrading my workhorse desktop at home a couple of weeks back, I had the opportunity to reinstall both OS’s in a dual-boot setup. The experience from the two setup processes was unbelievably radically different. more…

The infinit loop in Horde

Wednesday, August 1st, 2007

Tried to install Horde Groupware WebMail Edition in my new server. Ran ./scripts/setup.php. Test.php showed everything fine. But when i try to hit the horde entry page for the first time, the browser gets into an infinite loop. The server log keeps showing

“GET /horde/index.php/login.php HTTP/1.1″ 302 26

Here’s a workaround.

Export a private key without encryption using openssl

Saturday, July 28th, 2007

When I generated a private key file for a new server I’m setting up, I put in a pass phrase. The PEM file for the private key is then encrypted with that pass phrase. Usually that’s a good thing, but a problem came when I needed to make postfix use that and the certificate issued based-on it. Postfix can only access a passwordless private key file. So to produce one, here’s what I did:

cat my.crt my.key >my.pem
openssl pkcs12 -export -in my.pem -nodes -out my.pfx
openssl pkcs12 -in my.pfx -out my-nodes.key -nodes -nocerts

How to Assign a Label to a Swap Partition

Friday, July 20th, 2007

mkswap -L label /dev/device

Watch out when you move /var in Ubuntu

Thursday, June 14th, 2007

When I was installing my Ubuntu, there was this part where an experienced admin would spend some time devising a plan for which part of file system should be mounted from which partition. I decided to skip it and kept everything except /home on one single partition - just to keep it simple. Well, at an unfortunate moment during the past weekend, it suddenly hit me that I should stop being such a noob, and “make things proper”. more…

Ubuntu Network Manager - Feisty… Fowl-up?

Wednesday, April 25th, 2007

I couldn’t wait until the Feisty release, and upgraded to the beta a couple of weeks before the release date. Everything else went through quite well, except for the new Network Manager. more…

Build Subversion 1.4.3 in Ubuntu Edgy

Sunday, February 11th, 2007

You'd (I did) think now that we have all figured out how to build 1.4.2 in Edgy, building 1.4.3 should be just some rather boringly repeated procedure. Nope.

For the APR and APR-UTIL packages required by subversion, there are libapr0, libapr1.0, and libapr1 and their corresponding libaprutil* in Synaptic. Despite that the libapr0 description says that it is "currently used by Apache2, Subversion...", or that 1.4.2 was happily built with libapr1.0, you want to get libapr1/libapr1-dev/libaprutil1/libaprutil1-dev, and use this configure line: (I don't care much about accessing through webdav)

CODE:
  1. ./configure --with-ssl --with-apr=/usr/bin/apr-config --with-apr-util=/usr/bin/apu-config

Build Subversion 1.4.2 in Ubuntu Edgy

Saturday, January 6th, 2007

The standard Ubuntu repository has only 1.3.2. Higepon's tips worked very well. In addition to the packages listed, I had to also install 'expat-dev'.

Mutt Notes

Monday, January 1st, 2007

I'm just starting to use mutt, so this is where I plan to keep the tips and other notes. more...