Tareq Alam

i have promises to keep and miles to go before i sleep – Robert Frost

Install diffrent version of Plone in same machine on ubuntu and run in different port November 24, 2008

You can install different version of Plone in the same server. The question is how to run more than one zope server at the same time.. Below I am describing how I have installed Plone-2.5.5 and Plone-3.0.6 in same machine.

First we try to install Plone-2.5.5

1. Download the Plone-2.5.5-UnifiedInstaller.tgz frm Here

2. Extract the package.

3. Open terminal– change directory to the extracted folder and type

sudo ./install.sh

it will install the plone 2.5 in /opt/Plone-2.5.5

if you fail .. read the readme.txt file and try to install

4. Edit the file at INSTANCE_HOME/etc/zope.conf

There find this:

…………

<http-server>
# valid keys are “address” and “force-connection-close”
address 8080
# force-connection-close on
</http-server>

…………..

There you can set the address to any port you like ..

then restart zinstance

in browser you can test :

http://localhost:PORT_NUMBER/manage

if PORT_NUMBER IS 8080 then url will be

http://localhost:8080/manage

@@@@@@@@@@@@@##############

Now we will install Plone-3.0.6

1. Download the Plone-3.0.6-UnifiedInstaller.tgz frm here

2. Extract the package.

3. Open terminal– change directory to the extracted folder and type

./install.sh standalone

it will install the plone 3.0.6 in home/user/ folder

if you fail .. read the readme.txt file and try to install

4. Edit the file at INSTANCE_HOME/etc/zope.conf

There find this:

…………

<http-server>
# 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

</http-server>

…………..

There you can set the address to any port you like .. For example I have set it to 7575

Like this:

<http-server>
# valid keys are “address” and “force-connection-close”
address 7575
# force-connection-close on
# You can also use the WSGI interface between ZServer and ZPublisher:
# use-wsgi on

</http-server>

then restart zinstance

in browser you can test :

http://localhost:PORT_NUMBER/manage

if PORT_NUMBER IS 7575 then url will be

http://localhost:7575/manage

Now Both version of Plone is running in your machine..