I have just upgraded my WordPress install to the lastest release, luckily with SubVersion the whole process can be achieved with minimum time and effort.
Paul went through the upgrade steps on his blog, but thought I would go through them here as I went along.
Unfortunately when I initially installed WordPress I committed it directly to the root directory unlike the more popular location of the subdirectory /blog, but not to worry.
Here are the steps I followed to complete the update:
# Backup the current directory...
cp -Rp http httpBACKUP
# Create a new location for the update...
# Checkout the latest release from the repository...
svn co http://svn.automattic.com/wordpress/tags/2.5/ httpNEW/
# Copy across any custom changes/themes and config file...
cp -Rp http/wp-con* httpNEW/
# Copy over the .htaccess file..
cp -Rp http/.htaccess httpNEW/
# Delete the old directory...
rm -rf http
# Rename/move the update to the original location...
mv httpNEW/ http
# Switch the SubVersion Repository...
svn switch http://svn.automattic.com/wordpress/tags/2.5/
# Finally, run the browser based update script...
And that’s all there is to it really, now every time I need to update WordPress I can simply copy and paste the above commands.
At last I am now an official blogger according to the results from Google.
define: blogger – “The author of a blog”.
Over at Fubra they like to encourage – or nag – all employees to write their own blog and be part of the ever increasing population of online bloggers.
Until now I have been putting off the process of setting up my own blog in the hope that one would just magically appear or allow me to create one with minimum effort.
Thanks to the wonders of Subversion and WordPress I was able to quickly and easily install a blog on my vserver that Fubra have kindly supplied.
It can’t really get much easier than running the following cmd to checkout from the WordPress repository:
svn co http://svn.automattic.com/wordpress/branches/2.3/ .
All that was left was to come up with a quick and simple design to get away from the default template theme.
So there you have it, the kick start to my future in blogging.
Oh, and a quick thank you to my boss Paul for backing me into a corner and pressuring me into this whole blogging malarkey.