There are many way 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 fresh OS. In this how to guide we will explain you how to install Odoo 10 in fresh Ubuntu 16.04 LTS in 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 system, you logged in as a 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
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
- Restart Odoo service : sudo service odoo-server restart