コマンドラインでのインストール

2012年3月25日 at 2:38

前回の関西の勉強会で紹介いただいたコマンドラインインストール、つまり、コマンドラインからConcrete5をインストールする方法を試してみました。

パラメータの指定に問題があるだろうとは思うのですが、原因がよくわかりません。

# ./install-concrete5.php
--db-server=localhost --db-username=concrete5 --db-password=concrete5 --db-database=c5test
--admin-password=xxxxxx --admin-email=tomo@gmail.com
--site='Test Site'
--core=concrete5.5.1.ja/concrete

を実行(パスワードなどちょっと違いますが)すると、以下のエラーが出ます。

ERROR: Your configuration directory config/ does not appear to be writable by the web server.
ERROR: Your files directory files/ does not appear to be writable by the web server.
ERROR: Your packages directory packages/ does not appear to be writable by the web server.

しかし、以下を実行してもうまくいきません。

# chmod 757 concrete5.5.1.ja/config/
# chmod 757 concrete5.5.1.ja/files/
# chmod 757 concrete5.5.1.ja/packages

なぜでしょう?

タグ: