Installing OIO 1.1.0 in Ubuntu Linux – Breezy.

Installing zope on ubuntu took some time.

To do it with debs: Apt-get the following stuff – can use synaptic (system-administration-synaptic package manager):

  • build-essential
  • python2.3 and python2.3-dev
  • python2.3-xml
  • python2.3-imaging
  • postgresql server and client -use 8.0 version
  • postgresql common
  • postgresql-server-dev
  • libpq-dev
  • zope2.7-psycopgda
  • zope-parsedxml

parsedxml package may be downloaded and installed by simply unpacking it in the usr/lib/zope2.7/lib/python/Products directory


as superuser – sudo su
Create a zopeinstance for yourself.

As su

Give the directory – /home/yourname/oioinstance give the username and password

start the instance
/home/yourname/oioinstance/bin/zopectl fg Everything OK? Ctrl-C to shutdown

ZpsycopgDA in Ubuntu is in /usr/share/zope/Products

then from my INSTANCE_HOME of /home/yourname/oioinstance/Products as sudo

  • sudo ln -s /usr/share/zope/Products/ParsedXML

Start zope and see if these products are available in ZMI

look at
There is a zope.conf file.

Edit zope.conf

Look at this part
%define INSTANCE_NAME zope2.7instance
%define INSTANCE /home/yournamel/zope2.7instance %define ZOPE_NAME zope2.7
%define ZOPE /usr/lib/zope2.7
%define ZOPE_USER zope
%define HTTPPORT 9673

ZOPE_USER has to be postgres.

%define ZOPE_USER postgres
chown -R postgres:postgres /home/yourname/oioinstance and chown -R postgres:postgres var/log/zope2.7/oioinstance

start zope
sudo su postgres

/home/yourname/oioinstance/bin/ zopectl fg

log into the ZMI by opening the browser and localhost:9673/manage
Give the userid admin and the password you used, originally. Add a manager user for your use.


Postgresql 8.0 in Ubuntu can run at startup automatically.
To control postgresql via a GUI interface download pgadmin3 via apt or synaptic and start it by typing pgadmin3 at the prompt in a terminal.Postgresql commands are in


To initialize the database and run the postmaster server do this

sudo su postgres (give you Ubuntu password when asked)

cd /usr/lib/postgresql/8.0/bin

./initdb -D /var/lib/postgresql/data

there will be some happy messages of success!!

From now on to start the postmaster
as postgres
$ cd /usr/lib/postgresql/8.0/bin/
$ ./postmaster -D /var/lib/postgresql/data

You get

LOG: database system was shut down at 2006-04-07 07:56:38 MDT
LOG: checkpoint record is at 0/B68CB8
LOG: redo record is at 0/B68CB8; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 1368; next OID: 17451
LOG: database system is ready
If you want to close it down do Ctrl-C at the terminal

Open another terminal, su to postgres user
cd space enter to go to the home directory of postgres
createdb local_text
createdb publicdb

Or just start pgadmin3
add server from file menu or right clickl on the “servers”
address= localhost
description = pgserver
inital db=template1
need password – clicked
password=type in password with great care :-)

when it appears right click and click connect. Enter password when asked.
Now right click on it and add the databases

Now add OIO

Zope and postgresql are installed and both servers running.

Zope has to be started by postgres user.

Put the in the import directory
sudo su
cd to the import directory
chown -R postgres:postgres OIO
cd OIO

when asked for the zope directory give
when asked for the instance give

login to ZMI, open the acl_user folderadd user oio role as manager with password

close browser

run browser again and login to ZMI
In the root folder import tab and import oio.zexp -will say done!
(Sometimes in certain versions of zope In control panel Products import tab and import oio.zexp -will say done! Now get to the root directory and add an oio instance id=oio}

Refresh browser
click OIO folder in the left panel and get to Properties tab
my_database to publicdb

auto_his_assignments – change to no ( it is set as “yes” by default )

Correct the URL of the base_URL (at the bottom part of web form) as follows
Set the external base and forms URL to the same as above

Set the reports URL to
transaction_URL to
save changes NOW!

Refresh browser
click OIO folder in the left panel and get to
click on define_initial_tables on the right panel
click on the view tab
DONE! should appear.

Refresh browser

navigate to OIO/postgres/initialize/
Click on run_me on the right panel
click on view tab
Some succesfull messages will run with All Done! at the end, and you will be asked to
create first oio user =oio
Done! should appear.

All Done!

close browser

start browser as http://localhost:9673/OIO

2 Responses to “Installing OIO 1.1.0 in Ubuntu Linux – Breezy.”

  1. billyk182 Says:

    Although i reached the part of importing OIO.zexp without problems i get
    ‘The object OIO does not support this operation.’
    i’m using zope2.9 on ubuntu 7.04.

    The only thing i didn’t do is after ./install (
    to run instal_r/install. If i do this my zope fails to start.

    Any clues?

  2. Liquid vitamins supplement body balance Says:

    Liquid vitamins supplement body balance

    Liquid vitamins supplement body balance

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: