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
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.
Cheat sheet act as a reference tool which provides cut and paste kind of commands to complete a specific task. I often recommend following set of best cheat sheets to students and IT professionals. It include Linux/UNIX command and shell scripting.
Wordpress 2.6 has been released and available for download almost a month ahead schedule.
In this article ComputerWorld chat to Chet Ramey about his experience maintaining Bash.
From my mail bag:
Where can I get free interactive access to HP-UX or Linux distro or UNIX shell access?
You can simply grab and try out any Linux / BSD / Solaris Live CD. However, some time you cannot install and use particular UNIX like os. So, if you want to try the latest technologies over the Internet? Try HP TestDrive program:
This program allows you to testdrive some of the hottest hardware and operating systems available today. Have you ever wanted to try out HP’s exciting 64-bit Integrity and PA-RISC technology? Get time on SMP x86 and Opteron ProLiant servers? Try out a Blade server. Try different Open Source operating systems such as FreeBSD, Suse, Redhat, Debian and other Linux distributions.
This program is perfect for students and new users to try out and learn basis of UNIX. You can also try and test your C/C++ programs using latest Intel compilers. It is intended for those users who want to sample the 32- and 64-bit servers running a variety of HP, UNIX, Linux and third-party operating systems and applications.
=> HP Test Drive Program [hp.com]
Since I use wordpress as CMS for 2-3 different websites, upgrading wordpress is an essential task for me. Upgrading wordpress from shell prompt is the easiest thing.
Howto update wordpress
Please note that if you are not comfortable with UNIX shell prompt (IF YOU ARE new to UNIX/Linux), please follow traditional way of upgrading wordpress and DO NOT use following instructions 😉
Step # 1: Backup existing database and wordpress directory
Type the following commands at 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
Open a browser and run update script such as http://yourblog.com/wp-admin/upgrade.php
And you are done. Thanks to UNIX shell access. It just took less than 1 minute!!! Replace path names and database name with actual values.
In case, if something goes wrong, you can always restore old database and files from /backup/wp/28nov2006 directory.
PS: I wrote this because some one recently asked me how to upgrade wordpess from command line.