Concrete5 5.3.3.1

参照URL

Contents Management Systemには様々なものがある。大きく分けるとBlog系統、Wiki系統、その他になるのだと思われるが、Concrete5はいわゆる「その他」に分類される。

今回は、CMSとしてConcrete5を取り上げて、インストールし、設定してみる。

Concrete5で推奨される環境は

  • Apache + mod_rewrite
  • MySQL : 4.1以上
    • 接続照合順序(Collation)が“utf8_genetal_ci”であること
    • サーバー設定「–lower-case-table-names=0」。これはUNIXなら通常0(ただし、MacOS-Xでは2になる)
  • PHP 5.2.0以上
    • iconv extension
    • PHP cURLサポート
    • PHP Zip
    • eAcceralator
  • PCREサポート
  • Python 2.2以上

となっている。今回の環境では、

  • Lighttpd + lua
  • MySQL 5.0.xx
  • PHP 5.2.xx
    • iconv, curl, zip, eaccelerator
  • PCRE 7.9
  • Python 2.6.xx

で構築を行う。ただし、Apacheのmod_rewrite相当の設定は今のところ明確ではない…。

ともあれ、最小限のインストールに関するメモを以下に。

  • Install
  • PlugIns
  • etc…

Install

まずは、前提条件となる環境を構築する。

今回は、全てpkgsrcで導入したので、そちらを参照。

その後、Concrete5のInstallを行う。

事前準備

  1. MySQL DBを準備する
    1. Server Address: localhost(127.0.0.1)
    2. Database name : c5test
    3. Username : c5test
    4. Password : c5test
    • # mysql -p
      Enter Password:
      Welcome to the MySQL monitor.  Commands end with ; or \g.
      Your MySQL connection id is 19
      Server version: 5.0.67-log Source distribution
      
      Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
      
      mysql> create database concrete5;
      Query OK, 1 row affected (0.01 sec)
      
      mysql> grant all privileges on c5test.* to c5test@localhost identified by 'c5test';
      Query OK, 0 rows affected (0.00 sec)
      
      mysql> flush privileges;
      Query OK, 0 rows affected (0.00 sec)
      
      mysql> exit
      Bye
      #
      
  2. Concrete5をDownload
    • 展開する
  3. permissionの確認
    • chown -R serverowner:servergroup concrete5-Dir
    • chmod u+w concrete5-Dir concrete5-Dir/sitemap.xml
    • chmod +x concrete5-Dir/concrete/libraries/3rdparty/htmldiff.py
  4. PHPの設定確認
    • php.iniの確認
    • default_charset = UTF-8
      mbstring.language = neutral
      mbstring.internal_encoding = UTF-8
      

初期設定

  1. concrete5のURLにアクセス
  2. Install画面が表示されるので以下を設定
    • サイトの設定
      • サイト名 : c5test
      • 管理者メールアドレス : foo@example.com
    • MySQL DB 設定
      • Server Address : localhost
      • MySQL Username : c5test
      • MySQL Password : c5test
      • MySQL DB name : c5test
    • 「Concrete5をインストール」をClick!
  3. Installが完了
    • ユーザー名と管理者名をメモしておき、管理画面から変更するべし。
serverapp/concrete5.txt · 最終更新: 2009/11/07 18:23 (外部編集)
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0