1. Install docker-ce, docker-compose
2. Download the online installation package
https://github.com/goharbor/harbor/releases/download/v2.1.3/harbor-online-installer-v2.1.3.tgz
3. Unzip the installation package
tar xvf harbor-online-installer-v2.1.3.tgz
4. Create a configuration profile
cd harbor
cp harbor.yml.tmpl harbor.yml
5. Modify the configuration file harbor.yml
hostname: 192.168.88.158
#修改为绑定的IP或域名
harbor_admin_password: Harbor12345
#修改默认的管理员密码
password: root123
#修改数据库密码
#注释https相关条目
6. Run the installation script
./install.sh