top of page

Harbor Install & Setup

Updated: Jul 25, 2023

1. Go to the Harbor releases page & Download either the online or offline installer for the version you want to install.


2. Use tar to extract the installer package:

tar xzvf harbor-online-installer-version.tgz

3. Create a Certificate Authority (CA) certificate using OpenSSL

cd ~
sudo mkdir cert
cd cert

openssl genpkey -algorithm RSA -out ca.key

openssl req -new -key ca.key -out ca.csr

openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt

4. Copy .yml file

cp harbor.yml.tmpl harbor.yml

5. Edit harbor.yml file

sudo nano harbor.yml

Make the following changes:

hostname: cero-helix
port: 81
port: 8443
certificate: /ca.crt 
private_key: /ca.key

6. Edit prepare file, with the location of the certs

sudo nano prepare

-v /home/cerospeed/cert:/hostfs \

7. Install Harbor

sudo ./install.sh

8. Open Harbor via https://<ip address>:8443 or https://10.0.0.92:8443

Default admin username and password are admin and Harbor12345


References:


 
 
 

Recent Posts

See All
CentOS Server Setup

Start up internet connection and locate IP Address sudo nmcli con up enp0s3 sudo nmcli con mod enp0s3 connection.autoconnect yes #sudo...

 
 
 

コメント


Contact Me

Tel: 678-642-8051

cspeed@jcsassoc.com

  • Google+ Long Shadow
  • LinkedIn Long Shadow
  • Facebook Social Icon
  • Twitter Long Shadow

© 2005 by Christopher Speed

Your details were sent successfully!

bottom of page