
Amazon Linux 2023에서 MySQL 설치시, 다음 과정이 필요합니다.
▼ 1. RPM 파일 다운로드
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm |
▼ 2. GPG 퍼블릭 키 설정
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install mysql80-community-release-el9-1.noarch.rpm -y |
▼ 3. 퍼블릭키 import
- 모든 시스템 패키지를 최신 버전으로 업데이트하라는 명령
- 자동으로 업데이트를 진행하고, 중간에 확인을 요구하지 않음
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf update -y |
▼ 4. MySQL 설치
mysql-client 설치
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install mysql-community-client -y |
mysql-server 설치
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install mysql-community-server -y |
'운영체제 > 아마존 웹 서비스' 카테고리의 다른 글
[AWS] Amazon EC2 도커 설치 (Docker) (0) | 2025.03.06 |
---|---|
[AWS] 스토리지 서비스 종류 및 특징 (0) | 2025.01.22 |