Upgrade WordPress in Linux

Share

Posted on the December 18th, 2008 under Blogger,Wordpress by akuadi

No Gravatar

Here i attach and show how to upgrade the wordpress using Linux Workstation.. I just copy it from http://www.cyberciti.biz/

Upgrade WordPress 2.7 in 3 Simple Steps

by Vivek Gite [Last updated: December 11, 2008]

WordPress version 2.7 has been released and can be upgraded easily using UNIX / Linux shell prompt. A few assumptions:

  1. WordPress database name: wptheosblog
  2. WordPress directory name: /var/www/html/theos.in
  3. WordPress domain name: theos.in
  4. 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.

Credit to:

CyberCiti

Share
Malaysia Web Hosting

45 Responses to 'Upgrade WordPress in Linux'

  1. October 20, 2010 at 3:26 PM
    Melatonin Supplement 
  2. February 9, 2011 at 4:35 PM
    Callie Ouellet
  3. June 20, 2011 at 6:57 AM
    mylove
  4. June 21, 2011 at 1:05 AM
    first date advice
  5. July 4, 2011 at 3:30 AM
    Florance Brendeland
  6. July 10, 2011 at 12:28 PM
    liberty reserve
  7. July 23, 2011 at 8:16 AM
    Miami Caterers
  8. July 24, 2011 at 9:31 AM
    Belson
  9. July 25, 2011 at 5:57 AM
    best red lipstick for olive complexion
  10. July 27, 2011 at 6:58 AM
    Winford Yokoyama
  11. July 27, 2011 at 8:14 AM
    Anderson Terracciano
  12. July 30, 2011 at 10:47 PM
    Tommy hilfiger polo shirts sale
  13. July 31, 2011 at 11:48 PM
    Jag126
  14. August 4, 2011 at 5:17 AM
    ersatzteile porsche 944
  15. August 5, 2011 at 9:05 AM
    energy supplement
  16. August 7, 2011 at 6:14 PM
    Delicious Cook
  17. August 15, 2011 at 9:03 AM
    Blondy
  18. August 18, 2011 at 2:27 AM
    how to grow penis
  19. September 22, 2011 at 1:33 PM
    Bill Goedde
  20. September 24, 2011 at 9:12 AM
    Mathew Debaets
  21. September 28, 2011 at 3:07 AM
    Eda Lee
  22. October 1, 2011 at 5:37 PM
    Radio Controlled Cars
  23. October 3, 2011 at 1:26 AM
    haartransplantation
  24. October 13, 2011 at 7:23 PM
    Mercurial 2011
  25. October 17, 2011 at 11:16 AM
    hcg diet drops
  26. October 22, 2011 at 1:19 AM
    modern warfare 3
  27. October 22, 2011 at 3:25 AM
    Authentic Leadership
  28. October 26, 2011 at 5:02 PM
    mr rooter franchise
  29. November 25, 2011 at 4:43 AM
    pheromone
  30. November 25, 2011 at 7:22 AM
    wakacje z duchami
  31. November 26, 2011 at 4:16 AM
    wakacje w grecji
  32. December 6, 2011 at 8:14 AM
    vacanze pasqua 2012
  33. December 6, 2011 at 6:32 PM
    ferTrufferott
  34. December 9, 2011 at 1:46 PM
    kashmir koncert 2012
  35. December 11, 2011 at 5:45 AM
    restauracja kielce
  36. December 12, 2011 at 2:12 AM
    Rudolph Brong
  37. December 12, 2011 at 4:32 AM
    newjersey.dui-arrests.info
  38. December 14, 2011 at 4:46 AM
    wohnungen augsburg
  39. December 16, 2011 at 2:08 AM
    Elisa Arebalo
  40. December 21, 2011 at 11:49 PM
    kontownik
  41. January 31, 2012 at 7:13 PM
    henri
  42. February 3, 2012 at 5:42 PM
    Else Shadburn
  43. February 3, 2012 at 7:35 PM
    przeprowadzki warszawa
  44. February 5, 2012 at 6:40 AM
    gibson explorer
  45. February 5, 2012 at 10:32 PM
    obbergton

Leave a Reply




XHTML::
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>