...
...
...
...
...
...
...
...
...
...
...
...
...
OOM ONAP offline installer
...
...
Self-Installer Package Build Guide
...
...
(Community Edition)
...
This document is describing procedure for generating SI (self-installer) archive based on source code.
It's supposed to be triggered on server with internet connectivity and will download all artifacts required for stable/beijing deployment based on our static lists.
Procedure was completely tested on RHEL 7.4 as it's our target platform, however with small adaptations it should be applicable also for other platforms.
Part 1. Preparations
Part 2. Download artifacts for offline installer
Part 3. Populate local nexus
Part 4. Creating self-install archive:
Anchor | ||||
---|---|---|---|---|
|
Version Control
...
Anchor | ||||
---|---|---|---|---|
|
We assume that procedure is executed on:
...
More-over following packages has to be installed
- screen expect nodejs git wget createrepo python2-pip patch
- docker (exact version, from centos repo)
- source code of offline installer
...
Register server (rhel only)
Code Block subscription-manager register --username <rhel licence name> --password <password> --auto-attach
enable EPEL
Code Block yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # enable rhel-7-server-e4s-optional-rpms in /etc/yum.repos.d/redhat.repo # to get following rpm available (icewm dependency) # fribidi x86_64 0.19.4-6.el7 rhel-7-server-e4s-optional-rpms
install following packages
Code Block yum install -y screen expect nodejs git wget createrepo python2-pip patch yum-utils
install docker
Code Block curl https://releases.rancher.com/install-docker/17.03.sh | sh
install docker alternative - both rhel and centos:
Code Block yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce-17.03.3.ce-1.el7 docker-ce-selinux-17.03.3.ce-1.el7
start docker
Code Block systemctl start docker
...
Anchor | ||||
---|---|---|---|---|
|
Part 2. Download artifacts for offline installer
All artifacts should be downloaded by running following script
...
Anchor | ||||
---|---|---|---|---|
|
Prereq:
Cleaned repos (ensure that we use our packages from onap.repo only)
Code Block mkdir /etc/yum.repos.d-backup && mv /etc/yum.repos.d/*.repo /etc/yum.repos.d-backup/
...
Anchor | ||||
---|---|---|---|---|
|
Part 4. Creating self-install archive:
Note: as nexus_data is mounted folder into nexus, we recommend to stop nexus first before launching SI archive create script
...