Installation
procedure for Production
Install and configuration of database server , POSTGRESQL
Step 1: Double-click on the given deb file & install.
Step 2: Open the terminal – ctrl+alt+(t) and execute the following commands
sudo apt-get install postgresql
sudo su postgres -c 'createuser --createdb --username postgres --no-createrole --pwprompt openerp'
Type your own user password for the database role as - 'postgres'
When it ask’s 'Shall the new role be a superuser?' type – ‘Y’
Step 3: Type 'localhost:8069' in web browser.
Step 4: Click on 'Manage Databases', type in 'admin' as master password, enter a database name, choose a language, a admin password, repeat the same and hit create.
NOTE:
1. Download link - http://nightly.openerp.com/6.1/releases/openerp_6.1-1-1_all.deb
2. To add your custom module
Copy your module to home folder and type the following in terminal
sudo mv your_module_name /usr/lib/pymodules/python2.7/openerp/addons/
sudo chmod 777 /usr/lib/pymodules/python2.7/openerp/addons/your_module_name
Installation procedure for development
For Server/ Pre-install steps
Step 1: Copy the 'OpenERP' folder to your Home folder.
Open the Terminal – ctrl+alt+(t)
Step 2: Enter The following commands in the Terminal
sudo apt-get update
sudo apt-get upgrade
Now it’s ready to start the Open ERP install.
Install the necessary python Libraries for the server
Step 1: Install dependent Python Modules.Open the terminal and execute the commands.
sudo apt-get install python-dateutil python-feedparser python-gdata \
python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 \
python-pybabel python-pychart python-pydot python-pyparsing python-reportlab \
python-simplejson python-tz python-vatnumber python-vobject python-webdav \
python-werkzeug python-xlwt python-yaml python-zsi python-reportlab-acce python-openssl \
python-egenix-mxdatetime python-unittest2 python-mock
Installation of Postgresql
Step 1: sudo apt-get install postgresql
sudo su postgres -c 'createuser --createdb --username postgres --no-createrole --pwprompt openerp'
Type your own user password for the database role as - 'postgres'
When it ask’s 'Shall the new role be a superuser?' type – ‘Y’
Step 2: cd ~/OpenERP/stable6.1/server/
./openerp-server --addons=../6.1/,../openerp-web6.1/addons
Step 3: Type 'localhost:8069' in web browser.
Step 4: Click on 'Manage Databases', type in 'admin' as master password, enter a database name, choose a language, a admin password,repeat the same and hit create.
Note - If you get the error 'no handler found',then go to the folder '6.1' and remove the modules 'stock' and 'mrp' from there and keep them as backup.