Secure Email Services

Setelah penulis melakukan riset instalasi Odoo 14 di berbagai platform Linux mulai dari Centos, Fedora dan Ubuntu maka penulis mendapati bahwa untuk kebutuhan jangka panjang maka platform paling untuk melakukan instalasi Odoo ERP adalah Ubuntu. Untuk proses instalasi Ubuntu silahkan membaca artikel di https://www.proweb.co.id/articles/ubuntu/live-server-20-04.html .

Instalasi Odoo 14 pada Ubuntu server secara garis besar adalah:
1. Instalasi PostgreSQL
2. Instalasi wkhtmltopdf
3. Instalasi Odoo
4. Start Odoo
5. Check Odoo
6. Seting awal
7. Enable Odoo

Detail Instalasi Odoo 14 pada Ubuntu server adalah

  1. Instalasi PostgreSQL
    #sudo apt install postgresql -y
  2. Instalasi wkhtmltopdf
    #sudo apt install wkhtmltopdf
  3. Instalasi Odoo
    # wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
    # echo "deb http://nightly.odoo.com/14.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
    # apt-get update && apt-get install odoo
    Setting up odoo (14.0.20210503) ...
    Created symlink /etc/systemd/system/multi-user.target.wants/odoo.service → /lib/systemd/system/odoo.service.
    
  4. Start Odoo
    # systemctl start odoo
  5. Check Status Odoo, pastikan berhasil
    # systemctl status odoo
    ● odoo.service - Odoo Open Source ERP and CRMLoaded: loaded (/lib/systemd/system/odoo.service; enabled; vendor preset: enabled)
    Active: active (running) since Mon 2021-05-03 08:17:29 UTC; 2min 28s ago
    Main PID: 17781 (odoo)
    Tasks: 4 (limit: 4619)
    Memory: 59.8M
    CGroup: /system.slice/odoo.service
    └─17781 /usr/bin/python3 /usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log
    May 03 08:17:29 odooku systemd[1]: Started Odoo Open Source ERP and CRM.
    

    6. Seting awal di https://ip:8069




    7. Enable Odoo
    # systemctl enable odoo
    Synchronizing state of odoo.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable odoo

Contoh konfigurasi Odoo:

#cat /etc/odoo/odoo.conf
[options]
addons_path = /usr/lib/python3/dist-packages/odoo/addons
admin_passwd = $pbkdf2-sha512$25000$HuM8B2DMmbP2/t.b8x7DuA$d9VgIJcb8h2IsG2OlkNKXdGuxj3o.13CTv5.7GLtIIkH4JU5WGtH58HJ4m8FeU4qVuLNIR0q3Y5CRmw0PbwJkg
csv_internal_sep = ,
data_dir = /var/lib/odoo/.local/share/Odoo
db_host = False
db_maxconn = 64
db_name = False
db_password = False
db_port = False
db_sslmode = prefer
db_template = template0
db_user = odoo
dbfilter =
demo = {}
email_from = False
geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb
http_enable = True
http_interface =
http_port = 8069
import_partial =
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
limit_time_real_cron = -1
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = /var/log/odoo/odoo-server.log
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = False
osv_memory_count_limit = False
pg_path =
pidfile =
proxy_mode = True
reportgz = False
screencasts =
screenshots = /tmp/odoo_tests
server_wide_modules = base,web
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_enable = False
test_file =
test_tags = None
transient_age_limit = 1.0
translate_modules = ['all']
unaccent = False
upgrade_path =
without_demo = False
workers = 0

Catatan pada konfigurasi di atas
a. Perhatikan addons_path = /usr/lib/python3/dist-packages/odoo/addons, ini merupakan lokasi di mana modul-modul diinstall
b. Seting proxy_mode = True karena SSL sudah diaktifkan seperti dibahas di https://www.proweb.co.id/articles/odoo/aktifkan-https.html .

Informasi lebih lanjut silahkan mengunjungi
1. https://www.odoo.com/documentation/14.0/setup/install.html#debian-ubuntu .
2. https://www.odoo.com/documentation/14.0/setup/deploy.html .

Kunjungi www.proweb.co.id untuk menambah wawasan anda.

Instalasi Odoo 14 pada Ubuntu Server
× Ada yang dapat saya bantu ?