Vikram's Web Archive

Icon

Since interestingness isn't a search option…

Upgrade wordpress quickly in 3 easy steps from UNIX shell prompt

$ mkdir /backup/wp/28nov2006

$ mysqldump -u user -p WP-DATABASENAME > /backup/wp/28nov2006/blog.db.sql

$ tar -zcvf /backup/wp/28nov2006.tar.gz /var/www/html/blog

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

via Upgrade wordpress quickly in 3 easy steps from UNIX shell prompt.

Category: WordPress

Tagged:

Comments are closed.

Translate

 

Library

Speaker for the Dead
To Kill a Mockingbird
Leviathan Wakes
Caliban's War
Hyperion
Revelation Space
Ender's Game
Dune
On Basilisk Station
Old Man's War
Shards of Honour
The Warrior's Apprentice
The Fall of Hyperion
The Rise of Endymion
Endymion