As we all know recently Odoo version 9 has been released. So we all are excited to try it at our end. But for getting easy control over odoo we will provide you installation manual for Odoo 9 on your Ubuntu system. This “How to guide” will allow you to install odoo manually. Just follow below mentioned steps to configure and setup odoo 9 at your end.
Steps to install and configure required packages:
Step 1 : Install required packages and libraries:
Before installation of odoo there are few required packages list that should be installed on linux/Ubuntu distribution before running Odoo Server.
You have to just Copy and Paste below command for packages in the terminal:
Step 2 : Now turn to install and configure Postgres:
Command :
Log in to Azure DevOps and navigate to your project.
sudo apt-get install postgresql
Note: If you will not give any specific postgresql version with above mentioned command it will take automatically version 9.1. If you want to install any specific version of postgresql, you have to write that version.
Example :
odoo@odoo:/$ sudo apt-get install postgresql-9.3
Let’s install PgAdmin by using following command:
Command :
Log in to Azure DevOps and navigate to your project.
sudo apt-get install pgadmin3
The default superuser for PostgreSQL is called postgres. You may need to login as this user first.
Command :
Log in to Azure DevOps and navigate to your project.
sudo su postgres
Example :
odoo@odoo:/$ sudo su postgres
password: ENTER YOUR SYSTEM PASSWORD
Now create PostgreSQL user openerp using the following command:
Command :
Log in to Azure DevOps and navigate to your project.
createuser openerp
Example :
postgres@odoo:/$ createuser openerp
Shall the new role be a superuser? (y/n) y
Note: Make this new user a superuser by writing y. Only then you can create a database using OpenERP Client. In short, openerp is the new user created in PostgreSQL for OpenERP. This user is the owner of all the tables created by OpenERP Client.
Now check the list of tables created in PostgreSQL using following command:
Command :
psql -l
Example :
postgres@odoo:/$ psql -l
You can find the table template1, run the following command to use this table:
Command :
psql template1
Example :
postgres@odoo:/$ psql template1
To apply access rights to the role openerp for the database which will be created from OpenERP Client, use the following command:
Command :
alter role openerp with password 'postgres';
Example :
template1=# alter role openerp with password 'postgres';
ALTER ROLE
Note: "ALTER ROLE" is the message which shows that you have successfully changed password of role named openerp.
To access your database using PgAdmin3, you must configure the database connection as shown in the following figure:
Now let’s start a server by going to the path of your system in terminal where odoo v9 addons and server exist and start odoo server by using:
Command :
./odoo.py
Steps to create a new database:
Step 1:
After starting a server, now open a web browser and in address bar just type localhost:8069 and press enter button.
Step 2 :
It will open a database selector page from where you have to click on 'Manage Databases' button.
Step 3 :
Now you have to click on 'Create Database' button to create a new database.
Step 4 :
It will open a new popup window in which you have to give database name and password of admin user and after that wait for few minutes to create a database.
Step 5 :
After successfully creation of database it will display a home page with all standard odoo addons as below:
Step 6 :
Now install a module of your wish from 'Apps' and enjoy odoo!
For professional paid support, you may contact us at [email protected].
We use cookies to deliver personalized content, analyze trends, administer the site, track user movements on the site, and collect demographic information about our user base as a whole. Accept all cookies for the best possible experience on our website or manage your preferences.
What For?