카테고리 없음2021. 1. 26. 20:57
반응형

1. 설치된 패키지 확인

yum list installed | grep mysql

[root@localhost tmp]# yum search mysql-community
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.kakao.com

  • epel: ftp.iij.ad.jp

  • extras: mirror.kakao.com

  • updates: mirror.kakao.com
    =================================================== N/S matched: mysql-community ===================================================
    mysql-community-client.i686 : MySQL database client applications and tools
    mysql-community-client.x86_64 : MySQL database client applications and tools
    mysql-community-client-plugins.i686 : Shared plugins for MySQL client applications
    mysql-community-client-plugins.x86_64 : Shared plugins for MySQL client applications
    mysql-community-common.i686 : MySQL database common files for server and client libs
    mysql-community-common.x86_64 : MySQL database common files for server and client libs
    mysql-community-devel.i686 : Development header files and libraries for MySQL database client applications
    mysql-community-devel.x86_64 : Development header files and libraries for MySQL database client applications
    mysql-community-embedded-compat.i686 : MySQL embedded compat library
    mysql-community-embedded-compat.x86_64 : MySQL embedded compat library
    mysql-community-libs.i686 : Shared libraries for MySQL database client applications
    mysql-community-libs.x86_64 : Shared libraries for MySQL database client applications
    mysql-community-libs-compat.i686 : Shared compat libraries for MySQL 5.6.37 database client applications
    mysql-community-libs-compat.x86_64 : Shared compat libraries for MySQL 5.6.45 database client applications
    mysql-community-release.noarch : MySQL repository configuration for yum
    mysql-community-server.x86_64 : A very fast and reliable SQL database server
    mysql-community-test.x86_64 : Test suite for the MySQL database server

    Name and summary matches only, use "search all" for everything.

 

 

 

2. 특정장소에 다운로드

yum install --downloadonly --downloaddir=/work/tmp mysql-community-client.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-client-plugins.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-common.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-devel.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-embedded-compat.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-libs.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-libs-compat.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-release.noarch
yum install --downloadonly --downloaddir=/work/tmp mysql-community-server.x86_64
yum install --downloadonly --downloaddir=/work/tmp mysql-community-test.x86_64

 

 

 

3. rpm 설치 rpm -Uvh *.rpm

rpm -Uvh mysql-community-common-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-libs-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-client-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-client-plugins-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-libs-compat-8.0.23-1.el7.x86_64.rpm
rpm -Uvh mysql-community-server-8.0.23-1.el7.x86_64.rpm

 

 

 

4. 의존성설치

 

 

 

5. 참고

myjamong.tistory.com/6

 

[CentOS 7] MySQL 5.7.20 설치 :: 마이자몽

MySQL 5.7.20버전을 설치하려고 한다. 하지만 MySQL 사이트에서 원하는 특정 버전을 설치하는게 생각보다 어렵다. 글을 쓰는 날짜 기준으로 MySQL사이트에서 5.7버전을 설치하려고하면 5.7.23버전으로

myjamong.tistory.com

soranghouse.tistory.com/3

 

(CentOS7/Linux) Mysql8.0 (Community Server) 설치, mariadb-libs is obsoleted

MySQL 8.0 버전을 설치하는데 어려움이 있으시다면 도움이 되길 바랍니다. 1. RPM 패키지 파일 다운로드 MySQL 공식 홈페이지에서 직접 패키지 파일을 다운로드할 수 있도록 지원해주고 있습니다. DOWN

soranghouse.tistory.com

 

www.lesstif.com/dbms/rhel-centos-ubuntu-mysql-5-6-5-7-24445108.html

 

RHEL/CentOS, Ubuntu 에 MySQL 5.6, 5.7 설치하기

MySQL 패키지 버전에 따라 설치시 자동으로 mysql_secure_installation 을 실행하는 경우도 있으니 설치후 콘솔 화면을 보고 암호가 저장되는 경로는 확인

www.lesstif.com

Posted by 1010