Configure Virtual Server as Zope Server
-
Download current version of Python (2.3.5 or later) from http://www.python.org/download/.
wget –P /usr/src/ http://www.python.org/ftp/python/version/Python-version.tgz
-
Unpack and install current version of Python (2.3.5 or later). Using the instructions in README.txt.
tar –zxvf /usr/src/Python-version.tgz
cd /usr/src/Python-version
./configure
make
make install -
Download current version of Zope (2.7.8 or later) from http://www.zope.org/Products.
wget –P /usr/src/ http://www.zope.org/Products/Zope/version/Zope-version-final.tgz
-
Download current version of Zope (2.7.8 or later). Using the instructions in INSTALL.txt.
tar –zxvf /usr/src/Zope-version-final.tgz
cd /usr/src/Zope-version
./configure –-prefix=/usr/local/zope
make
make install -
Create a Zope instance home
/usr/local/zope/bin/mkzopeinstance.py -
Insert zope instance home
Directory: /usr/local/zope/home
Username: <Zope admin>
Password: <password>
Verify Password: <password> -
Open Zope port 8080 in firewall
vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 8080 -j ACCEPT
Restart Iptables
/etc/rc.d/init.d/iptables restart -
Apache Configuration
vi /etc/httpd/conf/httpd.conf<VirtualHost *:80> ServerName intranet.otokoyok.ywso.com ServerAdmin support@1.com.my ServerSignature On <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/(.*) \http://intranet.otokoyok.ywso.com:8080/VirtualHostBase/http/intranet.ot okoyok.ywso.com:80/Weso/VirtualHostRoot/$1 [L,P] </IfModule> </VirtualHost>
-
Add group and user for Zope application server
groupadd zope
useradd zope –M –g zope
chown –R zope.zope /usr/local/zope -
Update Zope configuration file
vi /usr/local/zope/home/etc/zope.confChange effective-user to zope
Eg: effective-user zope -
Update run level script for Zope server
cd /etc/init.d
ln –s /usr/local/zope/home/bin/zopectl zope
cd /etc/rc.d/rc3.d
ln –s /etc/rc.d/init.d/zope S99zope
cd /etc/rc.d/rc5.d
ln –s /etc/rc.d/init.d/zope S99zopeRestart server with shutdown –r now
-
Download current version of Plone ( or later) from
http://www.plone.org/download
wget –P /usr/src/ <download page URL>
-
Unpack and install current version of Python (2.3.5 or later). Using the instructions in README.txt.
tar –zxvf /usr/src/Plone-version.tgz
mv /usr/src/Plone-version/* /usr/local/zope/home/Products/
Restart Zope via Zope Management Interface(ZMI)
http://<<your_host_name>>:8080/manage and login with your Zope ID and Password. At the main interface, please go to Control Panel > Restart -
Add a Plone site from ZMI
Click Root Folder -> Select type to add Plone Site ->click Add
Insert Id -> click Add Plone Site
Restart Zope via ZMI -
Login to the new Plone site with http://<<your_host_name>>:8080/<<your_plone_site_id>>
Glad I just found your wordpress blog through Google.
Found just what I was looking for, thanks =)
Btw, wat plugins are you using??