iTunes StoreÃÂ ¯ ÃÂ ¼ Ã ¯ Â ¿ Â ½ JapanÃÂ ¯ ÃÂ ¼ Ã ¯ Â ¿ Â ½

WordPress ME 2.2からWordPress 2.3へのアップグレード WordPress ME 2.2 to upgrade from WordPress 2.3

Written on 2007/11/2 金曜日 – 22:19:21 | by redwood | Written on 2007/11/2 Friday - 22:19:21 | by redwood |

WordPress2.3がリリースされてから2.3準拠のテーマが増えてきた。 WordPress2.3 has been released from the 2.3-compliant theme has increased. 新しいバージョンで新機能を踏まえたテーマやプラグインのリリースは、ユーザにとって嬉しい限り。 The new version features a new theme based on the release and plug-ins, users will be happy as long. 歓迎すべき流れなのだが、問題は自分のWordPressはWordPress ME 2.2 - Capricciosoを利用していた事だ。 It is a welcome trend, the problem is one of the WordPress WordPress ME 2.2 - Capriccioso was using it. やはり新しいテーマやプラグインを使ってたい欲求に駆られてしまう。 But with new themes and plug-ins TETAI prompted by desire. そこで思い切ってWordPress ME2.2からWordPress2.3にアップグレードする事にした。 WordPress ME2.2 where to take the plunge and upgrade it to WordPress2.3.

そもそもアップグレードできるのか Upgrade to the first place?

WordPressはMEと本家版で配付元が異なるし、またMEは本家版から改めて日本語版として修正、提供しているようなので、もしかしたらプログラムの構造が異なっているかもしれないし、万が一データの持ち方が異なっていたらアップグレードは難しくなってしまう。 WordPress ME and the home of the original version of the distribution is different, and ME version to the home of the Japanese version will be corrected, and so on, so maybe with a different program might be, if data were to have Upgrading is different if it is more difficult. だがテーマやプラグインは概ね共通に使えるようだし、使えない場合はマルチバイトの問題が多い。 But generally the common themes and plug-ins to use it now, if you are not allowed in multi-byte issues. その辺りの心配は薄そうだ。 That concern is thin in that vicinity. そもそもWordPressは英語で開発されているんだから英語版のテーマやプラグインの数は圧倒的。 WordPress originally developed in English, I have an English version of the theme and an overwhelming number of plug-ins. いち早く2.3の機能を使ったWordPressを利用していきたいと思うユーザも多いだろうと言う事で、自分のようにWordPress ME 2.2からWordPress 2.3へのアップグレードしたい、もしくはした、という人がいるのではないかと思い、調べてみた。 2.3 among the first to use WordPress is used in the future I think many users would say it to his WordPress ME 2.2 to WordPress 2.3 and you want to upgrade, or the people that you would not Think, on inquiry.

勇敢な諸先輩方がたくさんいらっしゃいました(笑) There are many brave people coming scene (laughs)
MEから本家へのアップグレード(移行?)は可能のようなので、アスカゼでも行う事を決意しました。 ME to upgrade from the upstream (transition) as possible, so ASUKAZE also decided to do.

アップグレード計画を作成する Upgrade plan

まずはアップグレードする手順を確認しよう。 First, find out about the process of upgrading. 何事も計画が大事。 Whatever plan is also important.

  1. WordPress2.3.1のダウンロード Download WordPress2.3.1
  2. コメント・トラックバックの停止 Stop comment Trackback
  3. プラグインの全停止 Plug-ins all the stops
  4. デフォルトテーマに切り替え The default theme switch
  5. 既存データのバックアップ Existing data backup
  6. 既存システムのバックアップ Existing backup system
  7. 既存wp-config.phpの情報から新wp-config.phpを修正 Wp-config.php existing information to modify the new wp-config.php
  8. サーバ上のデータ消去 Erase data on the server
  9. WordPress2.3.1のアップロード Upload WordPress2.3.1
  10. ./wp-admin/upgrade.phpの実行 . / wp-admin / upgrade.php run
  11. index.php動作確認 Verified index.php
  12. 諸設定確認 Check the settings
  13. プラグインの設置と動作確認 Plug-in installation and operation check
  14. テーマのアップロードと動作確認 Uploading and tested themes

こんな感じで今回のアップグレードを行います。 The upgrade like this.

1.WordPress2.3.1のダウンロード Download 1.WordPress2.3.1

本家をダウンロードします。 Download the originator. 本家用日本語リソースのリリースを案内し、利用方法を説明するja:resource « WordPress Codexのサイトから日本語リソース入り WordPress 2.3.1 (wordpress-2.3.1-ja.zip)をダウンロードします。 Resources for the release of Japanese PGA tour, and describes how to use a ja: resource «WordPress Codex site resources with Japanese WordPress 2.3.1 (wordpress-2.3.1-ja.zip) to download. WordPress2.3は現在バグフィックスを行った2.3.1が最新なので、その版をダウンロード。 WordPress2.3 is currently 2.3.1 is the latest bug fixes, so its version to download. 丁寧にも日本語リソースも入っているらしい。 Japanese also contains resource courteously also heard. と言う事は管理画面は日本語になるのかな。 It is the control panel is said to be Japanese?

2.コメント・トラックバックの停止 2.'s Comments stopped Trackback

アップグレード活動中にコメントやトラックバックが来ても移行出来ない可能性があるので、管理画面からコメントやトラックバックを停止します。 Comments activity upgraded to come back and trucks also may be unable to migrate to the control panel from the comments and trackbacks to stop. アスカゼではコメントやトラックバックは少ないので、停止しなくても問題は無いと思いますけどね。 ASUKAZE the comments and trackbacks are small, having to stop and I have no problem, though.

3.プラグインの全停止 3. Stop all plug-ins

既存システムをなるべく素直な状態でバックアップを取りたいので、プラグインを全停止します。 The existing system as a docile state wants to back up, stop all plug-ins. こちらも管理画面から1つ1つ、コツコツと。 Also management from the screen one by one, and plug away. またコリスさんのサイトで2.3で動作しないプラグインが紹介されています。 The 2.3 Collis, who runs the site has not been a plug-in. ご参考までに確認を。 A reference to confirm. 動かないプラグインがあったら他のプラグインを探す事にしましょう。 Plug-ins are not working, I can find other plug-ins.
WordPress2.3で動作しないプラグインのリスト | コリス Plug-ins do not work WordPress2.3 | Collis

4.デフォルトテーマに切り替え 4. Default theme switch

プラグイン同様、素直な状態でのバックアップのために、デフォルトのテーマへと表示を切り替えます。 Plug-ins as well as docile state backup for the default theme and display panel. 懐かしい。 A fond memory.

5.既存データのバックアップ 5.'s Existing data backup

データベースのバックアップはphpMyAdminを用いてバックアップする方々が多いし、正確なバックアップを行うならそうするべきだと思う。 PhpMyAdmin backup of the database using a lot of people back up, back up if accurate, I think it should be. が、アスカゼは始めたばかりでデータも少ないし、システムのPHPを変更したりデータベース構造に手を入れて無いので、エクスポートでのデータバックアップを行う事にする。 However, data recently began ASUKAZE less the system to change the PHP database structure, so do not put my hand, the export of data to back up the matter. WordPress eXtended RSS もしくは WXR と呼ばれているこのフォーマットには、投稿、コメント、カスタムフィールド、カテゴリーが含まれるので、今回保管したいデータとしては十分だろう。 WordPress eXtended RSS or WXR and is called the format of the post, comments, custom fields, categories included, want to keep this data as well.
もし何らかの理由でアップグレードに失敗したら、サーバとDBを真っ白な状態にして新規にWordPress2.3をインストールして、エクスポートしたデータをインポートする事にする。 If for some reason fails to upgrade the server and a DB as white as the new state WordPress2.3 installed on the export and import data to it. この場合、管理画面で設定した各種設定は消えてしまうのだろうけど、その時はまた設定しよう。 In this case, the control panel is set in various settings disappears, but also set out the time. 気楽にいきます。 At ease.

6.既存システムのバックアップ 6.'s Existing backup system

サーバにアップロードしているWordPressのファイル一式をそのままの構成でダウンロード。 Uploaded to the server WordPress as a set of configuration files for download. 保管しておきます。 Safekeeping.

7.既存wp-config.phpの情報から新wp-config.phpを修正 7. Wp-config.php existing and new information to correct wp-config.php

WordPress2.3をダウンロードして解凍すると、wp-config-sample.phpというファイルが入っているので、既存wp-config.phpの設定情報を元にこのファイルを書き換えます。 WordPress2.3 and download the thaw, wp-config-sample.php in a file because the existing set wp-config.php file this information to modify. そしてwp-config.phpへとリネーム。 And to rename wp-config.php.

8.サーバ上のデータ消去 8. Erase data on the server

さて、ここからが後には戻れない活動。 Now, here is unable to return to work after that. 本当にアップグレードを行うのか、下準備は行ったのかを確認。 Upgrade to a really, I've been under preparation to confirm. ここまでやった方なら躊躇わずいきましょう。 Let躊躇わずwould've done so far. サーバ上のファイル構成は全消去ではなく、wp-content/ ディレクトリのwp-content/uploads/ だけ残すようにする。 On the server rather than erase the entire file structure, wp-content / directory wp-content/uploads / just to leave. ここにはアップロードした写真などが入っているので、後々アップロードしなくても大丈夫なように。 Here you can upload photos and so on, and after having to upload fine. 勿論ファイル構成を全消去して、後からwp-content/uploads/ にバックアップしたファイルたちをアップロードしてもOKです。 Of course, the elimination of all configuration files, after wp-content/uploads / backed up their files and upload them to OK. さぁ消しましょう。 Now消しましょう.

9.WordPress2.3.1のアップロード Upload 9.WordPress2.3.1

解凍してwp-config.phpの修正も完了したWordPress2.3.1をアップロード。 Wp-config.php extracting the modification uploading WordPress2.3.1 also been completed. FTPでさくさく行います。 Saku Saku via FTP.

10../wp-admin/upgrade.phpの実行 Running 10../wp-admin/upgrade.php

upgrade.phpを開くと、アップグレードを行うか聞いてきます。 upgrade.php opened, the upgrade to ask. もし先ほどwp-config.phpの修正を行っていなかったり、ファイルが存在しないとアップグレードを指示するリンクは表示されません。 If you just fix wp-config.php always go on, and upgrade the file does not exist to indicate the link is displayed. ここでアップグレードを行うと、さくっと完了します。 This upgrade is done, SAKUTTO complete.

11.index.php動作確認 Verified 11.index.php

WordPress2.3をインストールしているURLを開きましょう。 WordPress2.3 installed on the URL開きましょう. デフォルトっぽいテーマで記事が表示されたら一安心。 The default theme-ish一安心article appears. ほぼ成功です。 Almost successful. 一応幾つかの記事を辿って文字化けやエラーが表示されていないか確認しましょう。 Some of the articles supposedly辿っgarbled and the error is not sure.

12.諸設定確認 12. Check the settings

無事に管理画面にログイン出来たら特に変更する事は無いく、今までの設定情報を引き継いでいるはずです。出来たらlogin screen successfully manage change, it is not particularly see, it's now set to take over the information for you. ただパーマリンクや日付などの諸設定にエラーや文字化けが無いか確認しましょう。 However, dates and other permanent link configuration errors and make sure there is no garbled.

13.プラグインの設置と動作確認 13. Plug-in installed and tested

今まで使っていたプラグインを1つずつアップロードして有効化してみましょう。 Until plug-in used to upload the one activated. 無事にアップグレード出来ているのなら以前設定した情報を引き継いでいます。 Upgrade done successfully if the information previously set to take over. ただし利用していたプラグインが2.3に対応していないとエラーが表示されるので、その際は変わりのプラグインを探しましょう。 However using a plug-in is not compatible with 2.3 and error, so that you are still探しましょうplug-ins. また2.3からプラグインの更新情報が表示されるようになりました。 The 2.3 plug-in updates to be displayed. 運良く更新版がありますよ~と表示されるプラグインがあれば素直にアップデートしましょう。 Fortunately, you'll see an updated version of the plug-in to see if there is honest to update.

14.テーマのアップロードと動作確認 14. Upload and tested themes

最後に今まで使っていたテーマをアップロードして有効化。 Until the end of the theme used to upload and activate. 以前と変わりない画面が表示されていたら嬉しいところですが、ご存知の通りWordPressの画面表示は様々なPHPを組み合わせているので、個別の記事やカテゴリ、年月別など、いくつかのページでも問題なく表示されているか確認しましょう。 And much earlier screen that I was happy moment, as you know WordPress screen display a variety of PHP because of a combination of the individual article or category, year, month, etc., some have no problem in view of the page Check that.

と言う事で、アスカゼも無事にWordPress ME 2.2からWordPress 2.3へのアップグレードが完了しました! It said, WordPress ME 2.2 ASUKAZE also safe and sound from WordPress 2.3 to upgrade is complete!

おわりに Conclusion

このサイトではWordPressのデフォルト設定をいじってなく、また特に変わっていると感じる使い方をしていないので、上記の流れでアップグレードを行う事が出来ました。 This site has had TENAKU WordPress's default settings, and, especially, feel strange not to use the above trend, it is able to attain an upgrade. ただこのやり方でアップグレードを完全に行えるわけではないです。 The only way to completely upgrade can not. 本来データ保管前にメンテナンスモードにしてアクセスを停止すべきでしょうし、やはりPHPAdminでDBは保管した方が無難です。 Before the original data storage and access to a maintenance mode should stop the DB is still in custody PHPAdmin it would be acceptable. このやり方で成功を保証するものでは無い事をご了承下さい。 In this way to guarantee the success it is not possible to please.
さて、新しいテーマ探しに行かなきゃ。 Now, I have to go looking for a new theme.

Trackback URL Trackback URL

  1. 6 Trackback(s) 6 Trackback (s)

  2. 11 月 3, 2007: minor tranquilizer November 3, 2007: minor tranquilizer
  3. 11 月 3, 2007: とりあえずいっとけ!? November 3, 2007: Flame in the meantime it?
  4. 1 月 23, 2008: sagLog January 23, 2008: sagLog
  5. 2 月 17, 2008: Hakone douraku February 17, 2008: Hakone douraku
  6. 3 月 11, 2008: From caramel factory March 11, 2008: From caramel factory
  7. 4 月 11, 2008: xanoid’s DNA» ブログアーカイブ » またぶっ壊れた。 April 11, 2008: xanoid's DNA »BUROGUAKAIBU» The fucked.

Post a Comment Post a Comment

ASKAZE.COM

Here I'll share my knowledge, discovery and experience related to my hobby and work. Most articles on this site are related to ゴルフ, レストラン, 衝動買い. More Here I'll share my knowledge, discovery and experience related to my hobby and work. Most articles on this site are related to golf, restaurants and impulse buying. More
Find entries : Find entries: