Just for my backup, login to the wordpress server, and change to the root of where you have wordpress living, I was lazy and chose the default CENTOS apache directory. .

   cd /var/www/html/

Get the latest and greatest.

   wget http://wordpress.org/latest.tar.gz


   tar xf latest.tar.gz

And start the scary stuff ;-), when moving just say yes and all should be ok. cd wordpress-blog/

   rm -rf wp-admin/ wp-includes/
   mv ../wordpress/* .

And you’re done.