CentOS6 / Movable Typeの設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*** Movable Typeとは [#g36cbcc8]
- blogツールといえば現時点(2007/10)時点でYahooなどポータ...
そのようなツールが存在しませんでした。そのなかで非常に使...
このMovableTypeなのです。
*** Movable Typeをゲットしよう [#m288ecbe]
- 個人ライセンスですと無料なので、下記のサイトからダウン...
http://www.ecbuyers.com/b2c/catalog/default.php?cPath=28...
*** インストールに必要なもの [#v686a0dd]
- Windowsマシンでも構築することができますが、できればLinu...
- 必要なものは、cgiが動く環境(Webサーバ、Perl)が必要な...
MySQL, PostageSGL, SQLLite, SQLLite2, BerkelyDB
*** 私ならw [#qf3aa3ae]
- MySQLをインストールしました。あと、ImageMagick-perlも
# yum -y install mysql-server
# /sbin/chkconfig mysqld on
# /etc/rc.d/init.d/mysqld start
ImageMagick-perl
# yum -y install ImageMagick-perl
*** Movable Typeのインストール [#p54418ea]
- パッケージをダウンロードしたら適当なディレクトリに転送...
# cd /tmp
# unzip MT-4_0-ja.zip
- web公開ディレクトリに転送し権限を変更します
# mv MT-4.01-ja /var/www/html/mt
# cd /var/www/htm
# chown -R apache:apache mt
- MovableType には実行環境の動作チェックプログラムがある...
http://www.sea-bird.org/mt/mt-check.cgi
*** MySQLの環境セットアップ [#od20eb41]
- データベース環境を設定します。ここでは、mtデータベース...
# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the bu...
mysql> create database mt;
Query OK, 1 row affected (0.01 sec)
mysql> use mysql;
Reading table information for completion of table and co...
You can turn off this feature to get a quicker startup w...
Database changed
mysql> grant usage on mt.* to admin@localhost identified...
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on mt.* to admin@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
*** MovableTypeのconfig [#k04a2cf0]
- さていよいよ大詰めです。~
とりあえずMovaleTypeのconfigをコピーしましょう。
# cd /var/www/html/mt4
# cp -p mt-config.cgi-original mt-config.cgi
- configファイルを編集しましょう。今回データベースは、MyS...
それ以外のデータベース定義部分は、コメントにします。またW...
※データベースの接続情報も、ここで定義します。
# vi mt-config.cgi
# The CGIPath is the URL to your Movable Type directory
CGIPath http://www.sea-bird.org/mt/
# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it ...
# simply remove it or comment out the line by prepending...
#StaticWebPath http://www.example.com/mt-static
StaticWebPath http://www.sea-bird.org/mt/mt-static
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database mt
DBUser admin
DBPassword password
DBHost localhost
*** MovableTypeを動かしてみよう [#e363cff5]
- もう動きますよん♪ 下記のように〜
http://wwww.sea-bird.org/mt/mt.cgi
終了行:
*** Movable Typeとは [#g36cbcc8]
- blogツールといえば現時点(2007/10)時点でYahooなどポータ...
そのようなツールが存在しませんでした。そのなかで非常に使...
このMovableTypeなのです。
*** Movable Typeをゲットしよう [#m288ecbe]
- 個人ライセンスですと無料なので、下記のサイトからダウン...
http://www.ecbuyers.com/b2c/catalog/default.php?cPath=28...
*** インストールに必要なもの [#v686a0dd]
- Windowsマシンでも構築することができますが、できればLinu...
- 必要なものは、cgiが動く環境(Webサーバ、Perl)が必要な...
MySQL, PostageSGL, SQLLite, SQLLite2, BerkelyDB
*** 私ならw [#qf3aa3ae]
- MySQLをインストールしました。あと、ImageMagick-perlも
# yum -y install mysql-server
# /sbin/chkconfig mysqld on
# /etc/rc.d/init.d/mysqld start
ImageMagick-perl
# yum -y install ImageMagick-perl
*** Movable Typeのインストール [#p54418ea]
- パッケージをダウンロードしたら適当なディレクトリに転送...
# cd /tmp
# unzip MT-4_0-ja.zip
- web公開ディレクトリに転送し権限を変更します
# mv MT-4.01-ja /var/www/html/mt
# cd /var/www/htm
# chown -R apache:apache mt
- MovableType には実行環境の動作チェックプログラムがある...
http://www.sea-bird.org/mt/mt-check.cgi
*** MySQLの環境セットアップ [#od20eb41]
- データベース環境を設定します。ここでは、mtデータベース...
# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the bu...
mysql> create database mt;
Query OK, 1 row affected (0.01 sec)
mysql> use mysql;
Reading table information for completion of table and co...
You can turn off this feature to get a quicker startup w...
Database changed
mysql> grant usage on mt.* to admin@localhost identified...
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on mt.* to admin@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
*** MovableTypeのconfig [#k04a2cf0]
- さていよいよ大詰めです。~
とりあえずMovaleTypeのconfigをコピーしましょう。
# cd /var/www/html/mt4
# cp -p mt-config.cgi-original mt-config.cgi
- configファイルを編集しましょう。今回データベースは、MyS...
それ以外のデータベース定義部分は、コメントにします。またW...
※データベースの接続情報も、ここで定義します。
# vi mt-config.cgi
# The CGIPath is the URL to your Movable Type directory
CGIPath http://www.sea-bird.org/mt/
# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it ...
# simply remove it or comment out the line by prepending...
#StaticWebPath http://www.example.com/mt-static
StaticWebPath http://www.sea-bird.org/mt/mt-static
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database mt
DBUser admin
DBPassword password
DBHost localhost
*** MovableTypeを動かしてみよう [#e363cff5]
- もう動きますよん♪ 下記のように〜
http://wwww.sea-bird.org/mt/mt.cgi
ページ名: