Install Tutorial

Embed Size (px)

DESCRIPTION

Install Tutorial

Citation preview

=============ODL-MININET=============1. Install Ubuntu Server 14.04 64bit2. Install dependenciessudo apt-get install git maven openjdk-7-jre openjdk-7-jdk3. Download & install ODL controllergit clone http://git.opendaylight.org/gerrit/p/controller.gitcd controller/opendaylight/distribution/opendaylight/mvn clean installcd target/distribution.opendaylight-0.1.0-SNAPSHOT-osgipackage/opendaylight=============CourseraSDN=============1. Install Virtualboxsudo apt-get install virtualboxissues:apt-get install linux-generic linux-image-generic linux-headers-generic linux-signed-genericreboot, choose kernel 3.13sudo dkpg-reconfigure virtualbox-dkmssudo dkpg-reconfigure virtualbox sudo modprobe vboxdrvsudo modprobe vboxnetflt2. Install vagrantsudo apt-get install vagrant3. Download Coursera-SDNgit clone http://github.org/PrincetonUniversity/Coursera-SDNcd Coursera-SDNvagrant up-> luc nay moi tai file .box ve de chay tren virtual box===bug khong thay ovs-controller va test-controllerRemove old Open vSwtich:sudo apt-get remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switchDownload the new Open vSwtich source tarball:mkdir openvswitchcd openvswitchwget http://openvswitch.org/releases/openvswitch-2.0.0.tar.gztar zxvf openvswitch-2.0.0.tar.gzcd openvswitch-2.0.0Install all the dependencies that will be needed:sudo apt-get updatesudo apt-get -y install build-essential fakeroot debhelper autoconf automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zopeinterface python-twisted-conchBuild the Debian packages:DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binaryInstall the packages:cd ..sudo dpkg -i openvswitch-common*.deb openvswitch-datapath-dkms*.deb openvswitch-controller*.deb openvswitch-pki*.deb openvswitch-switch*.debThen do some post install steps to keep the Open vSwitch Controller from starting automatically on boot:sudo /etc/init.d/openvswitch-controller stopsudo update-rc.d openvswitch-controller disablesudo /etc/init.d/openvswitch-switch start