Archive for March, 2009

Updating to 4.6 and installing Gentoo/FreeBSD on amd64

Friday, March 13th, 2009

Tonight I’m going to (attempt to) update to Xfce-4.6 on my Xfce VM, so I’ll let you know how that goes goes.

On a side note, drizzt has been busy working on stages for Gentoo/FreeBSD on amd64, so I’m probably going to attempt to install that in a VM, and see how we get on with that. With any luck, we’ll hopefully have the ~amd64-fbsd keyword in the tree at this rate! :)

Oasis

Tuesday, March 10th, 2009

Is waaaaaay too addictive. Seriously. Narcissus and I cleaned out my room yesterday evening, and there were twenty two bottles of Oasis in my room. >.<

I think I should stop drinking Oasis, but it’s just too nice! :( And it tastes much nicer than water. I don’t care what additives it has, it’s just… nomnomnom!

Update: It’s 3 days later, and I currently have something between 7-9 bottles of Oasis in my room. Fail.

Fixing up Narcissus’s server

Sunday, March 8th, 2009

Right, I’ve spent most of the weekend sorting out various Apache/DNS/VirtualHost issues on Narcissus’s new VPS. He’s got five IP addresses pointing at his VPS, and randomly assigned them to the various sites hosted on the server… I wasn’t best pleased with this, so split the sites into various categories, assigned them an IP address based on that, and redid the DNS.

After sorting that lot out, it was time to sort out the filesystem locations where the sites were being hosted. The VirtualHost directives were originally pointing at content in ~user/public_html. I find that this has a number of issues, especially when the user wants to have multiple subdomains, and also when users want to put actual content in their ~user/public_html to be made available via http://foo.bar.com/~user. It is also a lot less centralised, and especially in cases where the user has no account on the server, can lead to a lot of unused user accounts, which I consider to be a security liability. As such, I prefer to host sites in /var/www/$site_name/htdocs with their logfiles stored in /var/www/$site_name/logs. This leads to a system which is much easier to manage as all the sites are centralised. If a user needs to make changes to their site, there’s a symlink created to ~user/sites/$site_name, which leads back to the site in /var.

So, we hacked together a quick script to move sites to the proper location, update the httpd.conf, and ran that, which solved the “problem” fairly quickly.

After doing all of that, I decided to get some content up on our new house website (the group of students I’m living with next year decided to make a website for the house, with aggregated blog feeds, house rules, news, forums (for debating issues and so on), and various uses like that. I decided to use Drupal as a CMS, as I decided it offered most of the functuality which I needed, and have been working on getting that up and running. I’ve still got to sort out the aesthetics side of things, but it should be up and running properly sometime soonish, at which point, I’ll announce it to the world. :)

Ugh. So, apparently…

Friday, March 6th, 2009

Using mv instead of cp to transfer files from your WordPress backup to your new install is not a good idea. Especially when you hose the new install, and the file you copied over was the config file. Then I deleted the backup of the database in my frustration… Go me!

So now I have yet another new blog, let’s see how this one lasts, ‘eh?