Skip to content

Instantly share code, notes, and snippets.

@olegslavkin
Created February 13, 2016 12:46
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save olegslavkin/e01ccc1835396402dc2f to your computer and use it in GitHub Desktop.
Save olegslavkin/e01ccc1835396402dc2f to your computer and use it in GitHub Desktop.
Install Ryu Controller (Ubuntu 14.04.3 Server)
#!/bin/bash
# Install RYU (Ubuntu 14.04.3)
# Author: Oleg Slavkin
echo "Step 1. Install tools"
sudo apt-get -y install git python-pip python-dev
echo "Step 2. Install python packages"
sudo apt-get -y install python-eventlet python-routes python-webob python-paramiko
echo "Step 3. Clone RYU git Repo"
cd ~/
git clone --depth=1 https://github.com/osrg/ryu.git
echo "Step 4. Install RYU"
sudo pip install setuptools --upgrade
cd ryu;
sudo python ./setup.py install
echo "Step 5. Install and Update python packages"
sudo pip install six --upgrade
sudo pip install oslo.config msgpack-python
sudo pip install eventlet --upgrade
echo "Step 6. Test ryu-manager"
ryu-manager --version
@wwfcityu
Copy link

Thanks for providing the step-by-step tutorial. very helpful for novice like me

@bavugisainath
Copy link

How do I install ryu controller supporting netconf protocol?

@ShohrehHps
Copy link

ShohrehHps commented Oct 16, 2018

I have installed on ubuntu 14 and after step 4 (sudo python ./setup.py install) , then being waiting for along time...
but I have upgrade to ubuntu 18 and was installed easily
Thank you
be success all the time

@paaguti
Copy link

paaguti commented Sep 25, 2019

Why aren't you using the requirements provided by Ryu in the tools directory like:

sudo pip install -r tools/pip-requires 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment