Skip to content

Configuring Virtual Server As Zope Server

Configure Virtual Server as Zope Server

  1. 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

  2. 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

  3. 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

  4. 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

  5. Create a Zope instance home
    /usr/local/zope/bin/mkzopeinstance.py

  6. Insert zope instance home
    Directory: /usr/local/zope/home
    Username: <Zope admin>
    Password: <password>
    Verify Password: <password>

  7. 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

  8. 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>
  9. Add group and user for Zope application server
    groupadd zope
    useradd zope –M –g zope
    chown –R zope.zope /usr/local/zope

  10. Update Zope configuration file
    vi /usr/local/zope/home/etc/zope.conf

    Change effective-user to zope
    Eg: effective-user zope

  11. 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 S99zope

    Restart server with shutdown –r now

  12. Download current version of Plone ( or later) from

    http://www.plone.org/download

    wget –P /usr/src/ <download page URL>

  13. 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

  14. 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

  15. Login to the new Plone site with http://<<your_host_name>>:8080/<<your_plone_site_id>>

Categories: Lesson, Linux, Server, Solution, Web Hosting.

Comment Feed

One Response

  1. Glad I just found your wordpress blog through Google.

    Found just what I was looking for, thanks =)

    Btw, wat plugins are you using??



Some HTML is OK

or, reply to this post via trackback.