365 Bloggy

Technology Blog For Everyone

Active from: Wed, 18 Aug 2021
Favinks recommends these links: Sponsored
365 Bloggy 07/09/2021 · en

How To Run Odoo As An Ubuntu Service ? - Technology Blog For Everyone

If you want to start Odoo, Odoo 13, as an Ubuntu Service then please follow steps which are given in this article. then please follow steps which are given in this article.
https://odooinstallation.blogspot.com/2021/09/how-to-run-odoo-as-ubuntu-service.html

28 views
365 Bloggy 06/09/2021 · en

How To Run Odoo As An Ubuntu Service ? - Technology Blog For Everyone

How To Run Odoo As An Ubuntu Service ?

Run Odoo as An Ubuntu Service



Steps To Start Odoo As An Ubuntu Service
Step 1: Create Startup File
sudo su root -c "echo ‘# !/bin/sh' >> /odoo/odoo-server/start.sh">start.sh">start.sh">start.sh"
sudo su root -c "echo 'sudo -u odoo /odoo/odoo-server/openerp-server --config=/etc/odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf' >> /odoo/odoo-server/start.sh">start.sh">start.sh">start.sh"
sudo chmod 755 /odoo/odoo-server/start.sh">start.sh">start.sh">start.sh
Step 2 : Create init File
cat < ~/odoo-server
#!/bin/sh
### BEGIN INIT INFO
# Provides: odoo-server
# Required-Start: \$remote_fs \$syslog
# Required-Stop: \$remote_fs \$syslog
# Should-Start: \$network
# Should-Stop: \$network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Enterprise Business Applications
# Description: ODOO Business Applications
### END INIT INFO
PATH=/bin:/sbin:/usr/bin
DAEMON=/odoo/odoo-server/odoo-bin
NAME=odoo-server
DESC=odoo-server
# Specify the user name (Default: odoo).
USER=odoo
# Specify an alternate config file (Default: /etc/odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf).
CONFIGFILE="/etc/odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf"
# pidfile
PIDFILE=/var/run/\${NAME}.pid
# Additional options that are passed to the Daemon.
DAEMON_OPTS="-c \$CONFIGFILE"
[ -x \$DAEMON ] || exit 0
[ -f \$CONFIGFILE ] || exit 0
checkpid() {
[ -f \$PIDFILE ] || return 1
pid=\`cat \$PIDFILE\`
[ -d /proc/\$pid ] && return 0
return 1
}
case "\${1}" in
start)
echo -n "Starting \${DESC}: "
start-stop-daemon --start --quiet --pidfile \$PIDFILE \
--chuid \$USER --background --make-pidfile \
--exec \$DAEMON -- \$DAEMON_OPTS
echo "\${NAME}."
;;
stop)
echo -n "Stopping \${DESC}: "
start-stop-daemon --stop --quiet --pidfile \$PIDFILE \
--oknodo
echo "\${NAME}."
;;
restart|force-reload)
echo -n "Restarting \${DESC}: "
start-stop-daemon --stop --quiet --pidfile \$PIDFILE \
--oknodo
sleep 1
start-stop-daemon --start --quiet --pidfile \$PIDFILE \
--chuid \$USER --background --make-pidfile \
--exec \$DAEMON -- \$DAEMON_OPTS
echo "\${NAME}."
;;
*)
N=/etc/init.d/\$NAME
echo "Usage: \$NAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
EOF
Step 3 : Security Init File
sudo mv ~/odoo-server /etc/init.d/odoo-server
sudo chmod 755 /etc/init.d/odoo-server
sudo chown root: /etc/init.d/odoo-server
Step 4 : Start Odoo on Startup
sudo update-rc.d odoo-server defaults
Step 5 : Start Odoo Service
sudo service odoo-server start
Step 6 : Restart Odoo service
sudo service odoo-server restart

28 views
365 Bloggy added a new link on board 19/08/2021 · en
71 views
365 Bloggy added a new link on board 19/08/2021 · en

https://365bloggy.com/odoo-14-installation-on-ubuntu-20-04/

70 views
365 Bloggy 18/08/2021 · en

https://365bloggy.com/odoo-14-installation-on-ubuntu-20-04/

35 views
365 Bloggy 18/08/2021 · en

https://365bloggy.com/odoo-14-installation-on-ubuntu-20-04/

35 views
365 Bloggy 18/08/2021 · en

Odoo 14 Installation On Ubuntu 20.04">20.04">20.04">20.04">20.04">20.04">20.04">20.04

How To Install Odoo 14 In Ubuntu 20.04">20.04">20.04">20.04">20.04">20.04">20.04">20.04 ?
Odoo 14 Installation
Steps For Odoo 14 Installation On Ubuntu 20.04">20.04">20.04">20.04">20.04">20.04">20.04">20.04

There are many ways for Odoo 14 Installation On Ubuntu 20.04">20.04">20.04">20.04">20.04">20.04">20.04">20.04 but here we are giving steps to install using Git Repository.

Step 1 : Update Server

sudo apt-get update
sudo apt-get upgrade -y
Step 2 : Create Odoo User in Ubuntu

sudo adduser -system -home=/opt/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 Python Dependencies

sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi -y
Step 6 : Install Python PIP Dependencies

sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev
sudo -H pip3 install -r https://raw.githubusercontent.com/odoo/odoo/master/requirements.txt
Step 7 : Install other required packages

sudo apt-get install nodejs npm -y
sudo npm install -g rtlcss
Step 8 : Install Wkhtmltopdf

sudo apt-get install xfonts-75dpi
sudo wget wkhtmltox_0.12.6-1.bionic_amd64.deb">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
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 14.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">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf
sudo su root -c "printf '[options] \n; This is the password that allows database operations:\n' >> /etc/odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf"
sudo su root -c "printf 'admin_passwd = admin\n' >> /etc/odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">odoo-server.conf">

339 views
Loading other posts...
No post shared from 365
Likes on post
Delete

Are you sure to delete this post?

All comments and interactions will be deleted permanently.