0% found this document useful (0 votes)
63 views

Install Tutorial

The document provides instructions for installing and configuring ODL Mininet and the Coursera SDN course. It includes steps to install Ubuntu Server, dependencies for ODL controller, download and install ODL. It also describes installing VirtualBox, Vagrant, downloading the Coursera SDN files and resolving issues with missing Open vSwitch components.

Uploaded by

Tran Van An
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Install Tutorial

The document provides instructions for installing and configuring ODL Mininet and the Coursera SDN course. It includes steps to install Ubuntu Server, dependencies for ODL controller, download and install ODL. It also describes installing VirtualBox, Vagrant, downloading the Coursera SDN files and resolving issues with missing Open vSwitch components.

Uploaded by

Tran Van An
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

=============ODL-MININET=============

1. Install Ubuntu Server 14.04 64bit


2. Install dependencies
sudo apt-get install git maven openjdk-7-jre openjdk-7-jdk
3. Download & install ODL controller
git clone http://git.opendaylight.org/gerrit/p/controller.git
cd controller/opendaylight/distribution/opendaylight/
mvn clean install
cd target/distribution.opendaylight-0.1.0-SNAPSHOT-osgipackage/opendayli
ght
=============CourseraSDN=============
1. Install Virtualbox
sudo apt-get install virtualbox
issues:
apt-get install linux-generic linux-image-generic linux-headersgeneric linux-signed-generic
reboot, choose kernel 3.13
sudo dkpg-reconfigure virtualbox-dkms
sudo dkpg-reconfigure virtualbox
sudo modprobe vboxdrv
sudo modprobe vboxnetflt
2. Install vagrant
sudo apt-get install vagrant
3. Download Coursera-SDN
git clone http://github.org/PrincetonUniversity/Coursera-SDN
cd Coursera-SDN
vagrant up
-> luc nay moi tai file .box ve de chay tren virtual box
===bug khong thay ovs-controller va test-controller
Remove old Open vSwtich:
sudo apt-get remove openvswitch-common openvswitch-datapath-dkms openvsw
itch-controller
openvswitch-pki openvswitch-switch
Download the new Open vSwtich source tarball:
mkdir openvswitch
cd openvswitch
wget http://openvswitch.org/releases/openvswitch-2.0.0.tar.gz
tar zxvf openvswitch-2.0.0.tar.gz
cd openvswitch-2.0.0
Install all the dependencies that will be needed:
sudo apt-get update
sudo apt-get -y install build-essential fakeroot debhelper autoconf auto
make libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zop
einterface python-twisted-conch
Build the Debian packages:
DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary
Install the packages:
cd ..
sudo dpkg -i openvswitch-common*.deb openvswitch-datapath-dkms*.deb open
vswitch-controller*.deb openvswitch-pki*.deb openvswitch-switch*.deb
Then do some post install steps to keep the Open vSwitch Controller from startin
g automatically on boot:
sudo /etc/init.d/openvswitch-controller stop
sudo update-rc.d openvswitch-controller disable

sudo /etc/init.d/openvswitch-switch start

You might also like