Home > OpenERP v6.0 > Installing OpenERP 6.0 RC2 on Ubuntu 10.10

Installing OpenERP 6.0 RC2 on Ubuntu 10.10

OpenERP v6.0 RC2 has been released last week and I wanted to test it. This is what I did in my Linux Server, which is running Ubuntu 10.10. The first step is install the required packages, which is done either with Synaptic Package Manager or with the command line as follows:

sudo apt-get install python python-psycopg2 python-reportlab python-egenix-mxdatetime \
python-tz python-pychart python-pydot \ 
python-lxml python-vobject python-setuptools

sudo easy_install PyYaml

The next step is download the OpenERP v6.0 RC2 files from the website, which can be done from the OpenERP website or from the command line:

wget \
http://www.openerp.com/download/unstable/source/openerp-server-6.0.0-rc2.tar.gz
wget \
http://www.openerp.com/download/unstable/source/openerp-client-6.0.0-rc2.tar.gz
wget \
http://www.openerp.com/download/unstable/source/openerp-web-6.0.0-rc2.tar.gz

After downloading the files, unpack them (please, do that in a work directory). Unpacking the files will create three directories. The next step is optional, which is testing the server without installing it. This is done as follows:

cd openerp-server-6.0.0-rc2/bin
python openerp-server.py

If you did not get any warning nor error messages, you are ready to install the server. This is done with the following command:

sudo python setup.py install

After installing the server, you will be ready to run it with the command:

openerp-server

The next step is to install the client, which is very similar to installing the server. First we need to check that all the required packages al already installed on the server:

sudo apt-get install python python-gtk2 python-glade2 \
python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas

You can test the client without installing it. This is almost identical to testing the server:

cd openerp-client-6.0.0-rc2/bin
python openerp-client.py

If you did not get any error message and see the client running smoothly, you will be more than ready to install it. This is done with the following command:

sudo python setup.py install

As a final step, if you want to run the client you need to run

openerp-client

from the command line. This is how the client looks like:

I have not installed the web client yet, as soon as I do it I will write about it.

Advertisements
  1. January 3, 2011 at 5:11 pm

    Hi,
    thanks for the clean step-by-step instructions.

    I installed a clean ubuntu 10.10, and do the steps above. However, I can not find the configuration openerp-server.conf file. How should I configure the username of postgres to openerp?

    Thank you.
    OnuR

    • developingmoldeo
      January 3, 2011 at 5:30 pm

      Hi,

      You can find the openerp-server.conf at:

      /usr/local/share/doc/openerp-server-6.0.0-rc2/openerp-server.conf

      You can also do a

      $ find . -iname openerp-server.conf

      Regarding your question on how to set-up a postgresql user, you will find the information you need here:

      http://doc.openerp.com/install/linux/postgres/index.html#setup-a-postgresql-user

      Another option is to install a Postgresql admin tool which lets you do the job, such as pgadmin3

      If you need further help please let me know,

      Gustavo

      • January 3, 2011 at 5:58 pm

        thank you for fast reply.

        I found the file, thanks to you, when I run openerp-server using my regular account, it starts but when client tries to connect it gave the following error:
        “OperationalError: FATAL: Ident authentication failed for user “onur””

        If I guess right, postgre does not allow user to connect. So, should I create a user named “onur”?

        soory for the noob questions…

      • developingmoldeo
        January 3, 2011 at 11:06 pm

        If you are running the server with the onur user, you should create a user named “onur” in Postgresql. Try that and let me know how it goes.

  2. Jerin Raju
    January 4, 2011 at 8:13 am

    Hi,
    How to put a virtual host entry in httpd.conf if i only have the ip address i.e the host name to the server. I tried to put virtual entry but it was displaying apache content.

  3. January 5, 2011 at 5:29 pm

    developingmoldeo :
    If you are running the server with the onur user, you should create a user named “onur” in Postgresql. Try that and let me know how it goes.

    Thank you very much for your help, it worked!

    And I love OpenERP 6.0 RC2, looks more professional and detailed…

    Cheers!

  4. Willy Cornelissen
    March 3, 2011 at 7:27 pm

    Hi!
    Thank you for the precious guide to install openERP v6 on Ubuntu, but I stopped on openerp-client, because I am getting an error message on PyGTK when I try to run the setup:

    Running pygtk-2.22.0/setup.py -q bdist_egg –dist-dir /tmp/easy_install-yuPrKQ/pygtk-2.22.0/egg-dist-tmp-p_Nav4
    **********************************************************************
    Building PyGTK using distutils is NOT SUPPORTED.
    It’s mainly included to be able to easily build win32 installers
    You may continue, but only if you agree to not ask any questions
    To build PyGTK in a supported way, read the INSTALL file

    Build fixes are of course welcome and should be filed in bugzilla
    **********************************************************************
    Not supported, ok [y/N]?

    Anything I answered here abort the installation. Following the steps of your guide, I could not install python-xml, I did not find it on any package source. Does it matter? What do you think about this error?

    Thank you,
    Willy Cornelissen.

  5. Willy Cornelissen
    March 3, 2011 at 8:22 pm

    I am using Maverick Meerkat, 10.10.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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

%d bloggers like this: