The following section describes how to install ONOS on a single target machine, running the installation steps locally (on the target machine itself).
Further sections will describe how to install one or more ONOS target machines from a centralized management machine.
The target machine will be able to eventually join other nodes in later steps, to form a cluster.
Installation
ONOS default packages assume ONOS gets installed under /opt, so let's first make sure the directory exists and let's move into it
sudo mkdir /opt cd /opt
Start downloading the desired version of ONOS in tar.gz format. Choose your favorite from the ONOS website, download section (http://downloads.onosproject.org). Copy the file downloaded or download the file directly from the target machine and put it in /opt. For example:
sudo wget -c http://downloads.onosproject.org/release/onos-$ONOS_VERSION.tar.gz
sudo tar xzf onos-$ONOS_VERSION.tar.gz
sudo mv onos-$ONOS_VERSION onos
Verify that ONOS works
ONOS can be run directly calling its start-stop script, located under the /opt/onos/bin directory:
/opt/onos/bin/onos-service start
The command name might be misleading. In this way, ONOS won't be run as a real Linux service. To do that, please follow these steps.