F4NNIU

☑ 2BizBox
☑ Google
☑ Chrome
☑ Dropbox
☑ Everything
☑ STM8S
☑ PADS
☑ AMOBBS
☑ 健身

在 Ubuntu Server 16.04 LTS 上安装 Odoo 9

原料:

  1. Ubuntu Server 16.04 安装光盘。https://www.ubuntu.com/server

  2. Odoo 安装脚本 https://github.com/aschenkels-ictstudio/odoo-install-scripts/tree/master/ubuntu-15-04

安装过程:

  1. 安装根据提示安装 Ubuntu Server 16.04, 注意不可以使用中文语言, 不然会安装失败, 原因未知。

  2.   安装 ssh, 方便远程操作.
      sudo apt-get ssh

  3.   下载安装脚本.
      sudo wget https://raw.githubusercontent.com/aschenkels-ictstudio/odoo-install-scripts/master/ubuntu-15-04/odoo_install.sh

  4.   修改安装脚本的权限.
      sudo chmod +x odoo_install.sh

  5. 执行安装

    sudo ./odoo_install.sh

  6. 安装 npm

    sudo apt-get npm

  7. 使用 npm 安装 

    sudo npm install -g less less-plugin-clean-css

  8. 安装 nodejs-legacy

    sudo apt-get install nodejs-legacy

虽然安装成功, 但还是有点疑惑.

  1. 为什么安装脚本中没有 nodejs-legacy?

  2. npm 系统是没有安装的, 需要安装后才能安装 less-plugin-clean-css.

  3. 如果脚本中的源速度比较慢, 安装也是非常痛苦的.





评论

© F4NNIU | Powered by LOFTER