You are on page 1of 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