Abhishek M.SAug. 28, 2020
After much anticipation, Odoo released the version 13. Odoo 13 last year in Odoo experience and now triggering for Odoo 14. Odoo 14 road-map gets you the glimpse of features in the upcoming Odoo version. To install Odoo 14 on Ubuntu 18.04 LTS you just follow the bellow steps.
sudo apt-get update
sudo adduser -system -home=/opt/odoo -group odoo
sudo apt-get install -y postgresql
sudo service postgresql start
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo
exit
sudo service postgresql restart
sudo apt-get install -y python3-pip
sudo su - odoo -s /bin/bash
pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib
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 sudo python3 -m pip install libsass
sudo su - odoo -s /bin/bash
wget https://nightly.odoo.com/master/nightly/deb/odoo_14.1alpha1.latest.tar.xz
tar xfv odoo_14.1alpha1.latest.tar.xz
cd src
pip3 install -r requirements.txt
sudo vim /etc/odoo-server.conf
[options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = odoo db_password = False logfile = /var/log/odoo/odoo-server.log addons_path = /opt/odoo/src/addons,/opt/odoo/src/odoo/addons
sudo chown odoo: /etc/odoo-server.conf sudo chmod 640 /etc/odoo-server.conf
sudo mkdir /var/log/odoo sudo chown odoo:root /var/log/odoo
sudo vim /etc/init.d/odoo-server
sudo chmod 755 /etc/init.d/odoo-server sudo chown root: /etc/init.d/odoo-server
sudo /etc/init.d/odoo-server start
sudo /etc/init.d/odoo-server stop
sudo /etc/init.d/odoo-server restart
tail /var/log/odoo/odoo-server.log
update-rc.d odoo-server defaults
sudo su - odoo -s /bin/bash python3 /opt/odoo/src/odoo-bin
http://localhost:8069
or
http://0.0.0.0:8069
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
0