Contents of this page are obsolete. Please refer to Getting Started with ONOS screencast and Building ONOS instead.
Table of Contents | ||
---|---|---|
|
...
2. Install required software
On the build machine
...
Install Git:
Code Block | ||
---|---|---|
| ||
build:~$ sudo apt-get install git-core |
Excerpt | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Install Karaf, Maven:Create two directories called ~/Downloads and ~/Applications. Download the Karaf 3.0.5 and Maven 3.3.9 binaries (the tar.gz versions of both) into ~/Downloads and extract it to ~/Applications. Keep the tar archives in ~/Downloads; we'll need that later.
Next, install Oracle Java 8:
It will ask you to acknowledge the license; do so when prompted. |
Clone the ONOS source:
Now let’s copy a repository into a new onos directory under the home directory on the build machine.
...
This will create a directory called onos, with the source code in it.
On the onos-scratch VM
The VM only requires Java 8 - follow the instructions for Java 8 above performed on the build VM.
...
Once you run the above command, you will see in the output of the env that command that several new variables, such as ONOS_ROOT, OCI, and KARAF_ROOT, have been set.
...
Return To : Tutorials and Walkthroughs
...
...