続いていよいよ Movable Type のインストール。
以前シックスアパートに問い合わせたところ、個人ライセンスでも、
リプレースのためなら一時的に2ヶ所で Movable Type が動くのは
構わないそうだ。
外向きサーバのリプレースを前提に、Movable Type 4.0 をインストールする。
ude:~# cd /home/httpd/cgi-bin/ ude:/home/httpd/cgi-bin# unzip /tmp/MT-4_0-ja.zip -su: unzip: command not found ude:/home/httpd/cgi-bin#unzip がないといわれたので、unzip をインストールする。
ude:/home/httpd/cgi-bin# apt-get install unzip Reading package lists... Done Building dependency tree... Done Suggested packages: zip The following NEW packages will be installed: unzip 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 164kB of archives. After unpacking 348kB of additional disk space will be used. Get:1 http://ftp2.jp.debian.org etch/main unzip 5.52-9 [164kB] Fetched 164kB in 1s (98.3kB/s) Selecting previously deselected package unzip. (Reading database ... 14265 files and directories currently installed.) Unpacking unzip (from .../archives/unzip_5.52-9_arm.deb) ... Setting up unzip (5.52-9) ... ude:/home/httpd/cgi-bin#
ude:/home/httpd/cgi-bin# unzip /tmp/MT-4_0-ja.zip : : inflating: MT-4.0-ja/mt-upgrade.cgi ude:/home/httpd/cgi-bin#
ude:/home/httpd/cgi-bin/MT-4.0-ja# mv mt-static /home/httpd/html ude:/home/httpd/cgi-bin/MT-4.0-ja#
ude:/home/httpd/cgi-bin/MT-4.0-ja# mv /tmp/mt-config.cgi . ude:/home/httpd/cgi-bin/MT-4.0-ja#CGIPath と StaticWebPath は、 www.yamasita.jp から ude.yamasita.jp に書き換えた。
ude:/home/httpd/cgi-bin/MT-4.0-ja# zcat /tmp/ns-mt.mysql.Sun.gz | mysql --user=YYYYYY --password=ZZZZZZ mt ude:/home/httpd/cgi-bin/MT-4.0-ja#(一部伏せ字)
supportディレクトリに書き込みできません。 /home/httpd/html/mt-static/support/dashboard/stats/0/000/001に ディレクトリを作成して、 ウェブサーバーから書き込みできるパーミッションを与えてください。とのこと。
ude:~# cd /home/httpd/ ude:/home/httpd# find html -exec chgrp www-data {} \; -exec chmod g+w {} \; -print : : ude:/home/httpd# find . -type d -exec chmod g+ws {} \; -print : : ude:/home/httpd#これでいいかな?
ude:/home/httpd# crontab -l : : 1,16,31,46 * * * * (cd /home/httpd/cgi-bin/MT-4.0-ja ; tools/run-periodic-tasks) : :
個人ライセンスに違反しないよう、アンインストール
ude:/home/httpd# rm -fr cgi-bin/MT-4.0-ja html/mt-static ude:/home/httpd#cron への登録も削除
|
楽天市場
Amazon Yahoo!ショッピング ソフマップ ツクモネットショプ livedoor デパート ドスパラ |
← LS-GL ハックキット 2.0 MySql のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ Movable Type 4.0 |