# 下载 wget https://github.com/goharbor/harbor/releases/download/v2.4.0/harbor-online-installer-v2.4.0.tgz mkdir /data tar xf harbor-online-installer-v2.4.0.tgz -C /data cd /data/harbor cp harbor.yml.tmpl harbor.yml
vi harbor.yml # 修改配置 hostname: 本机ip # 注释https #https: # https port for harbor, default is 443 # port: 443 # The path of cert and key files for nginx # certificate: /your/certificate/path # private_key: /your/private/key/path