Академический Документы
Профессиональный Документы
Культура Документы
• Atul Arvind
https://atularvind.com/install-odoo-10-in-ubuntu/ 1/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
O
Atul Arvind
doo 10 is released on 5th Oct 2016, this page will guide you to install Odoo 10 in ubuntu 16.04 LTS. There
Home About Blog
can be many blogs and several ways to install the odoo, this page will help you to install odoo manually.
Prepare Ubuntu
Make sure you have sudo access or logged in as root. to log in as a root you need to run below command and
provide the system password.
sudo su
We will update the ubuntu with the latest version of the packages and perform the function of the upgrade.
below command will do that for you.
https://atularvind.com/install-odoo-10-in-ubuntu/ 2/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
psql --version
Now depending on the version you need to install postgresql-server-dev, if your version is 9.5.3 then 9.5 and if
9.4.0 then 9.4, run the below command
After installing odoo we will create user “odoo” in Postgres, for that you need to log into Postgres rst using
su postgres
and after that create Postgres user for odoo 10, it will prompt for the password of the new user.
In order to run the Odoo, you need several packages & python libs installed in ubuntu.
Atul Arvind
sudo apt-get install wget git python-pip python-dev gdebi-core \
Home About Blog
Now we will install the python libs which is required by the odoo 10. for that we will fetch the requirement.txt
le from the GitHub odoo 10 branch raw source and install using the pip(python package management
system). below command will do that for you.
Install wkhtmltopdf
wkhtmltopdf is required in odoo to print the reports. depending on your OS bit you can install wkhtmltopdf for
odoo 10.
How do I check if I have a 32-bit or a 64-bit OS?
uname -i
https://atularvind.com/install-odoo-10-in-ubuntu/ 4/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
After getting the source change the permission for the odoo source using
https://atularvind.com/install-odoo-10-in-ubuntu/ 5/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
nano /etc/odoo/odoo-server.conf
Atul
andArvind
change the parameters according to your system Home About Blog
[options]
; This is the password that allows database operations:
admin_passwd = suerp@dmin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = Postgr3s_odoo_passw0rd
addons_path = /opt/odoo/addons
ATUL ARVIND
Place init script
RECENT POSTS PAGES TAGS
Init script is used to start and stop the odoo server with proper con guration. we will copy the init le place it
Hello, I am a Odoo Setup
into /etc/init.d/ Linux Odoo
using Home Development Linux Odoo
DAEMON=/opt/odoo/odoo-bin
https://atularvind.com/install-odoo-10-in-ubuntu/ 7/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
for the rst time, you will see database manager to create your rst database.
Now stop the server using
And check the log le again to make sure odoo has stopped properly.
reboot your server and check for the odoo service using ps -ax | grep odoo.
you can also con gure odoo with Nginx or apache to make it work with your domain.
Give me a comment if you stuck at any point, I will be happy to help you & revert back to you as soon as
possible.
https://atularvind.com/install-odoo-10-in-ubuntu/ 8/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
Next Post
4 Comments
mohannad Reply
February 6, 2017 at 11:02 am
hello
I would like to say great tutorial.
but I have a small problem, the master password does not use the password in the con g le and
https://atularvind.com/install-odoo-10-in-ubuntu/ 9/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
Hello Mohannad,
admin_passwd = master@admin@password?
in the con g le? have you checked the permission to the con g le?
Hello Atul, It was a very good stu . But unfortunately, I am facing an error while starting the server
using the command (sudo /etc/init.d/odoo-server start), which says, failed
(root@CISM509:/etc/odoo# sudo /etc/init.d/odoo-server start
https://atularvind.com/install-odoo-10-in-ubuntu/ 10/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
failed!
). I have already checked the le in the directory, le are also there, I am not able to understand what’s
wrong here. Please help me.
There are many ways to install Odoo, you can install Odoo manually by running one by one command,
see the article here : https://tech.heliconia.in/insight/odoo/install-odoo-10-in-ubuntu-16-04-lts/
Leave a Reply
https://atularvind.com/install-odoo-10-in-ubuntu/ 11/12
8/20/2017 Install Odoo 10 in Ubuntu 16.04 LTS? • Atul Arvind
SUBMIT COMMENT
https://atularvind.com/install-odoo-10-in-ubuntu/ 12/12