How To Install OpenERP on Ubuntu
Last Updated on Monday, 26 July 2010 10:47 Written by D Mitchell
How to Install OpenERP 5.0.12 on Ubuntu 10.04
Target Platform: Ubuntu 10.04
Target Database: Postgres 8.4
Target OpenERP release 5.0.12
Target OpenERP User Interface: GTK client
There is the youtube video at the 5.0.10 level that corresponds with the instructions below. . . http://www.youtube.com/watch?v=ReOgF2cPSt8
INSTALLATION AND INITIAL SETUP INSTRUCTIONS
-
Open a Terminal Session
Open Run Application
Type gnome-terminal
A terminal session should now open
-
Make an OpenERP directory
type mdkir openerp
-
Change to the OpenERP directory
type cd openerp
-
Download the OpenERP Files
type wget http://www.openerp.com/download/stable/source/openerp-server-5.0.12.tar.gz
The OpenERP server file should now download.
After that file has finished downloading . . .
type wget http://www.openerp.com/download/stable/source/openerp-client-5.0.12.tar.gz
The OpenERP client file should now download.
-
Unpack the tar file
type tar xfz openerp-server-5.0.12.tar.gz
type tar xfz openerp-client-5.0.12.tar.gz
-
Change to Super User
type sudo -s -H
type password when prompted
-
Get and install additional Python Packages
type apt-get install python-lxml postgresql python-psycopg2 python-pydot python-reportlab python-tz python-matplotlib python-pychart python-hippocanvas
You will be presented with a prompt “Do you want to continue (y/n)?” type y
The packages will be downloaded from the ubuntu archives and installed.
All the packages should install without issue.
SETUP POSTGRES SERVER
-
Setting up Postgres
type su – postgres
type createuser <username> (for example: createuser novapointgroup)
Answer the prompt: “Shall the new role be a superuser? (y/n) type y
At the next postgres prompt type logout
At the next prompt type exit
START THE OPENERP SERVER
-
Change your directory to the openerp-server directory
type cd openerp-server-5.0.12/
type ls
the list of directory contents should now be displayed.
Type cd bin/
type ls
the list of directory contents should now be displayed.
-
Start the OpenERP Server
type ./openerp-server.py
The OpenERP server should now start
START THE OPENERP CLIENT
-
Change directory to the openerp-client directory
type cd openerp-client-5.0.12/
type ls
The contents and files of the directory should now be displayed.
type cd bin/
type ls
The contents and files of the directory should now be displayed.
Type ./openerp-client.py
The OpenERP Survey form should now be displayed.
Fill-in the appropriate information in the fields.
Click “OK”.
A thank you dialog box appears.
Click “OK”.
CREATING A NEW OPENERP DATABASE FROM THE OPENERP CLIENT AND COMPLETING THE INITIAL CONFIGURATION SETUP WIZARD
-
From the menus on the top of the client select the following:
File → Databases → New database
The Create a new database dialog box will now appear.
Type in the following fields . . .
Super Administrator Password: admin
New Database Name: test
Administrator Password: a
Confirm Password: a
Click on the “OK” button.
The system will display the popup box “OpenERP Database Installation” and create an OpenERP database and create the appropriate tables in Postgres.
-
If the database was created successfully the “Database created successfully!” dialog box will appear.
NOTE: Make sure to record your username and passwords somewhere.
Click on the “Connect Now” button.
-
The setup wizard dialog box will be displayed.
Select the “Service Company Profile” or other profile and follow the similar steps below.
Click the “Next” button.
-
The define main company dialog box will be displayed.
Enter your company information on each of the tabs or leave the default information.
Click the “Next” button.
-
A Summary dialog box will appear with your selections.
Click the “Install” button.
OpenERP will now display the OpenERP computing button and load the appropriate modules into the system based on your previous selection.
If successful you will see an Installation Done dialog box.
Click the “Start Configuration” button.
-
You will now see displayed a Next Configuration Step Window. The instructions talk about the simplied versus the extended interface.
Click “Continue”
-
The choose your mode dialog box will be displayed.
Select the Extended Interface option from the selection.
Click the “Set” button.
-
Next you’ll be creating users.
The configuration progress bar should show 20%.
Click the “Continue” button.
A Define New Users Dialog box will be displayed.
Click the “Skip” button.
Note: If you want to add some users to the system besides admin and demo you can do so now if you prefer.
-
Next you’ll define your fiscal year and select your chart of accounts
The configuration progress bar should show 40%.
Click “Continue”
The Create a Fiscal Year Dialog Box will be displayed.
On the Select Chart of Accounts select the country most appropriate to you.
Click the “Continue” button.
-
Next you’ll define the Message for the Overdue Payment Report.
The configuration progress bar should show 60%.
Click “Continue”
The OpenERP – Overdue Payment Report Message dialog box will be displayed.
Type a new overdue payment report message for your company.
Click the “Create” button.
-
The Next Configuration Step Dialog Box will appear.
The configuration progress bar should show 66%.
Click “Continue”
The Install Extra Module dialog box will appear.
Click “Install”
-
The Next Configuration Step Dialog Box will appear.
The configuration progress bar should show 83%. (Generate Chart of Accounts from Chart Template.)
Click “Continue”
The Generate Chart of Accounts from Chart Template dialog box will appear.
Click “Create”
-
The Dialog Box will appear showing the database is now fully configured.
The configuration progress bar should show 100%.
Click “Continue”
If you’ve completed these steps successfully you will now be able to work in the OpenERP Client and use the system. Remember your login information for both admin and demo!!
