Zopeのインストール
CentOS4.4にZopeをインストール。Zopeはhttp://d.hatena.ne.jp/kazuokohchi/20061230に書いたURLにより、2.8系が必要。http://www.zope.org/Products/Zope/2.8.8/Zope-2.8.8-final.tgzから持ってくる。
Zopeのビルド
$ zcat Zope-2.8.8-final.tgz | tar xvof - $ cd Zope-2.8.8-final $ ./configure Configuring Zope installation Testing for an acceptable Python interpreter... Python version 2.3.4 found at /usr/bin/python Python version 2.3.4 found at /usr/bin/python2 Python version 2.3.4 found at /usr/bin/python2.3 No suitable Python version found. You should install Python version 2.3.5 before continuing. $
2.3.5でないとだめといわれてしまう。
再度ビルド
2.3.5でないのでpythonを指定して実行する。
$ ./configure --with-python=/usr/bin/python $ make $ su # make install
zopeユーザでインスタンスを作成
zopeはrootでは実行できないようなのであらかじめ実行ユーザを作成しておく。そのユーザにてインスタンスを作成する。
$ /opt/Zope-2.8/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc. Directory: /home/zope/instance Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: admin Password: Verify password: $