In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1 prerequisites Harbor is deployed as multiple Docker containers, so it can be deployed on any Linux distribution that supports Docker. The target host needs to have Python,Docker and Docker Compose installed. 1.1 hardware resource type capacity description CPU minimum 2 CPU preferred 4 CPU memory minimum preferred 8GB hard disk at least 40GB160GB is better 1.2 Software name version description Python2.7 or higher Please note that you may have to install PythonDocker engine1.10 or higher on the Linux distribution (Gentoo,Arch) that does not have the Python interpreter installed by default Please refer to: https://docs.docker.com/engine/installation/Docker Compose1.6.0 or higher for installation instructions, please refer to: https://docs.docker.com/compose/install/OpenSSL preferably the latest generation of harbor certificates and keys 1.3 network port protocol description 443HTTPSHarbor portal and core API will accept requests for https protocol 4443HTTPS connection with Harbor's Docker Content Trust service on this port 80HTTPHarbor Portal and Core API will accept HTTP Protocol requests on this port only if Notary is enabled. Environment OS:centos7harbor version: 1.7.5python version: 2.7docker-ce version: 19.03.6docker-compose version: 1.25.3harbor server side ip:192.168.7.72harbor client ip:192.168.7.73 Firewall and selinux: turn off 3 installation step 1. Install docker-ce2. Install docker-compose3. Self-signed ssl certificate 4. Download the harbor offline installation package and extract 5. 0. Configure harbor.cfg6. Run install.sh to install and start harbor7. Test downloading and uploading Image 3.1 from harbor Repository to install docker-ce
Official document: https://docs.docker.com/install/linux/docker-ce/centos/
3.1.1 Uninstall the old version # yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine3.1.2 installation required package # yum install-y yum-utils device-mapper-persistent-data lvm23.1.3 add docker repository # yum-config-manager-add-repo https://download.docker.com/linux/centos/docker-ce.repo3.1.4 install the latest version of docker-ce # yum install-y docker-ce docker-ce-cli containerd.io3.1.5 launches docker and sets it to boot automatically # systemctl enable-- now docker3.1.6 add Ali Cloud Image Accelerator browser to open http://cr.console.aliyun.com Register or log in to the Aliyun account, click "Image Accelerator" on the left, you will get an exclusive acceleration address, and the following configuration instructions:
# tee / etc/docker/daemon.json / etc/hosts#docker login https://reg.hechunping.comUsername: adminPassword: WARNING! Your password will be stored unencrypted in / root/.docker/config.json.Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-storeLogin Succeeded3.7.2 creates the project and uploads the image on the web page of harbor
3.7.3 download the image you just uploaded on the client of harbor
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.