How to Install Odoo 13 on Ubuntu 18.04 | Odoo Installation #installodoo – CBMS Odoo ERP

How to Install Odoo 13 on Ubuntu 18.04 | Odoo Installation #installodoo – CBMS Odoo ERP

15
2 minutes, 56 seconds Read

This video explains step by step guide to installing Odoo 13 in ubuntu 18.04. Odoo 13 is the world’s fastest all-in-one management software. Odoo 13 is user-friendly as well as powerful compared to Odoo 12. #odoo13installation #installodoo

Video Contents:
————————–
00:00 Introduction #odooinstallation
00:38 How to Install Openssh-server fail2ban
01:02 How to Install PostgreSQL
04:55 How to Install Git
07:22 Set Password
11:03 Starting Odoo 13 Service

Step 1: Update your system

sudo apt-get update
sudo apt-get upgrade

Step 2: Secure your server

sudo apt-get install OpenSSH-server fail2ban

Step 3: User Creation

sudo adduser –system –home=/opt/odoo –group odoo_13

Step 4: Configure PostgreSQL

sudo apt-get install Postgresql

sudo su – postgres
createuser –createdb –username postgres –no-createrole –no-superuser –pwprompt odoo_13

Step 5: Installing dependencies for Odoo

Install pip3 by running the below command

sudo apt-get install -y python3-pip

After installing pip3

sudo pip3 install Babel chardet decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 libsass lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycopg2 pydot pyldap pyparsing PyPDF2 pyserial python-dateutil pytz pyusb PyYAML qrcode reportlab requests suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib

In case, if any error occurs during the running of the above command, try the below

sudo pip3 install Babel chardet decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 libsass lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycopg2-binary pydot pyldap pyparsing PyPDF2 pyserial python-dateutil pytz pyusb PyYAML qrcode reportlab requests suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib

Also, install the other dependencies

sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Install wkhtmltopdf and its dependencies using the below command

sudo wget

For installing the dependencies use the below command

sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo apt install -f

Step 6: Clone Odoo from Github

sudo apt-get install git

sudo su – odoo_13 -s /bin/bash

git clone –depth 1 –branch 13.0 –single-branch .

Step 7: Configure Odoo

sudo mkdir /var/log/odoo13

sudo chown odoo:root /var/log/odoo13

sudo cp /opt/odoo/debian/odoo.conf /etc/odoo_13.conf

sudo nano /etc/odoo_13.conf

Alter the configuration file as shown below.

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo_13
db_password = False
xmlrpc_port = 9999
addons_path = /opt/odoo/addons
logfile = /var/log/odoo13/odoo_13.log

Provide ownership for the configuration file to the Odoo user

sudo chown odoo: /etc/odoo_13.conf
sudo chmod 640 /etc/odoo_13.conf

Step 8: Configure Odoo Service

sudo nano /etc/systemd/system/odoo_13.service

Set the content of the file as follows,

[Unit]
Description=Odoo
Documentation=
[Service]
# Ubuntu/Debian convention:
Type=simple
User=odoo_13
ExecStart=/opt/odoo/odoo-bin -c /etc/odoo_13.conf
[Install]
WantedBy=default.target

Provide full access rights to service file

sudo chmod 755 /etc/systemd/system/odoo_13.service
sudo chown root: /etc/systemd/system/odoo_13.service

Step 9: Test Installation

sudo systemctl start odoo_13.service

In order to check the log file

sudo tail -f /var/log/odoo13/odoo_13.log

For making the Odoo service start automatically on boot time

sudo systemctl enable odoo_13.service

For accessing the Odoo 13

If everything is working properly the page will be redirected to Odoo’s database creation page. If you want to change the default port number from 9999 you have to change it in the configuration file.

Read more –

#installodoo13 #odoo13 #odoo
More video, Subscribe to our YouTube channel.

Connect With Us:

➡️Website:
➡️Email : info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

#Install #Odoo #Ubuntu #Odoo #Installation #installodoo

Similar Posts

15 Comments

  1. avatar
    @a7mednor says:

    i get this after i finish

    root@Odoo13_new:~# sudo tail -f /var/log/odoo/odoo.log
    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
    File "/opt/odoo/odoo/sql_db.py", line 186, in _init_
    self._cnx = pool.borrow(dsn)
    File "/opt/odoo/odoo/sql_db.py", line 532, in _locked
    return fun(self, *args, **kwargs)
    File "/opt/odoo/odoo/sql_db.py", line 600, in borrow
    **connection_info)
    File "/usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
    psycopg2.OperationalError: FATAL: role "odoo" does not exist – – –

  2. avatar
    @moodiali7324 says:

    you made a mistake in the name of the user in odoo_13.service, it should be odoo_13 and not odoo as you showed in the video , you also made another mistake in the odoo_13.conf by making the port 9999 while you are asking people to test using 8069 port! i also faced other issues during installation that i had to google

  3. avatar
    @nicolasreyes2190 says:

    FOR PEOPLE BRAINLESSLY COPYING THE DESCRIPTION COMMANDS:
    One line is wrong, it's not sudo chown odoo: /etc/odoo_13.conf,
    is sudo chown odoo_13:/etc/odoo_13.conf
    the name after sudo chown should match your user in the config file

  4. avatar
    @salwamejbri963 says:

    après l'exécution de cette commande" sudo apt-get upgrade" une erreur s'affiche: 55 not fully installed or removed,failed to start odoo.service………………………..E:sub-process /user/bin/dpkg returned an error code(1).Aidez moi svp

Leave a Reply

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