- MySQL 커뮤니티 yum repo 추가
1 확인[ | ]
Console
Copy
[root@zetawiki ~]# yum repolist | grep community
[root@zetawiki ~]# cat /etc/issue | head -1
CentOS release 6.3 (Final)
- → MySQL 커뮤니티 저장소가 없음
- → 리눅스는 CentOS 6 버전임
2 저장소 rpm 다운로드[ | ]
- 리눅스 버전에 맞는 것으로 받아야 함
- 예를 들어 CentOS 6이면
-el6-
Console
Copy
[root@zetawiki ~]# wget http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
... (생략)
Saving to: “mysql57-community-release-el6-7.noarch.rpm”
100%[=================================================>] 8,848 --.-K/s in 0s
2016-09-01 14:05:46 (330 MB/s) - “mysql57-community-release-el6-7.noarch.rpm” saved [8848/8848]
Console
Copy
[root@zetawiki ~]# ll mysql*.rpm
-rw-r--r-- 1 root root 8848 Nov 12 2015 mysql57-community-release-el6-7.noarch.rpm
3 rpm 설치[ | ]
Console
Copy
[root@zetawiki ~]# yum install mysql57-community-release-el6-7.noarch.rpm
... (생략)
===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
mysql57-community-release noarch el6-7 /mysql57-community-release-el6-7.noarch 7.8 k
Transaction Summary
===========================================================================================
Install 1 Package(s)
Total size: 7.8 k
Installed size: 7.8 k
Is this ok [y/N]: y
Console
Copy
... (생략)
Installed:
mysql57-community-release.noarch 0:el6-7
Complete!
4 확인 2[ | ]
Console
Copy
[root@zetawiki ~]# yum repolist | grep community
mysql-connectors-community MySQL Connectors Community 21
mysql-tools-community MySQL Tools Community 38
mysql57-community MySQL 5.7 Community Server 114
5 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.