Apache
Wow, I have been busy
Ok, sorry, this is a teaser to a series of more posts I'll try to get put up over the course of the week, but I will give out free samples:
1) IRL: Wow... where to begin. I moved into my own apartment by myself, it's quite a different experience. I've been working 5-6 days a week just to cover my expenses, and managed to get promoted to assistant manager in less than a year. Now if I could only get a raise...
2) Server tweaks: Because no server is ever good enough, I've been very busily working on my servers and network infrastructure. Long story short, I've made some major architectural changes to my LAMP stack by replacing Apache's mod_php with PHP-FPM (FastCGI Process Manager).
3) Introducing Connor Behan: My friend has been renting space on my server from me for 2+ years and he only recently got around to actually using it. Lots to share about our adventures with Arch Linux + Lighttpd/PHP-FPM (and some caveats about the latter), and setting up multi-core Apache Solr to serve search queries for two Drupal sites.
4) APT repo and LAMP-related back-ports: I needed to back-port PHP to get PHP-FPM on Lucid, and while I was at it I decided to do the same for Apache, and Lighttpd. And since I went to all that trouble, naturally I needed a repo to house them in.
So, that's what I plan to cover over the week in more detail including how-to's and pictures. Stay tuned.
The rumours of my death have been greatly exaggerated
My life changed pretty significantly starting January this year. My parents announced their impending divorce, my girlfriend of the time broke up with me not long after, my grades in college began to slip... It's been a crazy year to say the least. In the last 6 months I've moved twice, put up with 'temporary' accommodations, and generally felt like my entire life was in flux. I'm glad to say things are finally starting to balance out now. I have moved closer to town where I don't need to rely on others for transportation, and managed to find a job not far away (no small feat in a blue-collar city like Hamilton where the job market has really hit the dumps).
I finally got my servers and other infrastructure online today, as you can see if you're reading this. Not only that, but I've finally gotten a brand-spankin' new server as well. This site is now hosted on a very fast Core 2 Duo 2.93ghz with 2gb of DDR2-800 RAM, and a couple 500gb hard drives. I took the opportunity to also upgrade to the latest long term support release of Ubuntu, 10.04 Lucid Lynx. All-in-all, I'm very impressed with this release. I've had to do barely any manual configuration for any of the services I'm running: Apache 2.2, PHP 5.3, MySQL 5.1 and Tomcat 6 with Apache Solr. Getting Drupal back up to date after months of being offline was quite a chore however...
In conclusion, I am very much still alive, and good things are coming my way. This is a new life, and I don't intend to let things get as bad as they were before this time around.
Installing Apache Tomcat 6 and Solr nightly on Ubuntu 8.04
Getting Solr to play nice with Tomcat on Ubuntu was an interesting journey, I almost gave up entirely at one point. I'm compiling this how-to from tips I got from multiple websites. I'll try to make as complete a list as I can remember at the end of this post.
Some experiments with Lighttpd/FastCGI
I setup Lighttpd 1.4.18 with FastCGI support for PHP on my development server last night just to see if it's gotten any better since I last tried it. So far so good, at least setup and install went much better this time. Ubuntu has had Lighttpd in the repos since Dapper (although only Gutsy and Hardy are up to date.) Setting up FastCGI was easy this time around, I didn't get any server errors at all, although it's possible I only owe this to better understanding of the documentation. Just for kicks, I also installed eAccelerator, which is a PHP op-code cache that I've been using on my primary server for a few months along with some other performance tweaks (mostly various types of caching.)
