There are many ways to install Odoo, you can install Odoo manually by running one by one command, it will help you to understand the Odoo process and when you do not have a fresh OS. In this how-to guide, we will explain to you how to install Odoo 10 in fresh Ubuntu 16.04 LTS in the easiest way.
Once you get the OS you can follow below steps to Install Odoo.
In order to install odoo, 10 make sure you have sudo access or in the system, you logged in as root. if not then run below command.
Update the Ubuntu Server. below command will update the latest version of the packages and perform the function of the necessary server upgrade.
sudo apt-get update && sudo apt-get dist-upgrade
We will be using most robust Odoo Install script created by @Yenthe666 from GitHub. Below command will get the script on your /tmp directory and download the script in it.
cd /tmp && sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/10.0/odoo_install.sh
Step 4 *:
This step is for the user who wanted to install the Odoo Enterprise edition, By default this script will install Odoo 10 community edition if you wanted to install community edition skip this step. but to install Odoo 10 Enterprise edition you need to edit the script. We will be using nano editor to edit the file.
sudo nano odoo_install.sh
and find the
and replace it with
after editing the file you can save and close the file using key Ctrl + x . press y and press Enter. this step will make your script odoo enterprise ready.
Now you need to change the odoo_install.sh file executable using below command.
sudo chmod +x odoo_install.sh
Note: if you are installing Odoo Enterprise Edition, this script will ask for your Github credential, make it handy before proceeding to this step.
Now you can run the script right away using the below command.
The Odoo Install script will automatically do all the process which is required to install the Odoo. and that’s it.
Once the Odoo installation is finished odoo will run by default on 8069 port, get your public public ip address and run on you browser with
You will see Odoo database manager, create your first database to get started.
Below is the Standard Odoo installation details.
- Service Name : odoo-server
- Default Port : 8069
- PostgreSQL User : odoo
- Code Location : /odoo
- Default Addons Location : /odoo/odoo-server/addons
- Custom Addons Directory : /odoo/odoo-server/custom/addons
you can start stop and reload odoo service using below command.
- Start Odoo service : sudo service odoo-server start
- Stop Odoo service : sudo service odoo-server stop