...
Installing the Build Server packages
Elevate If you haven't done so already, elevate yourself to root:
...
Code Block | ||
---|---|---|
| ||
user@build_server:/ |
...
# sudo -i |
Create a new directory for all software to be installed:
Code Block | ||
---|---|---|
| ||
root@build_server:/ |
...
# mkdir /opt/akraino |
Clone the Redfish Bootstrapping Script repository for use as part of Akraino tools:
Code Block | ||
---|---|---|
| ||
## 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 |
Clone the Akraino Regional Controller repository:
Code Block | ||
---|---|---|
| ||
## 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.
Code Block | ||
---|---|---|
| ||
root@build_server:/ |
...
# ls /opt/akraino/ |
...
redfish region |
This completes the installation of the build server and it can now be used to deploy one or more Regional Controllers.
...