Quickly upgrade WordPress cli 0

All steps on http://www.cyberciti.biz/tips/howto-upgrade-wordpress-from-linux-unix-shell-prompt.html


Step # 2: Download latest wordpress CMS


$ cd /tmp

$ wget http://wordpress.org/latest.zip

$ unzip latest.zip

Step # 3: Overwrite all new files


$ cd /var/www/html/blog

$ cp -avr /tmp/wordpress/* .

$ rm -rf /tmp/wordpress /tmp/latest.zip


Open a browser and run update script such as http://yourblog.com/wp-admin/upgrade.php

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.