Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
30380 Visualizzazioni

Hi there, I hope someone can offer some instructions for me. I am trying to install OpenERP on our server, which is a VPS running CentOS (5). I see the detailed instructions are for Ubuntu or Debian and should only take 5 minutes but other Linux types take over 30 minutes.

So I have been trying to go through the step by step directions. So far I have enabled Postgres, installed missing dependencies and uploaded the Linux install files to the public_html directory.

The instructions seem to tell me the next step to install is:

tar -xzf openerp-6.1-latest.tar.gz

cd openerp-6.1-*

sudo python setup.py install

openerp-server

I am asking for help because my only experience installing applications on the web server is .php applications where all I had to do was create a database, upload the application files, then point my web browser to the "install.php" file and the rest was pretty easy. This is foreign to me.

Please help!

Thanks, Jenn

Avatar
Abbandona
Autore

Thank you for your reply.

The problem is, when I try to enter those commands, I get an error message:

[root@vps openerp]# su root ./openerp-server

import: unable to open X server `'. ./openerp-server: line 8: syntax error: unexpected end of file

I am not experienced with using the command line method of installation.

Would the binary build be better for me to use?

Risposta migliore

it's almost same as Ubuntu here you can follow these steps

Install and configure the database server, PostgreSQL

sudo apt-get install postgresql

Then configure the OpenERP user on postgres:

First change to the postgres user so we have the necessary privileges to configure the database.

sudo su - postgres

Now create a new database user. This is so OpenERP has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
Enter password for new role:
* Enter it again: *

Finally exit from the postgres user account:

exit

Install the necessary Python libraries for the server

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi

Download Openerp Server

and extract the file than run the openerp-server

Avatar
Abbandona
Risposta migliore

The instructions seem to tell me the next step to install is...

Then, what exactly the problem is?

If you want to have peace of mind, you may try these binary builds:

nightly.openerp.com/7.0/nightly/rpm/

Avatar
Abbandona
Risposta migliore

If you would like to do an automated installation of Openerp v7.0 on centos 6 you can use this script: http://forum.openerp.com/forum/topic36094.html

Avatar
Abbandona
Autore

Thanks! Will this work on centos 5 too?

Sorry, didn't notice your comment. You must adjunst the epel repo to point to v5, other than that must work with out problems

Autore

Thanks, I didn't see YOUR comment either!. So I have to change the epel repo? So change this line: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm to this: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-5-8.noarch.rpm ? What am I missing?

Post correlati Risposte Visualizzazioni Attività
4
ago 20
20180
2
mar 15
7644
3
gen 16
3639
5
mag 25
3218
2
mag 25
622