quick recipe

Such a long time since my last post… so here is a quick recipe for Wordpress upgrade:

  1. Login to your shell
  2. mv blog blog_old
  3. mkdir blog_new && cd blog_new && svn co http://svn.automattic.com/wordpress/tags/2.7 .
  4. cd ~/blog_old/
  5. cp -p wp-config.php .htaccess ../blog_new && cp -rpf wp-content/* ../blognew/wp-content
  6. cd ~/blog_new/ && svn sw http://svn.automattic.com/wordpress/tags/2.7/ .
  7. mv blog_new blog
  8. go to http://<you_url>/wp-admin/upgrade.php and perform the update process

And thats it! Put it in the hoven for 10 minutes and leave to rest! After that go enjoy your new and upgraded blog! Oh, by the way, each time a new version comes out, just go inside your blog dir and do a:

  • svn sw http://svn.automattic.com/wordpress/tags/2.7/ .

Pretty sweet! =)

UPDATE: in fact you can forget step 2, and just move your old directory in the end, when about to go live. Perform the all the steps in the recipe, than at the end, just change blog to blog_old (or some other name you might have) and change blog_new to blog. This way you now point to you new SVN install, and you old stuff is safeguarded. Enjoy!

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Creative Commons License
dbugs.org by Marco Garcês is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.