인프런 커뮤니티 질문&답변

김건우님의 프로필 이미지

작성한 질문수

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

44강. 배포를 위한 프로그램 설치하기

GPG 체크 오류

24.06.19 18:05 작성

·

294

·

수정됨

1

만약 GPG체크오류가 계속 해서 뜬다면 이것을 시도해보세요

다운로드한 패키지들을 dnf 명령어를 사용하여 설치합니다. 먼저, 패키지들을 다운로드합니다:

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-client-8.0.37-1.el9.x86_64.rpm

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-client-plugins-8.0.37-1.el9.x86_64.rpm

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-common-8.0.37-1.el9.x86_64.rpm

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-icu-data-files-8.0.37-1.el9.x86_64.rpm

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-libs-8.0.37-1.el9.x86_64.rpm

wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-server-8.0.37-1.el9.x86_64.rpm

 

 

dnf 명령어를 사용하여 GPG 체크 없이 패키지를 설치합니다:

sudo dnf install ./mysql-community-client-8.0.37-1.el9.x86_64.rpm --nogpgcheck

sudo dnf install ./mysql-community-client-plugins-8.0.37-1.el9.x86_64.rpm --nogpgcheck

sudo dnf install ./mysql-community-common-8.0.37-1.el9.x86_64.rpm --nogpgcheck

sudo dnf install ./mysql-community-icu-data-files-8.0.37-1.el9.x86_64.rpm --nogpgcheck

sudo dnf install ./mysql-community-libs-8.0.37-1.el9.x86_64.rpm --nogpgcheck

sudo dnf install ./mysql-community-server-8.0.37-1.el9.x86_64.rpm --nogpgcheck

 

MySQL 서비스 시작 및 상태 확인

sudo systemctl start mysqld

sudo systemctl status mysqld

이렇게 하면 해결 되는것 같아요 저도 엄청 꼬였는데 이 코드면 해결되네요

답변 3

3

오세연님의 프로필 이미지

2024. 06. 20. 15:57

오 진짜 해결되네요! 감사합니다!

2

임채영님의 프로필 이미지

2024. 06. 20. 15:57

해결됐습니다 감사합니다~

1

최태현님의 프로필 이미지
최태현
지식공유자

2024. 06. 20. 17:21

안녕하세요 건우님!! 🙂 큰 도움 주셔서 감사합니다!! 🙏 🙇 다른 분들께도 많은 도움 될 것 같아요~!!