於 Ubuntu 16.04 安裝 odoo 9.0(遠端資料庫)- 安裝篇

You are here:
< All Topics

# on 16.04 LTS you can simply install the package:
sudo apt update
sudo apt -y upgrade

sudo vi /etc/network/interfaces

********************************
auto eth0
iface eth0 inet static
address 192.168.1.241
netmask 255.255.255.0
gateway 192.168.1.254
dns-nameservers 8.8.8.8 8.8.4.4
********************************

sudo adduser –system –home=/home/odoo –group odoo
sudo su – odoo -s /bin/bash
sudo mkdir /var/lib/odoo

sudo su
add-apt-repository “deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main”
wget –quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add –
apt update
apt install postgresql-9.6

wget -O – https://nightly.odoo.com/odoo.key | apt-key add –
echo “deb http://nightly.odoo.com/9.0/nightly/deb/ ./” >> /etc/apt/sources.list
apt-get update && apt-get install odoo

sudo apt-get install -y xfonts-utils xfonts-base xfonts-75dpi libfontenc1 libxfont1 xfonts-encodings

wget https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

config location
/etc/odoo/openerp-server.conf

odoo location
/usr/lib/python2.7/dist-packages/openerp/addons

Previous 於 Ubuntu 14.04 安裝 odoo 8.0
Table of Contents