Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
30569 Vizualizări

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

Imagine profil
Abandonează
Autor

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?

Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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/

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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

Autor

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?

Related Posts Răspunsuri Vizualizări Activitate
4
aug. 20
20294
2
mar. 15
7839
3
ian. 16
3802
3
iun. 25
2440
5
mai 25
3515