Tutorial

How To Install and Set Up OpenERP 7.0 on a Debian 7/Ubuntu 13.10 VPS

Published on November 4, 2013
Default avatar

By O.S Tezer

How To Install and Set Up OpenERP 7.0 on a Debian 7/Ubuntu 13.10 VPS

Introduction


OpenERP is probably the most well-known open-source ERP solution that exists today. With over 3000 modules, its capabilities are vast - and so are possible benefits it brings for businesses and organizations. Thanks to its release under the terms of GNU Affero General Public License (AGPLv3), OpenERP is free to use and share.

In this tutorial, we will show you how easy it is to have a running copy of OpenERP 7.0 (its latest stable release) in less than 15 minutes on a Debian/Ubuntu VPS. A minimal level of technical knowledge is all you need to get started!

Note: It is recommended to start with a freshly instantiated VPS in order to prevent any possible issues, due to the large amount of OpenERP dependencies. Do not forget to update and upgrade your system’s default software packages with the following commands after logging on:

aptitude update
aptitude upgrade

Installing and Setting Up OpenERP


Installation Process (~5 minutes)


We will be using a pre-packaged version of the application to install it on our system. This makes things infinitely easier, as it is going to install all the dependencies and set them up correctly to work with OpenERP, thus producing us a clean copy.

Let’s start with adding the download URL (address) to the aptitude repository sources:

echo "deb http://nightly.openerp.com/7.0/nightly/deb/ ./" >> /etc/apt/sources.list

Afterwards, we need to update the list:

aptitude update

Now we are ready to download and install OpenERP and its dependencies!

Note: The OpenERP package itself is not signed, and a cryptographic key is not provided. Therefore, aptitude will warn you that it can not be authenticated, requesting you to install it without verification.

After entering the command below, you will be asked to confirm:

  • The list of packages that are going to be downloaded and installed;
  • The amount of disk space that will be used;
  • And that the openerp package is authentic.

In order to install, run the following:

aptitude install openerp

Note: You will see that the package names are appended with {a}. This means that aptitude package manager will handle their installation (as well as removal) automatically.

Setting up OpenERP (~10 minutes)


We are now ready to get on with setting up our OpenERP installation.

1) Visiting the set up URL

Enter the following URL to your browser, replacing it with your server’s IP address:

http://your_vps_ip_address:8069

Example: http://162.243.69.108:8069

2): Initiating the application database

A screen asking us to create a new database similar to this will appear:

OpenERP First Screen

Let’s fill the form as requested (and make sure to note the information entered for future reference).

We can now continue with clicking the red “Create Database” button and go to the next step.

3): Adding modules and getting familiar

You will notice (on the upper right-hand side) that we are logged in as the Administrator. This means that we have full control to perform any operation desired.

On this second step, we will be choosing the applications we want to use with our OpenERP installation.

Application Install Screen

Click the “Install” button located underneath the name of the application (module) you wish to add. As the Administrator, you can come back to this screen anytime by clicking the “Settings” link, which is normally located on the navigation bar (the dark horizontal bar found atop).

If you need a specific module for your organization, use the search box on the right-hand side by entering your query and following the links that will appear below.

Please note that when you install a module, you will be taken to its management console or setup screen directly after the page finishes loading. You will notice its link appended to the navigation bar as well. Some applications (ex: Point of Sales module) might require you to follow a few steps in order to get started. In that case, just follow the onscreen instructions.

4) Managing users

On the “Settings” panel’s left-hand menu, below the application (module) specific settings, you will find the section to manage your users.

OpenERP User Management

Here you can:

  • Add Users: Just click the red “Create” button.
  • Edit Users: Click on the user “Name” from the list and use the form appearing below.
  • Delete Users: Tick the square box next to user’s name and choose “Delete” from the drop-down menu labeled “More” which will appear next to the “Create” button. You can operate the actions listed under the “More” menu on multiple users at once.

Finally

OpenERP Set up

Our OpenERP installation after:

  • Setting up the database;
  • Installing the modules we wish to use;
  • Switching back to the “Settings” panel from the top menu.

Note the areas marked with red. On the left-hand menu, you will see all the settings of the OpenERP, including the newly added ones of the modules we have installed as explained above.

On top, you will find the menu to switch between applications and the settings panel.

We are fully ready to work with the OpenERP application installed on our VPS.

If you have further questions and would like to learn more, please remember that you can directly refer to the OpenERP Documentation v7.0.

<div class=“author”>Submitted by: <a href=“https://twitter.com/ostezer”>O.S. Tezer</div>

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about us


About the authors
Default avatar
O.S Tezer

author

Still looking for an answer?

Ask a questionSearch for more help

Was this helpful?
 
10 Comments


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

aptitude update aptitude upgrade echo “deb http://nightly.odoo.com/8.0/nightly/deb/ ./” >> /etc/apt/sources.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DEF2A2198183CBB5 aptitude update aptitude install odoo

Worked perfectly. Thank you for this.

Andrew SB
DigitalOcean Employee
DigitalOcean Employee badge
June 13, 2014

@mohit: Not yet, but you can try asking a question in the community:

https://www.digitalocean.com/community/questions/new

Hello,

Any tutorials on how to transfer OpenERP from one server to another?

Regards

did someone manage so solve the connection to DB problem on setup? I get the same as error as @vredir and @softdevsalon

Andrew SB
DigitalOcean Employee
DigitalOcean Employee badge
April 25, 2014

@Andreas Becker

Are you seeing any error messages when you visit http://your.ip.address:8069

It’s possible that you need to create a postgresql user for openerp:

https://doc.openerp.com/install/linux/postgres/#setup-a-postgresql-user-for-openerp

No comments any more form this tutorial writer:

This tutorial is NO MORE WORKING so don’t waste time in it!

Not working at all

we followed the instructions and it seems that the debian package is no working anymore!

root@drop3:~# sudo service postgresql start

  • Starting PostgreSQL 9.1 database server …done.

root@drop3:~# /etc/init.d/openerp start Starting openerp-server: openerp-server.

postgres 1048 0.0 0.0 127776 10148 ? S 02:16 0:00 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf postgres 1050 0.0 0.0 127760 2072 ? Ss 02:16 0:01 _ postgres: writer process
postgres 1051 0.0 0.0 127760 1572 ? Ss 02:16 0:01 _ postgres: wal writer process
postgres 1052 0.0 0.0 128484 2992 ? Ss 02:16 0:00 _ postgres: autovacuum launcher process
postgres 1053 0.0 0.0 96192 1668 ? Ss 02:16 0:00 _ postgres: stats collector process

perfect fully fonctionnal. thx

sudo su - postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

see : http://www.serpentcs.com/serpentcs-how-to-install-openerp-7-0-on-ubuntu-12-04-lts - STEP 3

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Join the Tech Talk
Success! Thank you! Please check your email for further details.

Please complete your information!

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel