{"id":30047595,"url":"https://github.com/tmax-cloud/install-pkg-repo","last_synced_at":"2026-02-08T23:36:58.545Z","repository":{"id":56165475,"uuid":"315241541","full_name":"tmax-cloud/install-pkg-repo","owner":"tmax-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-07T01:32:27.000Z","size":623,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T10:10:08.901Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmax-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-23T08:03:05.000Z","updated_at":"2021-02-24T06:00:46.000Z","dependencies_parsed_at":"2022-08-15T14:00:17.559Z","dependency_job_id":null,"html_url":"https://github.com/tmax-cloud/install-pkg-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmax-cloud/install-pkg-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-pkg-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-pkg-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-pkg-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-pkg-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmax-cloud","download_url":"https://codeload.github.com/tmax-cloud/install-pkg-repo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-pkg-repo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269236777,"owners_count":24383241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-07T09:56:36.426Z","updated_at":"2026-02-08T23:36:54.747Z","avatar_url":"https://github.com/tmax-cloud.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS 및 Package Repo 구축 가이드\n\n## 구성 요소 및 버전\n* HyperCloud 패키지(ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat)\n* ISO 파일(CentOS 7.7 :http://vault.centos.org/7.7.1908/isos/x86_64/ 또는 http://192.168.2.136/ISOs/CentOS-7-x86_64-DVD-1908.iso)\n\n## 폐쇄망 구축 가이드\n1. Install OS\n    * CentOS 7.7 설치\n\t    * 해당 환경에 맞게 OS를 설치합니다. (IP, hostname, software selection 등)\t\t \n\n2. Repository 구축\n    * HyperCloud 용 yum repository 구축\n\t    * HyperCloud 설치 시 필요한 패키지들로 yum Reposiroty 구축 \t  \n3. 주의사항\n    * BIOS 세팅\n        * HyperThreading 기능을 켜서 사용하기\n\t\t* ![image (10)](https://user-images.githubusercontent.com/45585638/106423281-79bfec80-64a3-11eb-97da-b4f01aeeba43.png)\n    * ceph 설치에 device를 사용할 경우의 주의 사항입니다.\n        * lvm으로 묶이거나 다른 용도로 사용 중인 device는 지원되지 않으며\n        * ceph osd가 deploy되는 노드에 사용할 device가 반드시 존재 및 umount 상태여야 합니다.\n        * 따라서 클러스터 구성 전 device의 상태를 확인하고, 자세한 내용은 rook-ceph 설치 단계를 참고하시기 바랍니다.\n## 설치 가이드\n0. [Install OS](#step-0-install-os)\n1. [Create Local Repository](#step-1-local-repository-%EA%B5%AC%EC%B6%95)\n2. [Add Additional Package](#step-2-local-repository%EC%97%90-packages-%EC%B6%94%EA%B0%80-%EA%B0%80%EC%9D%B4%EB%93%9C-optional)\n\n## Step 0. Install OS\n* 목적 : `CentOS 7.7 설치`\n* 생성 순서 :     \n    * IP 설정 및 hostname 설정\n\t    * Network \u0026 Host name 클릭\n\t\t    ![ip-config1](/figure/network-host-select.png)\n      * Configure 클릭\n        ![ip-config2](/figure/configure.png)\n      * IPv4 Setting 클릭 후 해당 환경에 맞게 IP 설정\n        ![ip-config3](/figure/ipv4.png)\n      * IPv6 Setting 클릭 후 해당 환경에 맞게 IP 설정\n        ![ip-config3-(1)](/figure/ipv6.jpg)\n      * Network 설정 활성화\n        ![ip-config4](/figure/network-enable.png)\n      * Hostname 설정 후 Apply\n        ![hostname-config1](/figure/hostname.png)\n      * Begin Installation 이후 설치 진행\n        \n* 비고 :\n    * CentOS 설치 자체보다 hypercloud 설치할 때 필요한 부분만 언급하였습니다.    \n\n## Step 1. Local Repository 구축\n* 목적 : `폐쇄망일 때 yum repository 구축`\n* 생성 순서 : \n    * 패키지 가져오기\n      * scp -r ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/common .\n      * scp ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/k8s/k8s1.17/*.rpm . (k8s version 확인 필요, k8s1.15, k8s1.16, k8s1.17, k8s1.18, k8s1.19)     \n      * scp ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/kernel/kernel7.7/*.rpm . (kernel version 확인 필요 kernel7.6, kernel7.7, kernel7.8, kernel7.9)\n      * cp -rT ./common /tmp/localrepo\n      * mv ./*.rpm /tmp/localrepo\n    * CentOS Repository 비활성화\n      * sudo vi /etc/yum.repos.d/CentOS-Base.repo\n      * [base], [updates], [extra] repo config 에 enabled=0 추가\n      * ![repo-config1](/figure/centos-config.png)\n    * Yum Repository 구축\n      * sudo yum install -y /tmp/localrepo/createrepo/*.rpm\n      * sudo createrepo /tmp/localrepo\n      * sudo cat \u003c\u003c \"EOF\" | sudo tee -a /etc/yum.repos.d/localrepo.repo\n      * [localrepo]\n      * name=localrepo\n      * baseurl=file:///tmp/localrepo/\n      * enabled=1\n      * gpgcheck=0\n      * EOF\n    * 확인\n      * sudo yum clean all \u0026\u0026 yum repolist\n      * 다음과 같이 나오면 완료.\n      * ![repo-config3](/figure/fin.png)\n\n## Step 2. local repository에 packages 추가 가이드 (Optional)\n\n1. 원하는 packages를 local repo 경로에 추가\n    * 추가하고자 하는 packages를 local repo 경로에 추가\n\t    * mv {packages} {local repo 경로}\t\t \n\n    * 예시 ( kubernetes-v1.16 )    \n    \t    \n\t    * kubernetes-v1.16 다운로드 (ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/k8s/k8s1.16)  \t\t\n\t    * scp ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/k8s/k8s1.16/*.rpm . \t\t\n\t    * mv ./*.rpm /tmp/localrepo\n    \n    * 예시 ( kubernetes-v1.17 )    \n    \t    \n\t    * kubernetes-v1.16 다운로드 (ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/k8s/k8s1.17)   \t\t\n\t    * scp -r ck-ftp@192.168.1.150:/home/ck-ftp/k8s_package/redhat/k8s/k8s1.16/*.rpm . \t\t\n\t    * mv ./*.rpm /tmp/localrepo \n\t    \n2. local Repository 구축\n    * yum repository 구축\n\t    * sudo createrepo {repository 경로}\t    \n    * 예시\n\t    * sudo createrepo /tmp/localrepo\n\t    * yum clean all \u0026\u0026 yum repolist\n\n\n\n\n## 삭제 가이드\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Finstall-pkg-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmax-cloud%2Finstall-pkg-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Finstall-pkg-repo/lists"}