-------------------------------------------------------------------------------------
현재 블로그 이사 하였습니다.
와서 더 많은 자료 확인부탁드려요
-------------------------------------------------------------------------------------
1. 설치조건 확인
Hardware
Resource Minimum Recommended
CPU | 2 CPU | 4 CPU |
Mem | 4 GB | 8 GB |
Disk | 40 GB | 160 GB |
Software
The following table lists the software versions that must be installed on the target host.
Software Version Description
Docker engine | Version 17.06.0-ce+ or higher | For installation instructions, see https://docs.docker.com/engine/installation/ |
Docker Compose | Version 1.18.0 or higher | For installation instructions, see https://docs.docker.com/compose/install/ |
Openssl | Latest is preferred | Used to generate certificate and keys for Harbor |
2. 설치 프로그램 다운로
https://github.com/goharbor/harbor/releases
harbor 릴리즈 페이지 방문하여 다운로드
여기선 online installer 로 다운로드 하였음
운로드 이후 public key 검증
gpg --keyserver hkps://keyserver.ubuntu.com --receive-keys 644FF454C0B4115C
gpg -v --keyserver hkps://keyserver.ubuntu.com --verify harbor-online-installer-v2.10.2.tgz.asc
아래와 비슷한 내용이 뜨면 됨
gpg: armor header: Version: GnuPG v1
gpg: assuming signed data in 'harbor-offline-installer-v1.10.0-rc2.tgz'
gpg: Signature made Fri, Dec 6, 2019 5:04:17 AM WEST
gpg: using RSA key 644FF454C0B4115C
gpg: using pgp trust model
gpg: Good signature from "Harbor-sign (The key for signing Harbor build) <jiangd@vmware.com> [unknown]
이후 tgz 파일 추출
$ tar xzvf harbor-online-installer-version.tgz
3. 설치 프로그램 전 harbor 인증서 작성 (HTTPS)
인증기관 인증서 생성
- CA 인증서 개인키 생성
openssl genrsa -out ca.key 4096
- CA 인증서 생성
openssl req -x509 -new -nodes -sha512 -days 3650 \\
-subj "/C=KR/ST=Seoul/L=yeoui/O=example/OU=Personal/CN=192.168.133.11" \\
-key ca.key \\
-out ca.crt
CN = yourdomain
서버 인증서 생성
- 개인키 생성
openssl genrsa -out 192.168.133.11.key 4096
key 이름은 yourdomain.com.key 로
-------------------------------------------------------------------------------------
현재 블로그 이사 하였습니다.
와서 더 많은 자료 확인부탁드려요
-------------------------------------------------------------------------------------
'IT 공부 > PaaS' 카테고리의 다른 글
K8S 에서 containerd 와 docker (0) | 2024.05.29 |
---|---|
[Harbor] 이미지 Push 및 Kubernetes 에서 사용방법 (0) | 2024.04.13 |