SDN-Opendaylight (Nitro version) installation

table of Contents

Basic environment

VM14.0

Ubuntu 18.04

JDK 1.8

Opendaylight installation

Installation package addresses

Installation Components


Basic environment

VM14.0

VM version

Ubuntu 18.04

Ubuntu printed books

JDK 1.8

Installation directory / usr / lib / jvm

sudo apt-get -y install openjdk-8-jdk

Adding Environment Variables

sudo vi /etc/profile

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64

export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin

source /etc/profile

Opendaylight installation

Installation package addresses

https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/

Bloggers selected nitrogen version is installed before the deadline, posted to the sodium version, bloggers generally does not install the latest, after all, more vegetables, no wrong place to look for solutions, he still will not (manual nugget)

I downloaded the karaf0.7.3.zip version, there are other suffixes, unzip command is not the same.

Download turtle speed browser organ network, bloggers use IDM to download, to facilitate placed Baidu network disk

link:

https://pan.baidu.com/s/1QiNyYuJQ1lszFhHhz9JPPA

Extraction code:

g3nq

The compressed package into Ubuntu inside, bloggers are using SecureCRT, how written before the transfer file, refer to this article

SecureCRT installation and installation of Linux jdk1.8

Decompression using the unzip command, if you are under the suffix .tar.gz archive, use tar -zxvf decompression

unzip karaf-0.7.3.zip

Setenv file found in the / bin directory OpenDaylight, and finally add java environment variables in the file, otherwise it will show JAVA_HOME not set to open Opendaylight.

Set the environment

Bloggers first contact with SDN, other configurations are not involved, then use the update.

Open Opendaylight

cd /usr/lib/opendaylight/karaf-0.7.3/bin/
sudo ./karaf
Open opendaylight

Installation Components

After the opening command interface enter the following command opendaylight mounting assembly

Install components that support the REST API

feature:install odl-restconf

Installation of components support L2switch

feature:install odl-l2switch-switch-ui

Installation support API web interface to view the components of

feature:install odl-mdsal-apidocs

 The mounting assembly support dlux application interface view

feature:install odl-dluxapps-applications

 

发布了163 篇原创文章 · 获赞 471 · 访问量 26万+

Guess you like

Origin blog.csdn.net/lady_killer9/article/details/104427543