Upgrading WordPress
This is the procedure for upgrading a WordPress installation. It is based on the procedure from WordPress. However, this procedure is optimized for those, who has direct shell access to their web server.
Backup the database.
Backup the WordPress directory, download and install the new version.
cp -r www.foobar.com www.foobar.com-backup
cd www.foobar.com
rm -rf *
ftp http://wordpress.org/latest.zip
unzip latest.zip
rm latest.zip
mv wordpress/* .
rmdir wordpress
Restore the configuration. Confirm, that the wp-content.php file has the same structure as the old version. If not, edit the new file manually.
cd www.foobar.com-backup
cp wp-config.php ../www.foobar.com
cp -r wp-content ../www.foobar.com
cd ../www.foobar.com
chmod -R 0777 wp-content
Open the WordPress administration page, which is reached by adding /wp-admin to the website URL and follow the instructions, if any.
Confirm, that the version has been updated. Remove the backup directory.
rm -rf www.foobar.com-backup
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
