From ArchWiki
Revision as of 00:55, 1 August 2009 by Lseubert (talk | contribs) (Reworked outline)
Jump to: navigation, search


This introduction briefly describes Open ERP, its philosophy, and community. The rest of this wikipage details installing and configuring Open ERP on Arch Linux, and also provides additional information about Open ERP documentation, community, and development.

Open ERP is Enterprise Resource Planning software, released under the GPL v3 license, and written in the Python programming language. It features an application server which uses PostgreSQL for its database, along with a standalone GTK-based client, as well as a web-based client. Its design is highly modular, allowing the rapid development of new modules through the Open Object RAD, which extends its functionality.

Open ERP provides a complete integrated ERP solution for small and medium sized business and organizations. It includes financial and analytic accounting, warehouse and inventory management, sales and purchase management, customer and supplier relations management, association management, tasks automation, human resource management, marketing campaign, document management, help desk, e-commerce integration, and point of sale functionality.

All software released by Open ERP is free software. Additionally, Open ERP provides very complete documentation in various electronic formats, as well as hardcopy. A strong support and development community has grown up around Open ERP, providing free technical support, bugfixing, new development, and support services. The company responsible for development of Open ERP earns profits by providing support, training, software development and quality testing, hosting services, and through partnership services with Open ERP consultants.

Installing and Configuring PostgreSQL

The following instructions assume that you have already installed the 'sudo' command on your Arch Linux system. If you have not already done so, go to the sudo Arch Wikipage for more information.

Open ERP uses the PostgreSQL database, which should be installed and configured before installing Open ERP. Follow the instructions in the "Installing PostgreSQL" section of the Arch PostgreSQL Wikipage. Complete these installation instructions, but do not perform any additional configuration from that page. Return to this page for additional configuration steps.

Assuming that you plan to use PostgreSQL and Open ERP on the same machine, you will need to configure PostgreSQL to listen on the localhost machine's 5432 TCP port. (If you need remote access to PostgreSQL over a network, read the following section from the PostgreSQL Arch Wikipage.) As root, open the following configuration file with a text editor:


Search for the following section within the postgresql.conf file:


# - Connection Settings -

#listen_addresses = 'localhost'         # what IP address(es) to listen on;
                                        # comma-separated list of addresses;
                                        # defaults to 'localhost', '*' = all
                                        # (change requires restart)
#port = 5432                            # (change requires restart)

Uncomment the #listen_addresses line, and replace the text 'localhost' with ''. Also, uncomment the #port line. Save the file. When complete, the file should appear as follows:


# - Connection Settings -

listen_addresses = ''          # what IP address(es) to listen on;
                                        # comma-separated list of addresses;
                                        # defaults to 'localhost', '*' = all
                                        # (change requires restart)
port = 5432                             # (change requires restart)

Restart PostgreSQL so that it uses the newly changed conf file, by executing the following command:

sudo /etc/rc.d/postgresql restart

Verify that PostgreSQL is listening on the localhost port 5432 by executing the following command:

sudo netstat -anpt

Within the output from this command, you should find the following line of text, except for the PID number which will very likely be different:

tcp        0      0*               LISTEN      13420/postgres

Next, it is necessary to create a new PostgreSQL user for Open ERP. In this example, the user is 'openerp', but you may create any user name you wish. First, log in as the default PostgreSQL superuser, 'postgres', by executing the following command from the CLI:

sudo su - postgres

Once logged in as postgres, begin the process of creating the 'openerp' user, with the folowing command:

createuser openerp -P

You will first be asked for a password. For highly secure yet easy to remember passwords, consider using a Diceware Passphrase. Re-enter the password as requested. The next three questions should be answered in sequence with n, y, and n. Shall the new role be a superuser? n Shall the new role be allowed to create database? y Shall the new role be allowed to create more new roles? n

Once you are finished answering these questions, type the word 'exit' to log out from PostgreSQL as the postgres superuser.

You may want to edit your /etc/rc.conf file by adding postgresql to the Daemons list, so that PostgreSQL will automatically start up when you boot up your computer.

This completes the installation and setup of PostgreSQL for use with Open ERP under Arch Linux. Additional detailed information about PostgreSQL configuration may be found on the Arch Wikipage for PostgreSQL, and the PostgreSQL Manuals webpage. Also, there is a powerful GUI PostgreSQL Admin tool, pgAdmin, which is available in the Arch repositories.

Installing Open ERP from AUR

Open ERP Server

Open ERP Client

Open ERP Web

Configuring Open ERP

Additional Open ERP Documentation

There are various sources of Open ERP documentation. The best place to start is the Open ERP Documentation webpage. This page links to different online documents, including detailed installation instructions. Additionally, there is an online copy of the book, "Open ERP for Retail and Industrial Management". This copy is also available as a PDF file, and can be purchased in hardcopy form from Open ERP or from Amazon.com. While Open ERP documentation, such as "Open ERP for Retail and Industrial Management" is freely downloadable, it does not come with a free documentation license. Further details about this issue are found on the Open ERP website.

Open ERP Community

The Open ERP Community is centered upon the Open Object website. Open Object is the Python-based Rapid Application Development framework for developing Open ERP modules. Free technical support for Open ERP may be found in the webforums, a mailing list which is linked to the webforums, an IRC channel on freenode.net, an Open ERP wiki, and the Official ERP Documentation webpage. The latest news may be found on Open ERP Planet, while various Open ERP screencasts are provided on Open ERP TV.

Development work is centered upon the Open Object Launchpad page. Developer news and blogs are published on Open Object Planet. There are pages for software downloads, Open ERP module downloads, and development source code downloads.

Open Object RAD