plone環境構築記 その1

plonezope上で動くpythonでかかれたCMSです。
pythonのバージョンがmomonga謹製だと古いのでplone用にpythonを別ディレクトリにいれる。

pythonのインストール
# lftpget 'http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz'
# tar -xvzf Python-2.4.2.tgz
# cd Python-2.4.2/
# ./configure --prefix=/usr/local/stow/python-2.4.2
# make
# sudo make install
# cd /usr/local/stow
# sudo ./bin/stow python-2.4.2
# python -V
Python 2.4.2

pythonの各種モジュールインストール
# lftpget 'http://ftp.python.jp/pub/JapaneseCodecs/JapaneseCodecs-1.4.11.tar.gz'
# tar -xvzf JapaneseCodecs-1.4.11.tar.gz
# cd JapaneseCodecs-1.4.11/
# sudo python setup.py install

# lftpget 'http://www.gembook.jp/html/download/pykf-0.3.4.tgz'
# tar -xvzf pykf-0.3.4.tgz
# cd pykf-0.3.4/
# sudo python setup.py install

Zope2.9.0のインストール
# lftpget 'http://www.zope.org/Products/Zope/2.9.0/Zope-2.9.0.tgz'
# tar -xvzf Zope-2.9.0.tgz
# cd Zope-2.9.0
# ./configure --prefix=/usr/local/stow/Zope-2.9.0 --with-python=/usr/local/bin/python
# make
# sudo make install
# cd /usr/local/stow
# sudo ./bin/stow Zope-2.9.0

Zopeの設定
# sudo adduser zope
# sudo chown -R zope:zope /var/zope
# sudo mkzopeinstance.py
Directory: /var/zope
Username: admin
Password: adminpass
Verify password: adminpass
# sudo su zope
# /var/zope/bin/zopectl start
管理画面
http://localhost:8080/manage
にadmin:adminpassでログイン
propertiesタブで"management_page_charset"をstringで"UTF-8"を追加設定