2007年7月7日

新しいサイト”わーどぷれすっ!”をオープンしました。

今後はWordPress関連の話題は全部このサイトに投稿していきます。プラグイン一覧もこの新サイトに移しましたので、ドウゾよろしくお願いします。

WordPressのアップグレードを簡単に:WP-Manageの巻

Registry First Aid will find these invalid entries and remove them from your registry. With Registry First Aid, your Windows registry will be always clean and correct, helping your programs load faster and speeding up your computer. Fast, easy to use, PC speed testing and benchmarking. PassMark PerformanceTest allows you to objectively benchmark a x blades keygen PC using a variety of different speed tests and compare the results to other computers. Twenty-eight standard benchmark tests are available in six test suites plus there are seven advanced testing windows for custom benchmarking. In addition to the standard tests, there are 7 summary results plus the overall PassMark Rating result. The benchmark results are xilisoft keygen presented as easy to read bar charts so that you dont need to spend hours studying the number to know the result. Timing for the tests is done using high resolution timers, which are accurate to approximately 1 millionth of a second on most PCs. Create professional-quality advertising, sophisticated print designs and electronic documents with PagePlus sims 2 keygen X5, the best-in-class desktop publisher.

WordPressのアップグレードを簡単に:EasyWPUpdateの巻」に引き続き、WordPressを簡単にアップグレードするためのもう一つの方法、「The WordPress Management Suite」をご紹介。機能としてはEasyWPUpdateと同じようにバックアップとアップグレードの両方を実行することができますが、EasyWPUpdateがシェルスクリプトなのに対して、こちらはPHPスクリプトです。とりあえずローカルとDreamHostでテストしたところうまく行きましたが、バージョンとしてはまだ0.1-alpha2(2/3現在)とのことです。

導入前の注意ごと:

  • PHPがセーフモードだと使用できない
  • サーバーによる書き込みを禁止しているDocumentRootにWordPressがインストールされていてると使用できない
  • アップグレード実施後、ファイルのオーナーがサーバーになるのでユーザーによるファイルの変更/削除ができなくなる可能性がある(ただし同梱のchmod.phpを実行すれば回避できる)

導入:

  1. The WordPress Management Suiteよりダウンロード(「Installation」の「Download it as .tar.gz or as .zip file」で.tar.gz か .zipをクリック)
  2. 解凍してwp-manageフォルダごとWordPressのベースディレクトリ(wp-config.phpファイルやwp-contentフォルダのある場所)にアップロード
  3. wp-manage以下のworkディレクトリとそのすべてのサブディレクトリがサーバによる書き込みを許可している事を確認
  4. アップグレード機能を使用する場合、WordPressのベースディレクトリ、wp-config.phpをのぞくすべてのWordPressのファイル、wp-adminとwp-includesディレクトリがサーバによる書き込みを許可している事を確認

実行:

  1. 管理者権限でWordPressにログイン
  2. ブラウザで http://わーどぷれすの場所/wp-manage/のスタート画面を開く(スクリーンショット#1
  3. バックアップを実行するには「Start backup »」をクリック
  4. バップアップが成功するとwp-manage/work/backupにランダムなファイル名の.zipファイルができる(スクリーンショット#2
  5. この.zipファイルはファイル名と場所が分かれば第三者にダウンロードされてしまうので、速やかにダウンロード後、FTP等で削除(もしくは第三者がアクセスできない場所に移動)
  6. アップグレードを実行するにはスタート画面で「Start upgrade »」をクリック
  7. 成功すると「Result:As it seems, everything went smooth.」と表示される(スクリーンショット#3

備考:

  • DreamHostではアップグレード実行時に「It was not possible to retrieve the remote file〜」と表示されてWordPressの最新版(latest.zip)を取得できなかったが、その後の指示に従ってWordPressの最新版のzipファイルをローカルにダウンロード後、ファイル名をlatest.zip としてwp-manage/work/latestにアップロードし、再度「Start upgrade »」を実行したところ成功した。
  • 日本語リソース(ja.mo)を導入済みのWordPress 2.0.xからWordPress 2.1にアップグレードしたところ、wp-includes/languages/ja.moの/languages/がなくなってwp-includes/ja.moとなってしまった。

EasyWPUpdateと比べると以下のような不利な点があります。

  • 複数のWordPressのバックアップ/アップグレードはできない
  • バックアップファイルがWordPressのベースフォルダ(wp-config.phpファイルがある場所)に作成されるため、第三者にダウンロードされる恐れがある(つまりバックアップ実施後、速攻でローカルにダウンロードしてサーバー上のバックアップファイルを削除する必要がある)
This entry was posted in WordPress, WP ヒント. Bookmark the permalink.

2 Responses to WordPressのアップグレードを簡単に:WP-Manageの巻

  1. kurotepu says:

    はじめまして。kurotepuといいます。
    WordPress2.2にアップグレードしなきゃと思っていたところにこの記事、ありがとうございます。
    おかげで簡単にできました。

  2. Pingback: k.now.weblog » Blog Archive » WordPress2.2へアップグレード

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>