ubuntu安装ODOO12
方法一:apt安装(需科学上网,不然慢得要死)
#更新系统 apt-get update -y && apt-get upgrade -y #安装支持软件 ##安装wkhtmltopdf wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb ###国内下载地址:wget http://d.xnb.me/file/odoo/wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin #####-------ubuntu18.04安装wkhtmltopdf--------------##### sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo apt-get install -f sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin ####----------------------###### #Ubuntu中安装中文字体: sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf-wqy-microhei #安装数据库postgresql sudo apt-get install postgresql -y #方式1. apt安装odoo ##注:需要科学上网 wget -O - https://nightly.odoo.com/odoo.key | apt-key add - echo "deb http://nightly.odoo.com/12.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list apt-get update && apt-get install odoo #方式2. 用.deb安装包 wget http://d.xnb.me/file/odoo/odoo_12.0.latest_all.deb sudo dpkg -i odoo_12.0.latest_all.deb # this probably fails with missing dependencies sudo apt-get install -f # should install the missing dependencies sudo dpkg -i odoo_12.0.latest_all.deb sudo apt-get install python3-pip sudo apt --fix-broken install sudo apt-get install python3-pip ##安装python3-xlwt sudo pip3 install xlwt ##安装num2words sudo pip3 install num2words
版权声明:
作者:xiaoniba
链接:https://blog.xiaoniba.com/2018/11/29/ubuntu%e5%ae%89%e8%a3%85odoo12/
来源:小泥吧的博客
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论