概要
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.