1. Introduction
In this tutorial, I will learn how to install Odoo 9 on Ubuntu 14.04. The script that you will use is based on the Andre Schenkels encoder, but has been updated and improved.
2. Download script
The first step is to download my script from GitHub and add the code to a new .sh file on your Ubuntu computer, wherever you want to. For example, right under / home. Open the Ubuntu terminal and cd in the directory where you would like to save the script, and then create the file:
sudo wget https:
If you're curious about how the whole code looks and works, you can find it in my Github account.
Now open the file and edit the parameters to your liking:
sudo nano odoo_install.sh
There are a few things you can customize / change to your liking at the top of the script. You can choose whether you want to install Wkhtmltopdf or not, which version you like, where the location is, and most importantly, what is the password for the main administrator. Tip: Always change this for every Odoo installation!
3. Executing the Odoo Installation Executable File
The next step is to make this file executable. Once you have made it executable, you can execute it and everything will be installed automatically. do this with the following command:
sudo chmod +x odoo_install.sh
4. Make sure the script
Now that the code is in your file and the file is executable, you just need to execute it with the following command:
./odoo_install.sh
You will see that the script automatically launches updates, downloads the necessary packages, creates a user, downloads the code from Github, ... Give the script a few minutes to configure and install everything, and in the end you will see something like this: 
You now have a fully functional Odoo V9 on your system! Congratulations. Odoo v9 
5. Additional information
In the script, you saw that it is possible to change the Odoo port (OE_PORT). When youd changes this port number to 8070 in the install script, it will be applied to / etc / your -config-file.conf and this will give you the opportunity to change the default port.
To apply these changes, you must do the following:

-c will change the configuration and remember what you changed in / etc / your -config-file.conf. Since my port was set to 8070, this tells Odoo that it should work on port 8070. When you now open your browser and go to http: // localhost: 8070 / you will see that it works there: Odoo V9 alternate port