[centos-users 898] Re: python の問題
ほりこし
kaz @ ync-net.co.jp
2008年 11月 2日 (日) 10:57:40 JST
私は zope 上の Plone を動かすために Python を2つ入れています。
だいぶん前に 2つめの zope を入れたときのメモ。
################################
# Python 2.3.5 install
################################
$ wget http://www.python.jp/pub/ftp.python.org/python/2.3.5/Python-2.3.5.tgz
$ tar zxf Python-2.3.5.tgz
$ cd Python-2.3.5
$ ./configure --prefix=/opt/python2.3.5
$ make
# make install
# strip /opt/python2.3.5/bin/python*
################################
# JapaneseCodecs-1.4.11 install
################################
$ wget http://www.python.jp/pub/JapaneseCodecs/JapaneseCodecs-1.4.11.tar.gz
$ tar zxfv JapaneseCodecs-1.4.11.tar.gz
$ cd JapaneseCodecs-1.4.11
$ /opt/python2.3.5/bin/python setup.py build
# /opt/python2.3.5/bin/python setup.py install
################################
# Imaging-1.1.6 install
################################
$ wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz
$ cd Imaging-1.1.6
$ /opt/python2.3.5/bin/python setup.py build
# /opt/python2.3.5/bin/python setup.py install
################################
# Zope-2.8.7-final install
################################
$ wget http://www.zope.org/Products/Zope/2.8.7/Zope-2.8.7-final.tgz
$ tar zxfv Zope-2.8.7-final.tgz
$ cd Zope-2.8.7-final
$ sudo mkdir /opt/Zope-2.8.7
$ ./configure --with-python=/opt/python2.3.5/bin/python --prefix=/opt/Zope-2.8.7
$ make
# make install
# adduser zope287
# passwd zope287
# su - zope287
$ /opt/Zope-2.8.7/bin/mkzopeinstance.py
$ vi etc/zope.conf
----------------------------------
# default-zpublisher-encoding utf-8
default-zpublisher-encoding utf-8
----------------------------------
# An HTTP server starts on port 8080.
<http-server>
# valid keys are "address" and "force-connection-close"
# address 8080
address 8081
# force-connection-close on
</http-server>
----------------------------------
$ bin/zopectl --help
$ bin/zopectl status
daemon manager not running
$ bin/zopectl start
. daemon process started, pid=25619
--
ほりこし
centos-users メーリングリストの案内