Tổng quan
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
Truy cập
Mở trong trình duyệt: 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.
Các tập tin và thư mục quan trọng
- Odoo home:
/opt/odoo - Odoo source:
/opt/odoo/odoo - Virtual environment:
/opt/odoo/venv - Tệp cấu hình:
/etc/odoo.conf - Custom addons:
/opt/odoo/custom/addons - Dịch vụ Systemd:
/etc/systemd/system/odoo.service - Tệp thông tin xác thực:
/root/.cloudzy-creds
Quản lý dịch vụ
Kiểm tra trạng thái:
systemctl status odoo
Bắt đầu dịch vụ:
systemctl start odoo
Khởi động lại dịch vụ:
systemctl restart odoo
Xem nhật ký:
journalctl -u odoo -f
Odoo Configuration
Tệp cấu hình chính: /etc/odoo.conf
Key parameters:
admin_passwd→ Master passworddb_user→ odooaddons_path→ Core + custom modulesxmlrpc_port→ 8069
Ghi chú bảo mật
For secure deployment, configure:
- Nginx reverse proxy.
- HTTPS.
- Firewall rules limiting access to port 8069.
- Fail2ban or rate limiting protection.