How to Install Odoo 13
There are a few different ways to introduce Odoo relying upon the necessary use case. The least demanding and snappiest approach to introduce Odoo is by utilizing their authority APT repositories.If you need to have greater adaptability, for example, running different Odoo forms on a similar framework then you can either utilize docker and docker make or introduce Odoo in a virtual situation.
This guide covers the means fundamental for introducing and arranging Odoo for generation utilizing Git source and Python virtual condition on a Ubuntu 18.04 system.
Odoo Install on Ubuntu 18.04 you just follow the below steps.
Step 1 : Update Server
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get upgrade -y
Step 2 : Create Odoo User in Ubuntu
sudo adduser –system –quiet –shell=/bin/bash –home=/home/odoo –gecos ‘ODOO’ –group odoo
Step 3 : Install PostgreSQL Server
sudo apt-get install postgresql -y
Step 4 : Create odoo user for postgreSQL
sudo su – postgres -c “createuser -s odoo” 2> /dev/null || true
Step 5 : Install Wkhtmltopdf
sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin
Step 6: Install Python Dependencies
sudo apt-get install python3 python3-pip python3-suds -y
sudo apt-get install wget git bzr python-pip gdebi-core -y
sudo apt-get install libxml2-dev libxslt1-dev zlib1g-dev -y
sudo apt-get install libsasl2-dev libldap2-dev libssl-dev -y
sudo apt-get install python-pypdf2 python-dateutil python-feedparser python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests python-passlib python-pil -y
Step 7 : Install Python PIP Dependencies
sudo pip3 install Babel==2.3.4 chardet==3.0.4 decorator==4.0.10 docutils==0.12 ebaysdk==2.1.5 feedparser==5.2.1 gevent==1.3.4 greenlet==0.4.13 html2text==2016.9.19 Jinja2==2.10.1 libsass==0.12.3 lxml==4.2.3 Mako==1.0.4 MarkupSafe==0.23 mock==2.0.0 num2words==0.5.6 ofxparse==0.16 passlib==1.6.5 Pillow==4.0.0 polib==1.1.0 psutil==4.3.1 psycopg2==2.7.3.1 pydot==1.2.3 pyparsing==2.1.10 PyPDF2==1.26.0 pyserial==3.1.1 python-dateutil==2.5.3 pytz==2016.7 pyusb==1.0.0 qrcode==5.3 reportlab==3.3.0 requests==2.20.0 zeep==3.1.0 vatnumber==1.2 vobject==0.9.3 Werkzeug==0.14.1 XlsxWriter==0.9.3 xlwt==1.3.* xlrd==1.0.0
Step 8 : Install other required packages
sudo apt-get install node-clean-css -y
sudo apt-get install node-less -y
sudo apt-get install python-gevent -y
Step 9 : Create Log directory
sudo mkdir /var/log/odoo
sudo chown odoo:odoo /var/log/odoo
Step 10 :Install ODOO
sudo apt-get install git
sudo git clone –depth 1 –branch 13.0 https://www.github.com/odoo/odoo /odoo/odoo-server
Step 11 : Setting permissions on home folder
sudo chown -R odoo:odoo /odoo/*
Step 12 : Create server config file
sudo touch /etc/odoo-server.conf
sudo su root -c “printf ‘[options] \n; This is the password that allows database operations:\n’ >> /etc/odoo-server.conf”
sudo su root -c “printf ‘admin_passwd = admin\n’ >> /etc/odoo-server.conf”
sudo su root -c “printf ‘xmlrpc_port = 8069\n’ >> /etc/odoo-server.conf”
sudo su root -c “printf ‘logfile = /var/log/odoo/odoo-server.log\n’ >> /etc/odoo-server.conf”
sudo su root -c “printf ‘addons_path=/odoo/odoo-server/addons\n’ >> /etc/odoo-server.conf”
sudo chown odoo:odoo /etc/odoo-server.conf
sudo chmod 640 /etc/odoo-server.conf
Step 13 : Now Start Odoo
cd /odoo/odoo-server
./odoo-bin -c /etc/odoo-server.conf
Your odoo instance is up and running.
Go to browser and access your odoo at localhost:8069
No Comments