在 Ubuntu Server 16.04 LTS 上安装 Odoo 9
- 
原料: 
 Ubuntu Server 16.04 安装光盘。http://www.ubuntu.com/server
 Odoo 安装脚本 https://github.com/aschenkels-ictstudio/odoo-install-scripts/tree/master/ubuntu-15-04 br />
 安装过程:
 安装根据提示安装 Ubuntu Server 16.04, 注意不可以使用中文语言, 不然会安装失败, 原因未知。
 安装 ssh, 方便远程操作.
 sudo apt-get ssh
 下载安装脚本.
 sudo wget https://raw.githubusercontent.com/aschenkels-ictstudio/odoo-install-scripts/master/ubuntu-15-04/odoo_install.sh br />
 修改安装脚本的权限.
 sudo chmod +x odoo_install.sh
 执行安装
 sudo ./odoo_install.sh
 安装 npm
 sudo apt-get npm
 使用 npm 安装
 sudo npm install -g less less-plugin-clean-css
 安装 nodejs-legacy
 sudo apt-get install nodejs-legacy
 虽然安装成功, 但还是有点疑惑.
 为什么安装脚本中没有 nodejs-legacy?
 npm 系统是没有安装的, 需要安装后才能安装 less-plugin-clean-css.
 如果脚本中的源速度比较慢, 安装也是非常痛苦的.
 原文地址: http://f4nniu.lofter.com/post/45b776_b01c16f
- 
又有一个问题, 打印 pdf 是乱码. 
 安装 xorg 即可.
 参考:
 http://kuo-yi.com/bbs/forum.php?mod=viewthread&tid=40
- 
感谢那位大神帮帮忙~~ 
 用 odoo_install.sh 安装后报了不少错:
 failed to start odoo-server.service: unit odoo-server.service is not loaded properly: invalid argument.
 see system logs and "systemctl status odoo-server.service" for details.
 attribute Error: "Requirement " object has no attribute 'project_ name'
 npm 也无法安装
 nodejs-legacy 可以安装,又来了一边。
 然后发现还无法启动,怎么启动?
