ภาพรวม
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:
/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.