How to setup Odoo 9 (OpenERP) on a CentOS 7 VPS

Odoo (or OpenERP) is one of the best ERP software available. Here is a detailed article on how to setup Odoo 9 on a CentOS 7 VPS server.

1. Log in to your server as root

2. Update your server's software and kernel by running
yum update

3. Install the EPEL repository and wkhtmltopdf
yum install epel-release
yum install fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi

4. Install PostgreSQL database and enable it to start on booting
yum install postgresql-server
postgresql-setup initdb
systemctl start postgresql
systemctl enable postgresql

5. Setup a yum repository for Odoo
nano /etc/yum.repos.d/odoo.repo

and add the following:

[odoo-nightly]
name=Odoo Nightly repository
baseurl=http://nightly.odoo.com/9.0/nightly/rpm/
enabled=1
gpgcheck=1
gpgkey=https://nightly.odoo.com/odoo.key

6. Setup Odoo 9 and enable it to start on booting
yum install odoo
systemctl start odoo
systemctl enable odoo

7. Set an Admin Password
nano /etc/odoo/openerp-server.conf

and uncomment the following:

admin_passwd = YourStrongPassword

8. Restart Odoo. You can then accessing Odoo from http://your.ip.address:8069

systemctl restart odoo

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How am I supposed to install a script?

Usually 99% of the scripts that we have tried before have complete instructions and a special...

How do I enable SSI in my HTML pages?

To take advantage of Server Side Includes (SSI) in your web page, make sure the web page has the...

What is the path to Perl?

One of the first things you must do when configuring a script, is set the correct path to the...

What is the path to SendMail?

Some programs such as the ones, which send email will need to know where the Sendmail program...

What does File Permissions "chmod" mean?

To chmod a file means to set certain permissions.By default, all files uploaded to the server...