WordPress version 2.7 has been released and can be upgraded easily using UNIX / Linux shell prompt. A few assumptions:
- WordPress database name: wptheosblog
- WordPress directory name: /var/www/html/theos.in
- WordPress domain name: theos.in
- Operating system: Linux
WARNING! If you are not comfortable with UNIX shell prompt (IF YOU ARE new to a UNIX/Linux os), please follow traditional way of upgrading wordpress and DO NOT use the three Steps described here.Step # 1: Backup old files and database
If you run into problems Upgrading WordPress with the three Steps described here, you need to revert to your old version. Login to your hosting account using ssh client. Backup your mysql database, enter:
$ mkdir ~/theos.backup
$ mysqldump -u vivek -p 'passWord' -h localhost wptheosblog > ~/theos.backup/wptheosblog.sql
Now backup all existing wordpress files, enter:
$ mkdir ~/theos.backup/old
$ cd /var/www/html/theos.in/
$ cp -avr * ~/theos.backup/old
Next, login to your wordpress and disable all plugins.
Step # 2: Download wordpress 2.7 in /tmp
Type the following command (use wget command to grab latest version):
$ cd /tmp
$ wget http://wordpress.org/latest.zip -O latest.zip
Sample output:
--03:29:37-- http://wordpress.org/latest.zip
Resolving wordpress.org... 72.233.56.139, 72.233.56.138
Connecting to wordpress.org|72.233.56.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: `latest.zip'
[ <=> ] 1,849,558 987K/s in 1.8s
03:29:39 (987 KB/s) - `latest.zip' saved [1849558]Unzip file, enter:
$ unzip latest.zip
Step # 3: Upgrade wordpress
Overwrite all files, enter:
$ cd /var/www/html/theos.in
$ rm -rf wp-admin wp-includes
$ cp -avr /tmp/wordpress/* .
Fire a browser and type
http://yourblog.com/wp-admin/upgrade.php
OR
http://theos.in/wp-admin/upgrade.php
Login to wordpress admin panel and enable all plugins.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop















{ 3 comments… read them below or add one }
whew….. it works well. 3 cool steps… seamlessly.
btw hmmm i used to indonesian version of wordpress… how to change them in english
thanks, worked great for me…
Thank you!
Just upgraded tonight. I always knew it was possible but having the steps right there for me pushed me to do it.
Keep up the great site!