First, the deployment docker (slightly)
For details, see blog
https://www.cnblogs.com/wangchengyi/p/12133204.html
Second, the deployment docker-compose
1, a first method of mounting yum
yum install epel-release
yum -y install docker-compose
2, a second installation method yum
Download configuration docker-compose
official address: https://docs.docker.com/compose/install/
curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
Third, the deployment of harbor
- Download software harbor
- Official Address: https://github.com/goharbor/harbor/releases
- Official documentation: https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md
- Certificate document: https://github.com/goharbor/harbor/blob/master/docs/configure_https.md
wget https://storage.googleapis.com/harbor-releases/release-1.9.0/harbor-offline-installer-v1.9.0.tgz
tar -zxv -f harbor-offline-installer-v1.9.0.tgz -C /usr/local/
cd /usr/local/harbor
vim harbor.yml
./install.sh
Use browser to open