I tried to install Odoo version 8 (an open source erp system) under Fedora 20 by using the following script, it worked well.
information source: http://share008.blogspot.hk/2014/11/install-odoo-openerp-on-fedora.html
Odoo is a suite of business applications, organized in 6 groups: front-end applications, sales management applications, business operations applications, marketing applications, human resources and productivity applications.
The installation of Odoo 8 on a Fedora20 should take about ten minutes if you follow the very easy steps described below.
Odoo – Previously known as OpenERP is a powerful, opensource product built in Python and released under the AGPL license, with hundreds of free apps to help in building and customizing our own ERP in very short span of time. It has a very simple and interactive UI that makes it popular among the users. It comes up with many useful and comprehensive apps like CRM, Accounting, E-Commerce, WMS(Warehouse Management System), KMS(Knowledge Management System), IM(Instant Messaging), Purchase, POS, Fleet Management, Payroll, HR, Business Intelligence etc.. and users can choose and install apps as per their requirements to boost their business.Even users can add/edit fields on any page simply by turning on the “Developer Mode” – which makes it easy to customize from front end.
Create the Odoo user that will run the application
sudo useradd openerp -m -s /bin/bash
Step:4
Install and configure the Postgresql DB server
sudo apt-get install postgresql
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
Enter password for new role: ********
Enter it again: ********
exit
Step:5
Install the Odoo server. (Install git in case you don’t have it)
sudo apt-get install git
Switch to Openerp user and check out Odoo source repository where you want
If you are developing a custom module for openerp and its source code is present in a different location, suppose I’m developing a module named import_export which is present in /var/www/projects/ then, in order to load this module along with the other addons of openerp, we have to include this in the addons list of the above config file as :
Once the config file is edited and saved, then we can execute the following commands to check the server actually runs.
sudo su openerp -s /bin/bash
/home/openerp/odoo/openerp-server
If we end up with end up with a few lines eventually saying OpenERP is running and waiting for connections then we are all set. Now just hitCTRL+C stop the server and exit to leave openerp user account.
Step:7
Default ports for Odoo are:
Odoo without IM module(i.e., without psycopg2) : 8069
Odoo with IM module enabled (i.e., with psycopg2) : 8072
Postgresql DB server for Odoo : 5432
Note: IM module is Instant Messaging. To enable this module in Openerp we need to run the server using openerp-gevent which requires the python-psycopg2 library. In this case Openerp server will be run on 8072 port.
But if we don’t want this IM module, then we can run openerp-server instead of openerp-gevent and in that case Openerp server will be run on 8069 port.
We can now run Odoo server in different ways.
1. From supervisorctl:
If you don’t have supervisor process manager, you can install it by:
apt-get install supervisor
Once supervisor is all set, then we need to edit the supervisor.conf file (/etc/supervisor/supervisord.conf) to add Openerp as a program.
If you are developing any custom module and want to keep on updating it each time we restart the server, to reflect your changes, then you need to append -u <your module name> at the end of the command shown above i.e., suppose my module name is import_export then:
Recently, I searched an open source ERP software system for our factory use. Luckily, I found an OpenERP software application system (previous name as TinyERP, now name as Odoo). It is programmed by using Python, a very popular programming tools nowadays. After my preliminary test, I had very width functionality with acceptable performance and easy-to-use. It should be a good software application for SME, and I have to study it in-deep. Read More