Odoo Install Script
sudo wget https://raw.githubusercontent.com/skypc785308/InstallScript/11.0/odoo_install.sh
There are a few things you can configure, this is the most used list:
OE_USER
will be the username for the system user.
OE_PORT
is the port where Odoo should run on, for example 8069.
OE_VERSION
is the Odoo version to install, for example 11.0
for Odoo V11.
OE_SUPERADMIN
is the master password for this Odoo installation.
sudo chmod +x odoo_install.sh
sudo ./odoo_install.sh
# 開啟服務
sudo service odoo-server start
# 關閉服務
sudo service odoo-server stop
# 重啟服務
sudo service odoo-server restart
# 查看服務運行狀態
sudo service odoo-server status