Vijos依赖项安装(ubuntu16.04)

[TOC]


安装Python 3.5+

sudo apt-get update

sudo apt-get install python3

安装MongoDB 3.0+

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

sudo apt-get update

sudo apt-get install -y mongodb-org

安装Node.js 8.5

首先安装Node.js和npm

sudo apt-get install nodejs

然后安装模块“n”并用它将Node.js升级到8.5版本

npm install -g n

n 8.5

安装RabbitMQ

echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list

wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc |
     sudo apt-key add -

sudo apt-get update

sudo apt-get install rabbitmq-server

你可能感兴趣的:(Vijos依赖项安装(ubuntu16.04))