SpectroCloud: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
Line 53: Line 53:
  chmod +x airgap-fips-v$VERSION.bin
  chmod +x airgap-fips-v$VERSION.bin
  ./airgap-vertex-v4.5.8.bin --nodiskspace --target /nfs/Download/airgap-vertex/
  ./airgap-vertex-v4.5.8.bin --nodiskspace --target /nfs/Download/airgap-vertex/
###########################################################
# UNZIP Manifest in /var/www/html/manifests/ on ders-plex #
###########################################################
# ssh to ders-plex
mkdir -p /var/www/html/manifests
mv /nfs/Download/manifest/spectro-manifests-1731600607.zip /var/www/html/manifests
cd /var/www/html/manifests
unzip spectro-manifests-1731600607.zip
systemctl restart httpd
# http://172.16.84.22:8710/manifests/

Revision as of 19:26, 14 November 2024

Spectro Cloud Documentation

Vertex Installation

Pre Requisites

###############################
# SpectroCloud Docs Reference #
###############################
# https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/

################
# INSTALL ORAS #
################
# GET LATEST VERSION FROM: https://github.com/oras-project/oras/releases
VERSION="1.2.0"
curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz"
mkdir -p oras-install/
tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/
sudo mv oras-install/oras /usr/local/bin/
rm -rf oras_${VERSION}_*.tar.gz oras-install/

##############################
# INSTALL JQ, ZIP, and UNZIP #
##############################
yum -y install jq zip unzip

##################
# INSTALL DOCKER #
##################

#######################
# CREATE HARBOR REPOS #
#######################
* spectro-packs (Private)
* spectro-images (Public)

Vertex Install

#################
# SET VARIABLES #
#################
export OCI_IMAGE_REGISTRY=harbor.dersllc.com
export OCI_PACK_BASE=spectro-packs
export OCI_PACK_REGISTRY=harbor.dersllc.com
export OCI_IMAGE_BASE=spectro-images

###################
# Log-in via ORAS #
###################
oras login harbor.dersllc.com --username 'admin' --password '<Password>'

#####################
# RUN AIRGAP BINARY #
#####################
cd /nfs/Download/
chmod +x airgap-fips-v$VERSION.bin
./airgap-vertex-v4.5.8.bin --nodiskspace --target /nfs/Download/airgap-vertex/

###########################################################
# UNZIP Manifest in /var/www/html/manifests/ on ders-plex #
###########################################################
# ssh to ders-plex
mkdir -p /var/www/html/manifests
mv /nfs/Download/manifest/spectro-manifests-1731600607.zip /var/www/html/manifests
cd /var/www/html/manifests
unzip spectro-manifests-1731600607.zip
systemctl restart httpd
# http://172.16.84.22:8710/manifests/