系统:Ubuntu 7.04
内核:2.6.20-16-generic
Plone版本:Plone 3.0.1
Plone下载:http://plone.googlecode.com/files/Plone-3.0.1-UnifiedInstaller.tar.gz
安装过程很简单,因为Plone-3.0.3-UnifiedInstaller已经包含Plone 3.0.1、 Zope 2.10.4、Python 2.4.4.。我们只要为Ubuntu安装GCC就可以了。
1. 更新源:sudo apt-get update
sudo apt-get dist-upgrade
2. 安装build-essential:sudo apt-get install build-essential
3. 安装Plone:sudo ./install.sh standalone
其它需要补充的:
启动Plone:sudo /opt/Plone-3.0.1/zinstance/bin/zopectl start
停止Plone:sudo /opt/Plone-3.0.1/zinstance/bin/zopectl stop
检查Plone状态:sudo /opt/Plone-3.0.1/zinstance/bin/zopectl status
访问地址:http://localhost:8080/Plone
http://localhost:8080/manage
更改访问端口:sudo gedit /opt/Plone-3.0.1/zinstance/etc/zope.conf
# valid keys are "address" and "force-connection-close"
address 8080
# force-connection-close on
# You can also use the WSGI interface between ZServer and ZPublisher:
# use-wsgi on
管理员随机密码:sudo gedit /opt/Plone-3.0.1/zinstance/adminPassword.txt

