Back up, and self hosted. (on linux)
Tuesday, April 15th, 2008Sometime last week, I decided that I was getting sick of only having PHP4 on my hoster that I was previously using. I liked using the host I was using, (particularly because the admin had neglected to continue to charge me) but more and more, I felt the need to be my own admin.
“What the hell?” I thought, “It’s not like I get that much traffic. I’ll just host the whole thing myself. ” I was already running a mirror of the site under a different domain. I only had to make a quick change in DNS, and I was running it myself.
That was when my computer died.
Something is going on with my primary computer where it won’t detect that there are any IDE devices attached. I have a perfectly good 500 gig new hard drive, but it was still giving me intermittant problems.
In the meantime, I have dug out my old 1 ghz. computer. I threw my hard drive in there and it was immediately detected. But it won’t log into Windows.
So Linux it is.
When I installed Windows way back a short time after I got this new hard drive, it overwrote my MBR. It’s a simple fix to restore this from linux, but it involves booting up with my Ubuntu live CD. Due to the aformentioned problem with my IDE connections, I’ve never had much luck using my DVD drive in my other computer. On the new, old computer, I logged in, fixed the MBR, and begun using Ubuntu again.
Then I made the same stupid mistake I’ve made many times before: I tried to upgrade.
It seems that without fail, every time I try to upgrade Ubuntu, it will fail halfway leaving my installation corrupted. I repartitioned my linux partition so I could save my /home directory, and re-installed Ubuntu once again.
I needed my Jabber server back.Installing Openfire under linux was pretty easy, but in order to get it to work, I needed my MySQL server first.
I had a little trouble getting my MySQL server transfered. I had problems getting the permissions set right. The second time I tried it, I was able to log in and see all of my precious little tables.
Back to Openfire.
I have had my Openfire database for some time now. It appears that at some point, they changed the way the tables were named. Instead of using jiveuser, they were now using jiveUser. This required stopping the server, dropping all the new tables, renaming all the old tables to the new name, and restarting the server. I had jabber back!
Next comes this site.
This was a pain. I got it serving the files, but it wanted to serve the PHP files instead of parsing and running them. Major security flaw. I removed everything, and re-installed Apache and PHP. It was now parsing the PHP, but it was bitching that it didn’t have MySQL support. I checked to make sure that all the settings were right, but still nothing. One more complete uninstall/re-install cycle and that was working.
So that’s where I am right now. The next step is to get Tomcat running and put Mycyclopedia back up. And from there on to re-writing it… possibly in rails.
Eventually, I will get my other computer working, and all this work will have been for nothing.
Oh well.