1. Download the required packages wget -P /usr/local https://storage.googleapis.com/harbor-releases/release-1.7.0/harbor-online-installer-v1.7.1.tgz 2. Unzip the file tar zxf /usr/local/harbor-online-installer-v1.7.1.tgz -C /usr/local/ 3. Modify Harbor configuration hostname: Configure the host name. You cannot set a host name like 127.0.0.1 or localhost. It can be an IP or domain name. ui_url_protocol: Specifies whether to use HTTP or HTTPS protocol Email settings: Email settings, option configuration, only effective at first startup, can be modified after logging into the UI harbor_admin_password: Set the administrator's initial password, which is only used when logging in for the first time. auth_mode: User authentication mode, the default is db_auth, you can also use ldap_auth authentication. db_password: When using db, you need to specify the password to connect to the database self_registration: whether to allow self-registration of users, the default is on, and the new version can be modified in the graphical interface. max_job_workers: Maximum number of workers, the default is 10 customize_crt: whether to generate a certificate for token, the default is on ssl_cert: The path to the nginx cert and key files. This is only meaningful when using the https protocol. ssl_cert: The path to the nginx cert and key files. This is only meaningful when using the https protocol. secretkey_path: The path of secretkey storage admiral_url:Admiral's url, comment this attribute, or set its value to NA when Harbor is standalone clair_db_password: The calir service is not enabled, but the following related parameter configurations should be checked in the "./prepare" file in the decompressed directory. Comments are not allowed. Otherwise, the environment preparation check will fail and "ConfigParser.NoOptionError: No option u'clair_db_password' in section: u'configuration'" related errors will be reported; or comment related checks and definitions in "./prepare", but please note that there are too many associations in the file. It is recommended to modify the "harbor.cfg" file. ldap_url: ladp related settings. If ldap authentication is not used, the following related parameter configurations should be checked in the "./prepare" file in the decompressed directory. Comments are not allowed. Otherwise, the environment preparation check will fail and "ConfigParser.NoOptionError: No option u'ldap_timeout' in section: u'configuration'" related errors will be reported. Alternatively, comment related checks and definitions in "./prepare". However, please note that there are too many associations in the file. It is recommended to modify the "harbor.cfg" file. ldap_scope: self_registration: self-registration is enabled by default, off is disabled token_expiration: token validity period, default is 30 minutes project_creation_restriction: Create project permission control, the default is "everyone", can be set to "adminonly" verify_remote_cert: Whether to use SSL verification when communicating with the remote registry Other default values 4. Install docker-compose 5. Execute prepare and install.sh in the Harbor directory 6. Other physical machines docker link to this machine join in { "insecure-registries" : ["Harbor warehouse address"] } 7. Login Summarize The above is the whole process of installing and configuring Harbor1.7 on CentOS7.5 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Vue+ssh framework to realize online chat
>>: What should I do if I want to cancel an incorrect MySQL command?
This article example shares the specific code of ...
Table of contents 1. Transition from development ...
This article mainly introduces the sample code of...
introduce RANGE partitioning is based on a given ...
First, before posting! Thanks again to I Want to S...
Table of contents SQL execution order bin log Wha...
<br />Generally speaking, the file organizat...
In Linux C/C++, thread-level operations are usual...
This article example shares the specific code of ...
The following case reviews the knowledge points o...
Database MySQL version 8.0.18 Download a DBeaver....
Today's campus recruitment written test requi...
Recently, when I was writing a WeChat applet, the...
Better-scroll scrolling principle As a parent con...
Introduction: When using MySQL to create a table,...