Odoo is a very popular open source suite for enterprise management applications. It is useful for companies of all sizes, the application includes Customer Relationship Management (CRM), Sales Pipeline, Project Management, Manufacturing, Invoicing, Accounting, eCommerce and Inventory. Odoo was formerly known as OpenERP. It was created by Belgium based Odoo S.A. Odoo officially have about 30 core modules which are also called official modules and more than 4500 community created modules. Odoo is licenced under GNU General Public License.
Although Odoo comes with thousands of features but few notable features are.
- Odoo comes with Website Builder, which supports WYSIWYG editor, version control, form builder and Multi Website with an option to add blogs, forum and slide shows.
- Odoo comes with multiple themes and inbuilt e-commerce software.
- Odoo has contract management as well as subscription management features.
- Odoo comes with customizable project management and timesheets options, it has inbuilt Invoicing and Project management features.
- Odoo comes with full featured Accounting software which includes VoIP integration including an option to send mass mailis and links tracking.
- Odoo comes with inbuilt CRM which does accurate forecasting and shows real time overview.
In this tutorial we are going to install latest version of Odoo which is currently 9.0 on CentOS 7.x. Odoo does not require any special minimum hardware requirements but the hardware resources should be increased according to the usability of the application and number of users. You will need a fresh installation of CentOS 7.x.
In this tutorial we will use non root account to execute the commands, if you are logged in as
root user, omit using
sudo commands before all the commands.
The dependencies required by Odoo do not comes with default YUM repository of CentOS, thus you will need to add EPEL repository into your system. Run the following command to do so.
sudo yum install -y epel-release
Now update the installed packages of your system using the following command.
sudo yum -y update
Odoo uses PostgreSQL database to store it's data, you can install PostgreSQL using the following command.
sudo yum install -y postgresql-server
Now initialize the databases using the following command.
sudo postgresql-setup initdb
Now start your PostgreSQL server and enable the server to start at system startup using the following command.
sudo systemctl start postgresql sudo systemctl enable postgresql
Now add Odoo repository into your system using the following command.
sudo yum-config-manager --add-repo=https://nightly.odoo.com/9.0/nightly/rpm/odoo.repo
If you see any error like
-bash: yum-config-manager:: command not found you will need to install
yum-util package using the following command.
yum install -y yum-utils
Now try running the command for adding repository for once again. You should see following output.
adding repo from: https://nightly.odoo.com/9.0/nightly/rpm/odoo.repo grabbing file https://nightly.odoo.com/9.0/nightly/rpm/odoo.repo to /etc/yum.repos.d/odoo.repo
odoo.repo | 155 B 00:00 repo saved to /etc/yum.repos.d/odoo.repo
Now you can install Odoo using the following command.
sudo yum install -y odoo
Now you can start and enable odoo to start at boot time using the following command.
sudo systemctl start odoo sudo systemctl enable odoo
As we now have Odoo installed, you can access it by browsing it using the following URL through browser.
If you can not access the page then probably your firewall is blocking the remote access to the port number
8069. To allow user to connecting to port number
8069 run the following commands.
sudo firewall-cmd --permanent --zone=public --add-port=8069/tcp sudo firewall-cmd --reload
Now you will be able to access the interface to create for Odoo Apps. Once you browse Odoo through browser at port
8069 you will see following interface.
Enter a name for your database you wish to create. Enter the administrator email and password for Odoo management panel. Select your preferred language and country. Select load demonstration data to install the apps using test data, so that you can evaluate the app. If you are installing Odoo for production, please do not select it. Click on Create database and it create a database and user for your Odoo installation. Now login to your administrative management panel where you can install apps as per your requirement.
Enter your recently created user's email and password and click on Log in button, you will see following dashboard.
It is very important that you secure your databases with a master password. To secure your database, log out from the dashboard and click on Manage Databases link from login screen. You will see a list of database you have created with Odoo.
Now click on Set Master Password button. You will see a prompt to enter your master password.
Once master password has been set, your databases are secured from unauthorised access. Now you can login back to the management dashboard and install any application according to your choice. You can always restart Odoo using following command.
sudo systemctl restart odoo
In this tutorial we have installed Odoo 9.0 on CentOS 7.x. You can now successfully deploy Odoo ERP in your server to increase the productivity of your company at no extra cost, as Odoo ERP contains almost every essential tool to run a business.