Upgrade WordPress via SSH

The Automatic Upgrade, ever since it came into the scheme of things, we had mixed reactions. We told some of the customers that you won’t need us for doing this. WordPress has made it so easy that it’s available at a press of a button. Nay! The customers went to somebody else 🙁

The following steps worked for us, login via SSH and ch to the directory where the wordpress blog resides (It is assumed that you do not have a sub directory called wordpress beneath this one) –

wget http://wordpress.org/latest.tar.gz
tar -zxvf latest.tar.gz
cd wordpress
cp * ../ -R -f
cd ..
rm wordpress -R
rm latest.tar.gz

Now, you can login as admin and do the database patch and get going. Post your experience in the comments below. Please take backups!