Warning: this post contains an
EXTREMELY HIGH NERD CONTENT. I'm posting it because I just have to tell SOMEone and I don't have any friends that are nerdy enough
1. I've tried telling some people but I get a very high BSF
2 rate. Also it's a long post.
I have a lot of computers
3.
They're not (entirely) frivolous; they all have specific functions.
As of last week, I had a nice beefy desktop, a cute lil laptop, a media center, a small firewall/email/external DNS machine, a small webserver, and an old internal-server (it does internal DNS, proxy, DHCP and probably a couple other things).
The old internal server is what started the whole thing. It's really old
4. I'm all for repurposing old machines, but you have to draw the line somewhere. To me, one of these lines is when the power supply starts making really horrible noises and occasionally you have to hit it to get the fan going. Which is what this machine has been doing for a while now.
Which I used as an excuse to build myself a new desktop. The previous one
was three years old, and since this is my main work machine it kinda needs to be up there. I figured I'll use my old desktop to rebuild the Internal Server.
That was a month or two ago. My old desktop was just sitting there for a while, and last week I decided to get started on the new server. The only things I cannibalised out of my old desktop were the harddrives and the video card, both of which I had spares of. So I put a new video card in the machine and immediately burned it
5.
Totally my fault - I figured since I'm only going to be in text-mode and I'm not even plugging in the PCI-E power
6 it wouldn't overheat. Ooops. So I ordered a $25 videocard online cause, no rush.
Then the harddrive on my webserver started failing.
The problem with that is that it was an IDE drive, and I don't really have any of those lying around (well, I do, but they're even older than that one). I had a bunch of spare SATA drives but that machine is old enough that the motherboard doesn't support SATA.
So I figured I could either spend $50 on a 'new' drive, or spend $100 on a new motherboard and CPU, since I have a case and newish RAM. It won't be a super powerful beefy machine but it's just a personal webserver.
Course I ended up getting a new case anyway, and some RAM just in case
7, but hey. Then I copied the OS and data
8 to a SATA drive and hey, new webserver.
By then my new video card arrived so I started building that internal server again, and then I got to thinking (I know, I know).
I figured my old desktop is WAY the heck overpowered for what this server will be doing. The machine I just made a webserver out of would be perfect for that. And sure, my old desktop would be overpowered for a webserver, too,
most of the time. The thing is, I have my
gallery on that server, which means it occasionally has to do a lot of image processing (every picture has the original size, and then a small, medium and large version). My mom has her own version of my gallery on that server and she's always complaining that the image processing takes too long and her browser keeps timing out
9.
So I moved the harddrive into my old desktop. That pretty much worked well enough.
But of course I couldn't leave well enough alone.
Like I mentioned before, the old webserver wasn't exactly new
10. I mean, it predates SATA. It also predates 64-bit and multicore CPUs
11. So basically the operating system was not able to take full advantage of the hardware's computing power.
Luckily, I had a nice empty server with a virtually identical harddrive I could build the operating system on from scratch.
OK, if you're a nerd, this is the cool part of the story
12.
The old server OS was some old 32-bit debian. For the new one, I obviously wanted a 64-bit OS, but for some reason I decided to go with Ubuntu.
I've been TRYING to get Ubuntu going for ages. I like debian a lot but I'm a bit tired of how long it takes new versions of programs to get on it sometimes. I tried Ubuntu on my media server a long time ago (heh, I remember it didn't support SATA very well), heck, I even tried it on my new desktop, and there were always tiny little annoying things about it that eventually make me go AAAAAAAAAAAAAARGH! and just go back to old-familiar debian.
This time I was determined to get the damn thing working.
Long story short
13 - Ubuntu SERVER has a weird proxy issue. When you use a proxy during installation it somehow messes up the repositories and won't download new package information, so you can't install, well, just about anything. Ubuntu Desktop doesn't do this, by the way. Took a bunch of fiddling and forum-searching etc to figure THAT out.
Anyway, once THAT was fixed I had to get all the fun software back on, and since I didn't install the same OS I had to kinda poke and guess and get a bunch of Close Enoughs.
And then I had to transfer a bunch of MySQL databases over. I would like to point out for the record that I did this in an entirely WRONG way which is completely unrecommended and in fact warned against as unreliable. But it worked! So they can all shut up.
THEN I had to get it all so my mom can still use it. That involved a couple of hours of skype.
So anyway, that's my story. I rebuilt my webserver several times in a couple of days, and did the whole OS Overhaul in under 24 hours
14.
Might not seem like a whole lot of fun, but on a Nerdy level it's kinda fun to pull that off and have it actually work that smoothly.
And back in the REAL world, it looks like the dog, who has been sitting on the sofa with me for the past hour, has noticed that I'm about to go to bed, so she just ran off so she can steal my spot before I get there.
My compliments and thanks to anyone who actually read this
15. LATER!
1 I know, I'm surprised too. I guess that's one advantage of working in an actual office.
2 Blank Stare Factor.
3 Duhhhhh.
4 Ok, computer-old.
5 Seriously, smoke and everything.
6 And by the way, what's with video cards needing their own special power cable now? When 3DFX tried that in the mid-90s we all LAUGHED at them!
7 RAM was $10 for 1 gig. So I got two.
8 One of the nice things about UNIX is you can just copy the OS over file-by-file and it'll pretty much just work. I'm simplifying a bit but do I really need to get into partitioning and installing the boot-loader?
9 She doesn't actually say "timing out", she says it "disconnects" before it's done. I pointed out that it still works but she didn't really listen.
10 That sounds a bit redundant.
11 Well, in the consumer/home PC market, anyway.
12 YES I DID NEED THAT MUCH BACKGROUND.
13 Ok, this portion of the story.
14 Not counting the whole Mom stuff, she's in a different timezone so that's not fair.
15 And no that's not just me trying to get "Hey I read it!" comments.