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.

Photo Stream

AngelsLandingHDIMG_1435IMG_1503IMG_1142c2IMG_1132IMG_1133

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

 

Now Reading

Planned books:

Current books:

  • The Wisdom of Crowds

    The Wisdom of Crowds by James Surowiecki

Recent books:

None

View full Library