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
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:
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.
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:
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.
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.
Here you can:
Our OpenERP installation after:
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.
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.
@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
@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
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