ホーム > WordPress > WordPress 2.7.1

WordPress 2.7.1

2009 年 4 月 24 日

WordPressをsvnで更新できるように設置してみました。
前提としてpublic_htmlの中に設置します。

public_html/wordpress/

1.WordPress本体をチェックアウトします。

$ svn co http://svn.automattic.com/wordpress/tags/2.7.1/ wordpress

2.日本語の言語パッケージをチェックアウトします。

$ svn co http://svn.automattic.com/wordpress-i18n/ja/tags/2.7.1/ wordpress/wp-content/ 
languages
$ cd wordpress/wp-content/languages/messages/
$ cp ja.mo ../
$ cd

3.マルチバイト文字の取り扱いに関する不具合の累積的修正と強化を行うプラグインをダウンロードします。

$ wget http://eastcoder.com/download/wp-multibyte-patch-1.1.2.zip
$ unzip wp-multibyte-patch-1.1.2.zip
$ mv wp-multibyte-patch wordpress/wp-content/plugins/
$ rm wp-multibyte-patch-1.1.2.zip

4.DBの設定を行う。

$ mv wp-config-sample.php  wp-config.php
$ vi wp-config.php

ソースコードの編集

PHP:
  1. // ** MySQL settings - You can get this info from your web host ** //
  2. /** The name of the database for WordPress */
  3. define('DB_NAME', 'wordpress');#DB名を入力する。
  4.  
  5. /** MySQL database username */
  6. define('DB_USER', 'user');#DBのユーザを入力する。
  7.  
  8. /** MySQL database password */
  9. define('DB_PASSWORD', 'passwd');#DBのパスワードを入力する。
  10.  
  11. /** MySQL hostname */
  12. define('DB_HOST', 'localhost');
  13.  
  14. /** Database Charset to use in creating database tables. */
  15. define('DB_CHARSET', 'utf8');#文字コードをUTF8にする。
  16.  
  17. /** The Database Collate type. Don't change this if in doubt. */
  18. define('DB_COLLATE', '');
  19.  
  20. /**
  21. * WordPress Localized Language, defaults to English.
  22. *
  23. * Change this to localize WordPress.  A corresponding MO file for the chosen
  24. * language must be installed to wp-content/languages. For example, install
  25. * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
  26. * language support.
  27. */
  28. define ('WPLANG', 'ja');#jaにして日本語表示にする。

5.ブラウザからアクセスしてセットアップを行う。

http://localhost/wordpress/

ブログのタイトルとメールアドレスを入力してWordPressをインストールを押します。
wordpress1

インストールが完了したら、ユーザ名とパスワードをメモして、ログインを押します。
wordpress2

ユーザ名とパスワードを入力し、ログインを押します。
wordpress3

ログインすると、ダッシュボードが表示されます。WordPressのblogに移動するには、左上のサイトを開くを押します。
wordpress4

blogが正常に表示されればインストールは完了です。
wordpress5

Author: basi Categories: WordPress Tags: , , このエントリをはてなブックマークに登録 Twitter
  1. コメントはまだありません。
  1. トラックバックはまだありません。