当前位置: 首页 > 工具软件 > OpenVirteX > 使用案例 >

QuickStart OpenvirteX

章昱
2023-12-01

参考:ubuntu14.04安装OpenVirteX

预准备:

Java 7

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

//自动安装依赖:
sudo apt-get install oracle-java7-set-default

测试:

java -version

javac -version

Maven

之前有过安装过的直接:

sudo apt-get install maven

没有的话,参考:Maven安装

Dongodb

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6

根据环境选择其一:

Ubuntu 12.04:

echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Ubuntu 14.04:

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Ubuntu 16.04:

echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update

sudo apt-get install -y mongodb-org

测试:

mvn -version

安装 & 启动OVX

安装:

git clone https://github.com/OPENNETWORKINGLAB/OpenVirteX.git -b 0.0-MAINT

启动:

sudo service mongod start

sh OpenVirteX/scripts/ovx.sh

2016/12/15

 类似资料:

相关阅读

相关文章

相关问答