# Apply any patches and make sure your Ubuntu server is accessing the Internet
โค้ด: เลือกทั้งหมด
sudo apt-get update
sudo apt-get dist-upgrade
# reboot your server
โค้ด: เลือกทั้งหมด
sudo reboot
# install postgres
โค้ด: เลือกทั้งหมด
sudo apt-get install postgresql
# change over to the postgresql to set permissions on our development user
โค้ด: เลือกทั้งหมด
sudo su - postgres
โค้ด: เลือกทั้งหมด
createuser --createdb --username postgres --pwprompt odoodev
-------------------------------------------------------
ติดตั้ง Package ทั้งหมดที่จำเป็นสำหรับ Odoo 9
โค้ด: เลือกทั้งหมด
sudo apt-get install python-cups python-dateutil python-decorator python-docutils python-feedparser python-gdata python-geoip python-gevent python-imaging python-jinja2 python-ldap
sudo apt-get install python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib
sudo apt-get install python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing
sudo apt-get install python-pypdf python-reportlab python-requests python-simplejson python-tz python-unicodecsv
sudo apt-get install python-unittest2 python-vatnumber python-vobject
sudo apt-get install python-werkzeug python-xlwt python-yaml wkhtmltopdf
sudo apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less geoip-database-contrib
โค้ด: เลือกทั้งหมด
sudo apt-get install git openssh-server graphviz ghostscript \
python-dateutil python-feedparser python-matplotlib \
python-ldap python-libxslt1 python-lxml python-mako \
python-openid python-psycopg2 python-pybabel python-pychart \
python-pydot python-pyparsing python-reportlab python-simplejson \
python-tz python-vatnumber python-vobject python-webdav \
python-werkzeug python-xlwt python-yaml python-imaging \
gcc python-dev mc bzr python-setuptools python-babel \
python-feedparser python-reportlab-accel python-zsi python-openssl \
python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock \
python-docutils lptools make python-psutil python-paramiko poppler-utils \
python-pdftools python-scipy python-decorator python-requests python-pyPdf \
antiword postgresql postgresql-client postgresql-server-dev-9.3
-------------------------------------------------------
ดาวน์โหลด โปรแกรม Odoo เพื่อใช้งาน
โค้ด: เลือกทั้งหมด
git clone https://www.github.com/odoo/odoo --depth 1 --branch 9.0 --single-branch .