|
|
|
VineLinux4.0にWordPressをインストールしてみた |
|
Writte by Administrator
|
|
2008/03/04 火曜日 02:41 |
ブログを始めよう!ということで、WordPressをインストールしてみた。 WordPressとはオープンソースで開発が進められているブログで、 自分のサーバーにインストールして使うことが出来る。
今回、これをVineLinux4.0にインストールしてみた。
[WordPress] http://wordpress.xwd.jp/
まずはダウンロード。
# wget http://osdn.dl.sourceforge.jp/wordpress/27093/wordpress-me223.zip
|
展開。
# unzip wordpress-me223.zip
|
解答ファイルを公開ディレクトリにコピー。
# cp -fr wordpress-me223/* ../public_html # chmod 777 ../public_html (ウィザードで設定ファイルを書き出してくれるので、パーミッションを 変更しておく)
|
データベースの設定。
# mysql -u root # create database wk (今回データベース「wk」で作成) # GRANT ALL PRIVILEGES ON *.* TO user@localhost IDENTIFIED BY 'password' WITH GRANT OPTION (ユーザの作成)
|
ここまで終わったら、公開ディレクトリにアクセスしてみる。
http://hoge.hoge.com/wordpress/ (あくまで自分の設置したパスへアクセスすること)
あとはウィザードに沿って進めるだけ。簡単!!
ここで、自分の環境だと文字化けが起こってしまった。 ということで、念のために回避策を。
公開ディレクトリ直下で、「.htaccess」ファイルを作成
# vim .htaccess (以下記述内容) php_value default_charset UTF-8 php_value mbstring.language neutral php_value mbstring.internal_encoding UTF-8 php_flag mbstring.encoding_translation OFF php_value mbstring.http_input auto php_value mbstring.http_output pass
|
以上で無事設置することができた。
Add as favourites (55) | Quote this article on your site | Views: 1654
|
|
|
|
|
|
|
|
|
|
|
- Please keep the topic of messages relevant to the subject of the article.
- Personal verbal attacks will be deleted.
- Please don't use comments to plug your web site. Such material will be removed.
- Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
- Keep in mind that the above process only applies if you simply entered the wrong security code.
|
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |
|
Update ( 2008/03/04 火曜日 02:56 )
|
|