"YUM MySQL커뮤니티 저장소 추가"의 두 판 사이의 차이

(새 문서: ;MySQL 커뮤니티 yum repo 추가 ==저장소 rpm 다운로드== * https://dev.mysql.com/downloads/repo/yum/ 접속 * Red Hat Enterprise Linux 6 / Oracle Linux 6 (Architecture Inde...)
 
 
(같은 사용자의 중간 판 10개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;MySQL 커뮤니티 yum repo 추가
;MySQL 커뮤니티 yum repo 추가
==확인==
<source lang='console'>
[root@zetawiki ~]# yum repolist | grep community
[root@zetawiki ~]# cat /etc/issue | head -1
CentOS release 6.3 (Final)
</source>
:→ MySQL 커뮤니티 저장소가 없음
:→ 리눅스는 CentOS 6 버전임


==저장소 rpm 다운로드==
==저장소 rpm 다운로드==
* https://dev.mysql.com/downloads/repo/yum/ 접속
* 리눅스 버전에 맞는 것으로 받아야 함
* Red Hat Enterprise Linux 6 / Oracle Linux 6 (Architecture Independent), RPM Package 오른쪽 [Download] 클릭
* 예를 들어 CentOS 6이면 <code>-el6-</code>
* [Login »] 클릭하고 로그인
 
* [Download Now »] 클릭하여 mysql57-community-release-el6-8.noarch.rpm 다운로드
<source lang='console'>
[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]
</source>
<source lang='console'>
[root@zetawiki ~]# ll mysql*.rpm
-rw-r--r-- 1 root root 8848 Nov 12  2015 mysql57-community-release-el6-7.noarch.rpm
</source>
 
==rpm 설치==
<source lang='console'>
[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
</source>
<source lang='console'>
... (생략)
Installed:
  mysql57-community-release.noarch 0:el6-7                                               
 
Complete!
</source>
 
==확인 2==
<source lang='console'>
[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
</source>
 
==같이 보기==
* [[CentOS MySQL 클라이언트 최신 버전 설치‎]]
* [[YUM MariaDB 저장소 추가]]


[[분류: yum]]
[[분류: Yum 저장소]]

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 }}