YUM MySQL커뮤니티 저장소 추가

Jmnote (토론 | 기여)님의 2016년 9월 1일 (목) 14:11 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
MySQL 커뮤니티 yum repo 추가

1 확인[ | ]

[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-
[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]
[root@zetawiki ~]# ll mysql*.rpm
-rw-r--r-- 1 root root 8848 Nov 12  2015 mysql57-community-release-el6-7.noarch.rpm

3 rpm 설치[ | ]

[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
... (생략)
Installed:
  mysql57-community-release.noarch 0:el6-7                                                 

Complete!

4 확인 2[ | ]

[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 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}