概述
Odoo is installed from source and runs:
- As a systemd service
- Under the dedicated system user
odoo - Using PostgreSQL as database backend
- Inside a Python virtual environment
- Listening on port 8069
访问
在浏览器中打开: http://<SERVER_IP>:8069
First visit opens the Odoo setup wizard.
- Enter the master password from
/root/.cloudzy-creds(admin_passwd). - Complete the form to create the initial database and admin account.
Initial startup may take some time while all components are being initialized and become fully operational.
重要文件与目录
- Odoo home:
/opt/odoo - Odoo source:
/opt/odoo/odoo - Virtual environment:
/opt/odoo/venv - 配置文件:
/etc/odoo.conf - Custom addons:
/opt/odoo/custom/addons - Systemd service:
/etc/systemd/system/odoo.service - 凭证文件:
/root/.cloudzy-creds
服务管理
检查状态:
systemctl status odoo
开始服务:
systemctl start odoo
重启服务:
systemctl restart odoo
查看日志:
journalctl -u odoo -f
Odoo Configuration
主配置文件: /etc/odoo.conf
Key parameters:
admin_passwd→ Master passworddb_user→ odooaddons_path→ Core + custom modulesxmlrpc_port→ 8069
安全注意事项
For secure deployment, configure:
- Nginx reverse proxy.
- HTTPS.
- Firewall rules limiting access to port 8069.
- Fail2ban or rate limiting protection.