신우테크놀로지 내부/외부 장비용 패키지 리포지토리 서버입니다. CentOS 서버의 기본 리포지토리를 SinuTech Repository로 변경할 수 있습니다.
인터넷 차단 환경 또는 사설망 장비에서는 HTTP 방식을 권장합니다.
curl -fsSL http://repo.sinutech.kr/scripts/use-sinutech-centos-repo.sh | bash
SSL 인증서 검증이 가능한 환경에서는 HTTPS 방식도 사용할 수 있습니다.
curl -fsSL https://repo.sinutech.kr/scripts/use-sinutech-centos-repo.sh | bash
바로 실행하지 않고 내용을 먼저 확인하려면 아래 명령을 사용합니다.
curl -fsSL http://repo.sinutech.kr/scripts/use-sinutech-centos-repo.sh
파일로 저장 후 실행하려면 아래처럼 실행합니다.
curl -fsSL http://repo.sinutech.kr/scripts/use-sinutech-centos-repo.sh -o /tmp/use-sinutech-centos-repo.sh
bash /tmp/use-sinutech-centos-repo.sh
리포지토리 변경 후 아래 명령으로 정상 적용 여부를 확인할 수 있습니다.
yum repolist
또는 CentOS 8 / Stream 계열에서는:
dnf repolist
/etc/yum.repos.d/*.repo 파일은 스크립트 실행 시 자동 백업됩니다.
백업 경로는 /etc/yum.repos.d/backup-날짜 형식입니다.