Versions Compared

Key

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

...

Ensure Ubuntu Release 16.04 (specifically) and Docker version is 1.13.1 or newer: 

root@build_server:/# lsb_release -rs
16.04
# docker root@build_server:/# docker --version
Docker version 1.13.1, build 092cba3 


Ensure required packages are installed including python, python-requests, python-pip, sshpass, xorriso, make, and gcc are installed.  Install any missing packages with apt-get install -y <package name>

# apt root@build_server:/# apt list python python-requests python-pip sshpass xorriso make gcc
Listing... Done
gcc/xenial,now 4:5.3.1-1ubuntu1 amd64 [installed]
make/xenial,now 4.1-6 amd64 [installed,automatic]
python/xenial-updates,now 2.7.12-1~16.04 amd64 [installed]
python-pip/xenial-updates,xenial-updates,now 8.1.1-2ubuntu0.4 all [installed]
python-requests/xenial-updates,xenial-updates,now 2.9.1-3ubuntu0.1 all [installed]
sshpass/xenial,now 1.05-1 amd64 [installed] xorriso/xenial,now 1.4.2-4ubuntu1 amd64 [installed]

...

Elevate yourself to root:

root@build_server:/# sudo -i


Create a new directory for all software to be installed:

root@build_server:/# mkdir /opt/akraino


Clone the Redfish Bootstrapping Script repository for use as part of Akraino tools:

## Download the latest redfish artifacts from LF Nexus 
 
root@build_server:/# mkdir -p /opt/akraino/redfish


root@build_server:/# NEXUS_URL=https://nexus.akraino.org


root@build_server:/# curl -L "$NEXUS_URL/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.redfish&a=redfish&v=0.0.2-SNAPSHOT&e=tgz" tar -xozv -C /opt/akraino/redfish

...

## Download the latest Regional_controller artifacts from LF Nexus ##
 
root@build_server:/# mkdir -p /opt/akraino/region


root@build_server:/# NEXUS_URL=https://nexus.akraino.org


root@build_server:/# curl -L "$NEXUS_URL/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.regional_controller&a=regional_controller&v=0.0.2-SNAPSHOT&e=tgz" tar -xozv -C /opt/akraino/region

...

At this point there will be two new directories where the cloned NC artifacts have been created.

root@build_server:/# ls /opt/akraino/

redfish  region

...