Well, I know that most of you, if not all, are not tech-inclined. If I were to go into all the details of my server rebuild, you would probably lose consciousness and break your nose on your desk. I don’t particularly want to have your broken nose on my conscience, so I’ll spare you the bloody details. I will, however, not spare you from the details which do not happen to be blood-soaked. Dear God, I can’t type tonight.
Last week, I noticed my server was starting to bog down a little bit. It had a lot of stuff on there that I could get rid of (as well as a fancy-shmancy GUI that no one was using anymore), as well as room for a lot of upgrades. So I backed that sucker up, wiped ‘er clean, and loaded it up with Darwin. I thought to myself, “No need for a GUI on this box, so Darwin will be perfect!” Turns out, Darwin is far from perfect, it’s a lot more like what it actually is: the stripped-down, non-proprietary core of OS X which has been thrown back to the open-source community like leftover scraps to try to appease them. After a couple days fiddling with that and getting almost nowhere, I stumbled upon a way to simply disable the GUI in OS X itself — all the bang for less, uh, buck. Bucking broncos, or whatever.
So wipe it again, install Tiger (the server was previously running Panther), edit a few files and disable those pretty but ultimately useless and resource-hogging widgets. Great. Time to recreate all the work I’ve done over the past several years. Mail server? How do I do that again? Where the hell are all the supporting libraries I need to compile PHP? The good news is that Apple made Tiger a lot more like standard Unices and there are a lot more standard libraries in place, and a lot fewer wacky things that need to happen to compile programs. Combine that with ever-increasing support for OS X by developers and it was a lot easier than I expected.
I know you don’t care (well, Mike will if he reads this), but because I’m proud of it (and because it’ll be fun to look back and laugh at):
- Tiger – up from Panther. Biggest improvements are seen here.
- Apache 2.2.0 – up from 2.0.54
- PHP 5.1.1 – up from 5.0.3
- Exim 4.6.0 – uhh… can’t remember. Prolly the same version
- Courier-IMAP 4.0.6 – up from 3.0.8
- MySQL 5.0.17 – up from 4.0.somethingorother
- And the latest versions of all those other supporting libraries and things one needs to do anything useful, compiled with GCC 4 for added flavor
Filter out all those virtual hosts which no longer matter… get rid of all those databases which I’m no longer using… mmm, so fresh and clean! All in all, I’m running with about 200 megs more free memory than I used to be. That’s a 200% increase, yum! Couple that with the newest, shiniest versions of everything and the server just feels more lithe, more sprightly, more acrobatic than its 500 MHz really is.
December 29th, 2005 at 12:15 pm
Well done. I certainly…uh….agree and approve your changes. Of course, yous should do something about the stuff I would like to work on, as I cannot access it.
Something about a database access error it seems, as it gives this wonderful message about how it cannot access the required files.
December 29th, 2005 at 2:16 pm
Yeah, that’s the one thing that’s still broken. To be honest with you, I’m not sure how to fix it.
December 29th, 2005 at 4:28 pm
So uh, yeah. I’m feeling an overwhelming sense of ignorance and inadequacy on my part after reading your entry. Not only did I fail to understand most of the terms mentioned, but I’m a bit disappointed that you didn’t update us on what else (besides rebuilding your server…) you’ve been doing over break. On the bright side that gives us more to talk about at DCC I guess! I hope you enjoy the rest of your break, have a wonderful New Year’s, and I’ll see ya in 3 days :o)
~Heather
December 29th, 2005 at 10:28 pm
Well, as near as I can tell, your mail server is still toasty. Well, at least the POP3 access. And the mail sub-domain doesn’t seem to lead anywhere but an infinite loop.
December 30th, 2005 at 1:07 am
Nice work man, I am looking forward to denver, coming up all so soon. See ya in a few…
Dan J.
December 30th, 2005 at 1:43 pm
I think I’m proudest that you did it all by your onesy – savvy?
December 30th, 2005 at 2:07 pm
Server wipes are always fun! Over the summer, I wiped my server, put Debian stable on it, and it’s been peachy ever since.
That database error looks impressively dubious. Unfortunately, I can’t say that I know anything at all about MySQL, so I’m not going to try to offer any useless suggestions.
December 30th, 2005 at 2:09 pm
Actually nevermind. I will make a useless suggestion. The specific error is “Error: 1146 Table ‘wikidb.user’ doesn’t exist (localhost)”. It seems like the user database is borked somehow, or not even there?
January 5th, 2006 at 8:58 pm
I have to admit. It seems faster. Ever get to B-town?