How To Install Odoo (ERP) 11.0 On Ubuntu 16.04

1. Connect to SSH and Update the Packages

$ sudo apt-get update
$ sudo apt-get upgrade

2. Download and Install Yenthe Van Ginneken Script

$ cd /home
$ sudo wget

You can also modify the script if you would like with:

$ sudo nano

3. Make Executable File

$ sudo chmod +x

4. Install Odoo 11

$ ./

5. Set Master Password

Open the configuration file:

$ sudo nano /etc/odoo-server.conf

and change the admin_password field with a strong password:

admin_passwd = StrongPassword

6. Verify Odoo Installation

Restart Odoo for the changes to take effect:

$ sudo /etc/init.d/odoo-server restart

To access your Odoo, open your browser and navigate to http://your-server-IP:8069. Initially, you would be asked to create a new database. Once the database is created, you will get redirected to the admin panel from where you can log in as the admin user.

After successfully logging in you can start using your Odoo 11 and configure it to your needs, install additional modules etc.

Note: If using vagrant, modify the line below in Vagrantfile: "forwarded_port", guest: 8069, host: 80

7. (Optional) Setting up a Reverse Proxy

In order to access your Odoo application only by using your domain name, without the port number in the URL, we need to set up Apache as a reverse proxy. First, we will need to enable some additional proxy modules for Apache. You can do this with the following commands:

$ a2enmod proxy
$ a2enmod proxy_http

Once this is done, open a new configuration file for your domain with the following command:

$ sudo nano /etc/apache2/sites-available/your_domain.conf

And enter the following:

<VirtualHost *:80>

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all

ProxyPass /
ProxyPassReverse /
<Location />
Order allow,deny
Allow from all

Enable “your_domain.conf” configuration in Apache using:

$ sudo ln -s /etc/apache2/sites-available/your_domain.conf /etc/apache2/sites-enabled/your_domain.conf

Remember to replace your ‘’ with your actual domain name. Save the file, close it and restart Apache for the changes to take effect:

$ sudo service apache2 restart

That’s it. If you followed all of the instructions properly you can now access your Odoo 11 using your domain name.


How to Speed up Odoo

Install using Nginx (I have not tried this yet)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.