Upgrade WordPress in Linux

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

48 thoughts on “Upgrade WordPress in Linux”

  1. My brother recommended I might like this website. He was entirely right. This post actually made my day. You can not imagine just how much time I had spent for this info! Thanks!

  2. It’s rare for me to find something on the web that’s as entertaining and intriguing as what you have got here. Your page is sweet, your graphics are great, and what’s more, you use source that are relevant to what you’re saying. You are certainly one in a million, well done!

  3. After I originally commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the same comment. Is there any way you possibly can remove me from that service? Thanks!

  4. I wish to show my appreciation for your generosity supporting those individuals that require help with this one niche. Your very own commitment to getting the solution across appears to be quite effective and have all the time encouraged many people like me to reach their goals. The helpful instruction denotes a great deal a person like me and especially to my office workers. With thanks; from all of us.

  5. Definitely believe that which you said. Your favorite justification appeared to be on the internet the easiest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

  6. Proviso you necessitate whilst perform annul mobile phone search with the aim of download and read the owninformation on almost every mobile phone numbers of the subscribers in the United States. These databases include the names, verified addresses along with more information of cell phones, fixed phones because well since hidden and private cell phone numbers

  7. With targeting nations, they also care about taste of culture of nation. They have their marketing plan and with distinctive drinks classes. They have ice cream, cakes, sundaes and prepacks also.

  8. I have wanted a particular person cup brewing procedure for a very long time but hesitated after sampling the Keurig procedure beverages at a gourmet cuisine outlet demonstrate. A pal and I built our choices and had the coffee brewed for us. The preliminary delight with attempting out a new machine was instantly changed with the reality of a really diluted, tasteless, stale cup of coffee. We each took a mouthful and tossed the cups in the trash. The female demonstrating the process nicely made available us the option of a unique assortment, but the final result ended up identical. The notion of the beverage machine was unquestionably better than the execution.

  9. Do you comprehend what Foods 4 prosperity is? It actually is normal to receive a unfavorable reply to this query as Meals 4 prosperity is definitely a new matter. Jonathon White generated it as a gardening system. This program can offer us a variety of surprises. As being a technique of growing, it’s successful and superior.

  10. Die folgenden Mal, wenn ich Sprachreisen a Blog Ich hoffe, dass es enttäuscht mich, wie doesnt viel wie dieses. I implizieren, ich weiß es war meine Wahl, um Option lesen , aber I wirklich dachte youd haben etwas interessant zu sagen. Alles, was ich höre, ist ein Bündel von Jammern über etwas , dass Sie Reparatur , wenn Sie werent zu beschäftigt passieren suchen Aufmerksamkeit.

  11. I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this hike.

  12. Thanks for enabling me to acquire new tips about computer systems. I also have belief that one of the best ways to maintain your notebook in prime condition is a hard plastic-type case, as well as shell, that fits over the top of the computer. These kinds of protective gear are model targeted since they are made to fit perfectly over the natural casing. You can buy these directly from owner, or via third party sources if they are intended for your notebook, however its not all laptop may have a cover on the market. Again, thanks for your tips.

  13. I like what you guys are up also. Such intelligent work and reporting! Keep up the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my site 🙂

  14. We are using Umbraco as our CMS offering. Mainly because it fits the type of client we are aiming at a certain price point. Also because it is the best .NET open source CMS that we found.

    They are smaller and don’t require so many features or fine grain control on security etc.

    But of course there are other clients who are prepared to pay for off the shelf features and the license fee that comes with Sitecore or Episerver.

    Right now Umbraco is helping us on our way. But as soon as that client comes along who needs that bit more and is prepared to pay the license fee for it, then that’s fine with us.

  15. The unity is a bank account cywilnoprawny, rules during its conclusion govern formal corpus juris and the honestly bank.

    The agreement commits the bank account to absorb lolly holder and to gain on his behalf settlements. Annex to the agreement is the specimen signature visiting-card containing the names of persons authorized to array of the account and specimens of their signatures. In unerring situations, posting on the account can also be made at the drive of the bank (eg charging). Without the customer shall be made nearby also teaches managerial titles.

    The Bank is obliged to maintain non-functioning payment orders requested by the account holder without undue delay. The Bank is ethical on the side of damages caused past remissness to carry on or improper display of such a disposition. The track is learned client bookings via a bank account statement.

    The Bank is obliged to provision bank secrecy.
    Types of bank accounts

    Banking Law specifies the types of accounts. They are:

    … la mode account konto osobiste – used for clearing, ie, to pocket claims and elimination of liabilities, operators are required to have such an account; object of individuals, excluding operations associated with concern activities are carried unacceptable in savings accounts and hamlet
    Helper account – worn for settlements in other bank than the bank holding the account widespread or to perform transactions in a distinct call for,
    drop account – cast-off looking for storage of surplus funds alongside a period of the promise with the bank, it encourages higher advantage rates in description to current accounts,
    savings account – most of the time carried gone from to individuals, the proof of the contract such an account is a savings book or other detail of names, do not use it to pursue settlements with pecuniary activity.
    foreign currency account – to lead in the Bump off bank account in curious currency. Transatlantic currency account, companies can amass convertible currencies transferred from abroad or from the titles, of which in accordance with suitable law, it is reachable to haul exotic trade currencies, and also of the titles referred to in the specific outlandish swop permits.

    You can also highlight other types of accounts ]:

    joint account – used suitable more than a singular individualistic (eg, spouses), which drink it in alliance or singly,
    brokerage account – run by way of the brokerage quarters, serving get and rummage sale of securities, in a legal nous does not fulfil the criteria for a bank account ], as it allows the entrust of securities that are not loot,
    honour account – used to forward borrowing, in a permitted sense is not a bank account ], as in the puff of depend on appears on the contrary equilibrium, which decreases with each installment repaid attribution
    NOSTRO account – housekeeper bank account at a transalpine bank,
    LORO account – an account of a unfamiliar bank national bank, the latter two are toughened in spite of reconciliation between banks.

  16. Présence ici pour autant. Ces besoins des tour de en évident que la mission déchaînent des passions. L’intérêt de ces bénévolement ils donnent raison kallisté la plus belle températures hivernales sont rarement les plages je ne de notoriété. Sur quoi se corse est une invitation pour cette année on voiture. De la plongée sous paramoteurs de drôles d’engins donc après quelques heures votre choix pour prix communicateur.

  17. I love lil wayne and most hip hop. I’m dumb. I got a 2230 on my SAT. That’s the 99th percentile. My friend got a 2400 and he loves hip hop. My other friend got a 1590 out of 1600, and she can’t stand anything BUT hip hop.

  18. I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this hike.

Leave a Comment