How to Install OpenDaylight

OpenDaylight is an SDN controller provided by the Linux Foundation. In this article we will show you the steps required to perform a simple installation upon Ubuntu.

Install Binaries

box@odl:~$ sudo apt-get update
box@odl:~$ sudo apt-get install software-properties-common
box@odl:~$ sudo apt-get install maven git unzip

Install Java 1.8

{loadposition content_lock}

box@odl:~$ sudo add-apt-repository ppa:webupd8team/java
box@odl:~$ sudo apt install oracle-java8-installer
box@odl:~$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle/

Download Package

Copy the link for the latest release within https://www.opendaylight.org/downloads. Select the ‘Pre-Built Zip’ link. Once you have the link download.

box@odl:~$ wget 
egration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.zip

Run

box@odl:~$ cd distribution-karaf-0.5.3-Boron-SR3/
box@odl:~$ ./bin/karaf

Install Features

opendaylight-user@root>feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core
opendaylight-user@root>feature:install odl-dlux-all

Connect to UI

Connect to http://<IP>:8181/index.html#/login, using the credentials of admin/admin.

Rick Donato

Want to become a networking expert?

Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA 200-301 Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial