Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Like any other production service, ONOS shouldn’t be run as root. Scripts used to run ONOS as a service (used after in the installation process) require a special unprivileged user (often user 'sdn') configured in the system. The following snippet will allow you to create an sdn user and assign it to an sdn group in one step:

 

...

Code Block
languagebash
titleAdd user sdn
adduser sdn --system --group

Software packages

Java8

ONOS is a Java based platform. It’s strongly suggested to use Oracle Java 1.8 for it. The following snippet will allow you to install Java 1.8 in one step on an Ubuntu machine. 

Code Block
languagebash
titleInstall Oracle Java 8
sudo apt-get install software-properties-common -y && \

...


sudo add-apt-repository ppa:webupd8team/java -y && \

...


sudo apt-get update && \

...


echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \

...


sudo apt-get install oracle-java8-installer oracle-java8-set-default -y

...

Curl

Code Block
languagebash
titleInstall curl
apt-get install curl