Ubuntu14.04安装Ryu控制器

来源:互联网 发布:知恩感恩手抄报 编辑:程序博客网 时间:2021/01/23 06:22

//安装Git

sudo apt-get update

sudo apt-get install git

//安装依赖 

sudo apt-get install Python-pip build-essential python-dev libxml2-dev libxslt1-dev python-paramiko python-webob python-routes

//升级 pip six 不然会报错

sudo pip install -U pip six oslo.config==3.0.0 eventlet msgpack-python

//然后用pip安装Ryu

sudo pip install ryu

//或者用源码安装

git clone git://github.com/osrg/ryu.git

cd ./ryu

python ./setup.py install

//安装完成

//使用pip安装,ryu文件夹在/usr/local/lib/python2.7/dist-packages/

//运行ryu

ryu-manager

原创粉丝点击