OpenERP is an open-source enterprise resource planning (ERP) software actively programmed, supported, and organized by OpenERP .It is similar to many open source projects where customized programming, support, and other services are also provided by an active global community and partner network.
OpenERP contains over 700 modules such as sales management, Customer Relationship Management (CRM), warehouse management, association, project management, human resources management, point of sales and around
OpenERP is an open source alternative to SAP ERP, Oracle E-Business Suite, Microsoft Dynamics, Netsuite, Adempiere, Compiere, OFBiz, Openbravo, and other enterprise resource planning software.
OpenERP is an open source full suite of Business software, and is published under the AGPL license.
Why consider Open Source ERP:
Open source ERP gives you every opportunity to prove or disprove its ability to support your company’s ERP needs on a timeline that satisfies your organizational needs. With open source ERP, you do not face the same financial constraints nor do you face the same conflicts of interest as with commercial ERP. Instead, you invest in the appropriate skills and knowledge for your people and processes. Best of all – if open source ERP cannot solve your company’s needs, you can safely justify spending the additional $2K to $5K per person per year for life of your commercial ERP to help drive your organization’s success.
Installing OpenERP on CentOS can be tricky due to the lack of documentations. Most of the documentations are for Ubuntu/Debian distro.
#adduser –system –home=/opt/openerp –group openerp
This is a system user. It is there to own and run the application, it isn’t supposed to be a person type user with a login etc. In Linux, a system user gets a UID below 1000, has no shell (it’s actually /bin/false) and has logins disabled. Note that I’ve specified a “home” of /opt/openerp, this is where the OpenERP server code will reside and is created automatically by the command above.
Installing wget in case it’s not installed
#yum -y install wget
Downloading the epel-release (Extra Packages for Enterprise Linux) and installing the packages
#rpm -ivh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm ( For X86_64)
#rpm –ivh https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm (For i386)
OpenERP requires Python and PostgreSQL to run.
Downloading the PostgreSQL and installing the packages
#rpm -ivh https://yum.pgrpms.org/9.1/redhat/rhel-6Server-x86_64/pgdg-redhat91-9.1-5.noarch.rpm
#rpm –ivh https://yum.pgrpms.org/9.1/redhat/rhel-6-i386/ pgdg-redhat91-9.1-5.noarch.rpm
Installing Packages & Dependencies
#yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz python-matplotlib python-babel python-mako python-dateutil python-psycopg2 pychart pydot python-reportlab python-devel python-imaging python-vobject hippo-canvas-python mx python-gdata python-ldap python-openid python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib python python-devel python-psutil python-docutils make automake gcc gcc-c++ kernel-devel byacc postgresql91-libs postgresql91-server postgresql91 libxslt-devel
#service postgresql-9.1 initdb
#service postgresql-9.1 start
Starting PostgreSQL after every reboot
#chkconfig postgresql-9.1 on
Creating PostgreSQL user and database
#su – postgres -c “createuser –pwprompt –createdb –no-createrole –no-superuser openerp”
Downloading the Python client library for Google data APIs
Unziping and Installing it
#rm -rf gdata-2.0.17.zip
#python setup.py install
Creating runtime directory and log directory and changing the owner to the previous created user
#chown openerp.openerp /var/run/openerp
# chown openerp:openerp /var/log/openerp
Downloading OpenERP, extracting it to a directory called “openerp”, and installing it
#tar -zxvf openerp-7.0-latest.tar.gz –transform ‘s!^[^/]\+\($\|/\)!openerp\1!’
#mv openerp /opt/openerp
#python setup.py install
Copy configuration files from OpenERP directory to their correct destination
#cp openerp-server /usr/local/bin
#cp install/openerp-server.init /etc/init.d/openerp
#cp install/openerp-server.conf /etc
#chmod u+x /etc/init.d/openerp
#chmod 755 /etc/init.d/openerp-server
#chown root: /etc/init.d/openerp-server
#chown openerp: /etc/openerp-server.conf
#chmod 640 /etc/openerp-server.conf
Start OpenERP after every reboot
#chkconfig openerp on
Edit openerp configuration file to add the path of addons and log directory
db_password = Password ( enter the password you used in creating database)
#service openerp start
You should be able to access OpenERP on your server’s IP, port 8069
And you should see a screen like this: