我在http://www.gotodoo.com的帮助下安装了Odoo。在Ubuntu16.04中安装Odoo9.5之后,当在浏览器中运行localhost:8069时,它将返回:
500 Internal server error
The server encountered an internal error and was unable to complete your request.
Either the server is overloaded or there is an error in the application.
如何在我的Ubuntu上安装Odoo?
发布于 2017-11-26 14:54:56
您还可以使用bash脚本轻松安装Odoo。
sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_install.sh
您可以配置一些东西,这是最常用的列表:
OE_USER将是系统用户的用户名。如果不希望安装INSTALL_WKHTMLTOPDF,则将其设置为False;如果要安装Wkhtmltopdf,则应将其设置为True。
OE_PORT是Odoo应该运行的端口,例如8069。
OE_VERSION是要安装的Odoo版本,例如用于Odoo V11的11.0。
IS_ENTERPRISE将在11.0之上安装企业版,如果您将其设置为True,则将其设置为False (如果您希望使用Odoo 11的社区版本)。
OE_SUPERADMIN是此Odoo安装的主密码。
sudo chmod +x odoo_install.sh
sudo ./odoo_install.sh
有用的命令:
启动odoo服务器
sudo /etc/init.d/odoo-server start
重新启动odoo服务器
sudo /etc/init.d/odoo-server restart
停止odoo服务器
sudo /etc/init.d/odoo-server stop
如果您希望看到更多有用的命令运行:sudo /etc/init.d/odoo-server -h
https://askubuntu.com/questions/980034
复制相似问题