MariaDB 설치 (.deb 다운로드)

You are viewing an old version of this article. View the current version here.

APT를 사용한 MariaDB 설치

Debian, Ubuntu, 그리고 다른 유사한 Linux 배포판에서는 apt, aptitude, Ubuntu Software Center, Synaptic Package Manager, 또는 다른 패키지 매니저를 사용하여 MariaDB의 저장소에서 관련 .deb 패키지를 설치할 수 있습니다.

이 페이지에서는 apt를 사용한 간단한 설치 단계를 안내합니다.

APT 저장소에 MariaDB 추가하기

현재 다음 Linux 배포판에 대한 APT 저장소가 있습니다.:

  • Debian 9 (Jessie)
  • Debian 10 (Buster)
  • Debian 11 (Bullseye)
  • Debian Unstable (Sid)
  • Ubuntu 18.04 LTS (Bionic)
  • Ubuntu 20.04 LTS (Focal)
  • Ubuntu 20.10 (Groovy)
  • Ubuntu 21.04 (Hirsute)
  • Ubuntu 21.10 (Impish)

MariaDB 패키지 저장소 설치

MariaDB Package Repository

apt를 사용하여 MariaDB를 설치할 경우, MariaDB Repository 설치 스크립트(MariaDB Package Repository setup script)를 사용하여 apt에서 MariaDB 재단에서 제공하는 MariaDB 패키지 저장소를 참조하여 설치하도록 할 수 있습니다.

MariaDB 재단은 apt를 사용하여 패키지를 관리하는 여러 리눅스 배포판을 위한 MariaDB 패키지 저장소를 제공합니다. 이 저장소에는 MariaDB 서버, 클라리언트 및 유틸리티, 클라이언트 라이브러리, 플러그인Mariabackup을 포함하여 MariaDB 서버와 관련된 소프트웨어 패키지가 포함되어있습니다.MariaDB Repository 설치 스크립트는 MariaDB 패키지 저장소를 참조하여 패키지를 시스템에 자동으로 설치 및 구성합니다.

스크립트를 사용하려면 다음 명령을 실행하십시오 :

curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash

참조 위 스크립트는 MariaDB MaxScale과 MariaDB Tools용 저장소도 구성합니다만, Percona XtraBackup 및 해당 종속성에서만 구성됩니다.

자세한 내용은 MariaDB Package Repository Setup and Usage를 참조하십시오.

MariaDB 저장소 구성 도구 사용

MariaDB Repository Configuration Tool

당신이 apt를 사용하여 MariaDB를 설치할 경우, MariaDB Repository Configuration Tool을 사용하여 MariaDB 재단의 MariaDB 저장소(MariaDB Repository)를 참조하여 MariaDB를 설치하도록 apt를 구성할 수 있습니다.

MariaDB재단은 apt-get을 사용하여 패키지 관리를 하는 여러 리눅스 배포판을 위해서 MariaDB Package Repository를 제공합니다. 이 저장소에는 MariaDB 서버, 클라리언트 및 유틸리티, 클라이언트 라이브러리, 플러그인Mariabackup을 포함하여 MariaDB 서버와 관련된 소프트웨어 패키지가 포함되어있습니다. MariaDB 리포지토리 구성 도구는 배포용 리포지토리를 추가하기 위한 적절한 명령을 쉽게 생성할 수 있습니다.

저장소를 추가하는 방법에는 여러 가지가 있습니다.

add-apt-repository 사용

apt repository에 추가하는 방법 중 하나는 add-apt-repository 명령어입니다. 이 명령어는 /etc/apt/sources.list(apt 리포지토리에서 사용하는 패키지 목록 파일)에 저장소 구성을 추가하는 명령어입니다.

예를 들어 apt-get 저장소를 이용하여 Ubuntu 18.04 LTS(Bionic)에 MariaDB 10.3을 설치하려는 경우 다음 명령을 사용하여 MariaDB apt 저장소를 추가할 수 있습니다.:

sudo apt-get install software-properties-common
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main'

그런 다음 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다. (패키지 캐시를 업데이트 안할 경우 apt에서 인식을 못할 수 있습니다.) :

sudo apt update
소스 목록 파일 생성

Source List

apt 리포지토리에 추가하는 또 다른 방법은 /etc/apt/sources.list.d/ 폴더 안에 source.list 파일을 만드는 것 입니다.

예를 들어 리포지토리를 사용하여 Ubuntu 18.04 LTS(Bionic)에 MariaDB 10.3를 설치하려는 경우, /etc/apt/sources.list.d/ 폴더안에 MariaDB.list 파일을 다음 내용으로 생성하면 MariaDB apt 리포지토리를 추가할 수 있습니다.

# MariaDB 10.3 repository list - created 2019-01-27 09:50 UTC
# http://downloads.mariadb.org/mariadb/repositories/
deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main
deb-src http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main

그런 다음 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다 (패키지 캐시를 업데이트 안할 경우 apt에서 인식을 못할 수 있습니다.) :

sudo apt update
Ubuntu Software Center 사용

apt 저장소에 추가하는 또 다른 방법은 Ubuntu Software Center를 사용하는 것입니다.

당신은 Software Sources창으로 이동하여 이를 수행할 수 있습니다. 이 창은 Edit > Software Sources 으로 이동하거나 System > Administration > Software Sources로 이동하여 열 수 있습니다.

Software Sources 창이 열리면 Other Software탭으로 이동하여 Add(추가) 버튼을 클릭 합니다. 이때 MariaDB Repository Configuration Tool에서 제공하는 저정소 정보를 입력할 수 있습니다.

자세한 내용은 여기 를 참조하세요.

Synaptic Package Manager 사용

apt 저장소에 추가하는 또 다른 방법은 Synaptic Package Manager를 사용하는 것입니다..

당신은 Software Sources 창으로 이동하여 이를 수행할 수 있습니다. 이 창은 System > Administrator > Software Sources로 이동하거나 Settings > Repositories로 이동하여 열 수 있습니다.

Software Sources창이 열리면, Other Software 탭으로 이동하여 Add(추가) 버튼을 클릭 합니다. 이때 MariaDB Repository Configuration Tool에서 제공하는 저장소 정보를 입력할 수 있습니다..

자세한 내용은 여기를 참조하세요.

특정 마이너 릴리스로 설치(구성)하기

(Pinning the MariaDB Repository to a Specific Minor Release)

만약 당신이 특정 마이너 릴리스를 apt 저장소에 구성하려고 하는 경우, 또는 특정 마이너 릴리스로 다운그레이하려고하는 경우, 당신은 하드 코딩된 URL을 사용하여 해당 버전을 apt 저장소에 추가할 수 있습니다.

MariaDB재단은 다음 URL에서 이전 마이너 릴리스의 저장소를 보관합니다 :

아카이브는 릴리스 당시 지원되는 배포판 및 아키텍처 중 하나입니다. 예를 들어 MariaDB 10.0.38(https://archive.mariadb.org/mariadb-10.0.38/repo/ubuntu/dists)은 Ubuntu precise(12.04), trusty(14.04), xenial(16.04), wily(15.10), yakkety(16.10)에서만 존재합니다.

예를 들어 Ubuntu 20.04 LTS(Focal)에 MariaDB 10.5.9 저장소를 구성하려고 하는 경우, 먼저 존재하는 MariaDB 저장소 소스 목록 파일을 /etc/apt/sources.list.d/ 폴더에서 지운 후, 다음 명령어를 사용하여 apt-get 저장소에 추가할 수 있다.

sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el,s390x] http://archive.mariadb.org/mariadb-10.5.9/repo/ubuntu/ focal main main/debug'

문제가 생길 경우 signing key(MariaDB GPG Public Key)가 설치되어 있는지 확인하십시오.

(영문 Importing the MariaDB GPG Public Key)

Ubuntu Xenial 및 이전 버전에는 다음이 필요합니다 :

sudo apt-get install -y apt-transport-https

그런 다음 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다. (패키지 캐시를 업데이트 안할 경우 apt에서 인식을 못할 수 있습니다.) :

sudo apt update

MariaDB APT 리포지토리를 새로운 주요 릴리스로 업데이트

(Updating the MariaDB APT repository to a New Major Release)

MariaDB의 apt 저장소를 새로운 주요 릴리스로 업데이트할 수 있습니다. 이 작업을 수행하는 방법은 원래 저장소를 구성한 방법에 따라 다릅니다.

MariaDB 패키지 저장소 설정 스크립트로 주요 릴리스 업데이트

(with the MariaDB Package Repository Setup Script)

당신이 MariaDB 재단의 MariaDB Package Repository에서 제공한 MariaDB Package Repository setup script를 사용하여 apt에 구성하였었다면, 스크립트 다시 실행하여 주 리릴스를 업데이트할 수 있습니다.

MariaDB 저장소 구성 도구로 주요 릴리스 업데이트

( with the MariaDB Repository Configuration Tool)

당신이 MariaDB 재단의 MariaDB Package Repository에서 제공한 MariaDB Repository Configuration Tool을 사용하여 apt에 구성하였었다면, 원래 저장소를 추가한 방법에 따라 다양한 방법으로 주요 릴리스를 업데이트할 수 있습니다.

add-apt-repository로 리포지토리 업데이트

(with add-apt-repository)

당신이 add-apt-repository 명령어를 사용하여 apt에 추가하였다면, add-apt-repository 명령어를 다시 사용하여 주요 릴리스를 업데이트할 수 있습니다.

먼저 /etc/apt/sources.list 에서 이전 버전에 대한 저장소 문자열을 찾습니다.

그다음 add-apt-repository 명령어에 --remove 옵션을 사용하여 예전 버전의 리포지토리를 삭제할 수 있습니다. 예를 들어, MariaDB 10.2 리포지토리를 삭제하길 원한다면, 다음과 같이 실행하면 됩니다 :

sudo add-apt-repository --remove 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic main'

그런 다음, add-apt-repository 명령어를 사용하여 새로운 버전의 저장소를 추가할 수 있습니다. 예를 들어, Ubuntu 18.04 LTS (Bionic)에 MariaDB 10.3를 설치하고 싶은 경우, 다음과 같이 실행하면 MariaDB apt 리포지토리를 추가할 수 있습니다.:

sudo apt-get install software-properties-common
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main'

그런 다음 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다. (패키지 캐시를 업데이트 안할 경우 apt에서 인식을 못할 수 있습니다.) :

sudo apt update

그런 다음 apt 리포지토리는, MariaDB 10.3을 참조합니다.

Source List File을 수정한 경우

/etc/apt/sources.list.d/ 폴더 안에 source list 파일을 생성하여 apt 리포지토리에 추가한 경우, 그 소스 목록 파일을 수정하여 사용하는 주요 릴리스를 업데이트할 수 있습니다. 예를 들어, MariaDB 10.2에서 MariaDB 10.3으로 변경하고자 한다면 /etc/apt/sources.list.d/MariaDB.list 소스 목록 파일 아래와 같이 변경할 수 있습니다.:

sudo sed -i 's/10.2/10.3/' /etc/apt/sources.list.d/MariaDB.list

그런 다음 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다. (패키지 캐시를 업데이트 안할 경우 apt에서 인식을 못할 수 있습니다.) :

sudo apt update

그런 다음 apt 리포지토리는, MariaDB 10.3을 참조합니다.

MariaDB GPG 공개키 가져오기

Importing the MariaDB GPG Public Key

MariaDB를 설치하기 전에 저장소에 있는 패키지의 디지털 서명을 확인하는 데 사용되는 GPG 공개 키도 가져와야 합니다. 이렇게 하면 apt유틸리티가 설치하는 패키지의 무결성을 확인할 수 있습니다.

  • Debian 9(Stretch), Debian Unstable(Sid), Ubuntu 16.04 LTS(Xenial) 이전에는 GPG 공개키의 ID가 0xcbcb082a1bb943db. 전체 키 지문은 다음과 같습니다 :
1993 69E5 404B D5FC 7D2F E43B CBCB 082A 1BB9 43DB

apt-key유틸리티를 사용하여 공개키를 가져올 수 있습니다. 예를 들어:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
  • Debian 9(Stretch) 및 Ubuntu 16.04 LTS(Xenial)부터 GPG 공개 키의 ID는 0xF1656F24C74CD1D8. 전체 키 지문은 다음과 같습니다.:
177F 4010 FE56 CA33 3630  0305 F165 6F24 C74C D1D8

apt-key유틸리티를 사용하여 공개키를 가져올 수 있습니다. 예를 들어:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8

Debian 9 (Stretch) 버전부터는 GPG public key를 가져오기 위해서는 dirmngr 패키지를 설치해야 합니다. dirmngr 설치 명령어: sudo apt install dirmngr

어떤 GPG 공개 키가 필요한지 확실하지 않은 경우 두 키를 모두 가져오는 것이 안전합니다.

GPG 공개 키를 가져오는 데 사용되는 명령은 데비안과 우분투 모두에서 동일합니다. 예를 들어:

$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.ASyOPV87XC --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
gpg: key 1BB943DB: "MariaDB Package Signing Key <package-signing-key@mariadb.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1

GPG 공개 키를 가져오면 저장소에서 패키지를 설치할 준비가 된 것입니다.

APT로 MariaDB 패키지 설치

Installing MariaDB Packages with APT

apt 리포지토리를 구성한 후, apt-get 명령어를 통해 당신은 MariaDB를 설치할 수 있습니다. apt-get 명령어는 설치하려는 특정 패키지에 따라 다릅니다.

APT로 가장 일반적인 패키지 설치하기

Installing the Most Common Packages with APT

가장 일반적인 패키지를 설치하려면 먼저 다음 명령어를 실행하여 패키지 캐시를 업데이트해야 합니다 :

sudo apt update
MariaDB starting with 10.4

MariaDB 10.4 이상 에서 가장 일반적인 패키지를 설치하려면 다음 명령을 실행합니다 :

sudo apt-get install mariadb-server galera-4 mariadb-client libmariadb3 mariadb-backup mariadb-common
MariaDB 10.2 - 10.3

MariaDB 10.2MariaDB 10.3 에서 가장 일반적인 패키지를 설치하려면 다음 명령을 실행합니다 :

sudo apt-get install mariadb-server galera mariadb-client libmariadb3 mariadb-backup mariadb-common
MariaDB until 10.1

MariaDB 10.1 및 이전 버전 에서 가장 일반적인 패키지를 설치하려면 다음 명령을 실행합니다 :

sudo apt-get install mariadb-server galera mariadb-client libmysqlclient18 mariadb-backup mariadb-common

APT로 MariaDB Server 설치

Installing MariaDB Server with APT

MariaDB 서버를 설치하려면 먼저 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다 :

sudo apt update

그런 다음 다음 명령을 실행합니다 :

sudo apt-get install mariadb-server

APT로 MariaDB Galera Cluster 설치

Installing MariaDB Galera Cluster with APT

MariaDB Galera Cluster를 설치하는 것은 MariaDB apt-get 리포지토리를 이용하여 표준 MariaDB Server를 설치하는 것과 사실상 같습니다.

MariaDB 10.4 이상에서는, Galera Cluster support는 표준 MariaDB Server 패키지에 포함되어있기 때문에 그냥 mariadb-server package를 설치하면 됩니다.

MariaDB 10.4 이상에서는, galera-4를 사용하기 위해 Galera 4 패키지를 설치해야 합니다. In MariaDB 10.4 and later, you also need to install the galera-4 package to obtain the Galera 4 wsrep provider library.

MariaDB 10.3 및 이전 버전 에서는, Galera 3 wsrep provider library를 사용하기 위해 galera-3 package를 설치해야합니다. In MariaDB 10.3 and before, you also need to install the galera-3 package to obtain the Galera 3 wsrep provider library.

MariaDB Galera Cluster를 설치하려면 먼저 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다 :

sudo apt update
MariaDB starting with 10.4

MariaDB 10.4 이상에서 MariaDB Galera Cluster를 설치하려면 다음 명령을 실행할 수 있습니다 :

sudo apt-get install mariadb-server mariadb-client galera-4
MariaDB until 10.3

MariaDB 10.3 및 이전 버전 에서 MariaDB Galera Cluster를 설치하려면 다음 명령을 실행할 수 있습니다 :

sudo apt-get install mariadb-server mariadb-client galera-3

MariaDB Galera Cluster에는 버전 별로 맞는 arbitrator nodes(중재자 노드) 패키지를 설치하여 사용하여야 합니다. MariaDB 10.4 이상에서는 galera-arbitrator-4 패키지를 사용해야 하며, MariaDB 10.3 이전 버전에서는 galera-arbitrator-3 패키지를 사용해야 합니다. 이 패키지는 중재자로 사용하려는 모든 노드에 설치해야 합니다. 권장 구성인 클러스터 노드로 작동하지 않는 별도의 서버에서 실행하거나 기존 클러스터 노드로도 작동하는 서버에서 실행할 수 있습니다. MariaDB Galera Cluster also has a separate package that can be installed on arbitrator nodes. In MariaDB 10.4 and later, the package is called galera-arbitrator-4 In MariaDB 10.3 and before, the package is called galera-arbitrator-3. This package should be installed on whatever node you want to serve as the arbitrator. It can either run on a separate server that is not acting as a cluster node, which is the recommended configuration, or it can run on a server that is also acting as an existing cluster node.

MariaDB starting with 10.4

MariaDB 10.4 이상 에서 중재자 패키지를 설치하려면 다음 명령을 실행할 수 있습니다 :

sudo apt-get install galera-arbitrator-4
MariaDB until 10.3

MariaDB 10.3 및 이전 버전 에서는 중재자 패키지를 설치하기 위해 다음 명령을 실행할 수 있습니다 :

sudo apt-get install galera-arbitrator-3

MariaDB Galera Cluster에 대한 자세한 내용은 MariaDB Galera Cluster를 참조하십시오.

APT로 MariaDB 클라이언트 및 클라이언트 라이브러리 설치

Installing MariaDB Clients and Client Libraries with APT

MariaDB 10.2 이상 에서는, MariaDB Connector/C 가 클라이언트 라이브러리로 포함되었습니다.

클라이언트 및 클라이언트 라이브러리를 설치하려면 먼저 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다 :

sudo apt update

그런 다음 MariaDB 10.2 이상에서 다음 명령을 실행합니다 :

sudo apt-get install mariadb-client libmariadb3

또는 MariaDB 10.1 및 이전 버전에서는 다음 명령을 실행합니다 :

sudo apt-get install mariadb-client libmysqlclient18

APT로 Mariabackup 설치

Installing Mariabackup with APT

Mariabackup을 설치하려면 먼저 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다:

sudo apt update

그런 다음 다음 명령을 실행합니다 :

sudo apt-get install mariadb-backup

APT로 플러그인 설치하기

Installing Plugins with APT

일부 plugins 을 설치해야 할 수도 있습니다.

예를 들어, 비밀번호 유효성 검사 플러그인인 cracklib_password_check를 설치하려면 먼저 다음 명령을 실행하여 패키지 캐시를 업데이트해야 합니다 :

sudo apt update

그런 다음 다음 명령을 실행합니다 :

sudo apt-get install mariadb-cracklib-password-check

리포지토리에서 이전 버전 설치

Installing Older Versions from the Repository

MariaDB apt 리포지토리에는 MariaDB의 마지막 몇 가지 버전이 포함되어 있습니다. 사용 가능한 버전을 표시하려면 다음 apt-cache 명령어를 사용하십시오 :

sudo apt-cache showpkg mariadb-server

사용 가능한 버전이 표시됩니다.

최신 버전 대신 이전 버전의 패키지를 설치하려면 패키지 이름, 등호, 버전 번호를 지정하기만 하면 됩니다.

그러나 패키지 이름, 등호, 버전 번호만을 지정하여 이전 버전의 패키지를 설치할 경우, apt-get이 종속성이 있는 패키지를 설치할 경우 해당 패키지의 최신 버전을 자동으로 선택하여 설치합니다. 이 과정에서 모든 MariaDB 패키지들이 동일한 버전으로 설치하려면 모두 명시를 해주어야 합니다. apt 리포지토리에 종속된 패키지들을 명시하여 MariaDB 10.3.14를 설치하기 위해서는 다음을 수행합니다 :

sudo apt-get install mariadb-server=10.3.14-1 mariadb-client=10.3.14-1 libmariadb3=10.3.14-1 mariadb-backup=10.3.14-1 mariadb-common=10.3.14-1

그러면 다 정상 설치 및 작동됩니다. The rest of the install and setup process is as normal.

dpkg를 사용한 MariaDB 설치

권장되지는 않지만 .deb패키지를 수동으로 다운로드하여 설치할 수 있습니다. 그러나 일반적으로 apt-get와 같은 패키지 관리자를 사용하는 것이 좋습니다.

deb 패키지가 포함된 tarball(여러 파일을 하나로 묶어주는 tar 압축 파일을 일컫는 전문 용어)은 다음 URL에서 다운로드할 수 있습니다.

예를 들어 Ubuntu 18.04 LTS(Bionic)에 MariaDB 10.4.8 .deb 패키지를 설치하려면 다음을 실행할 수 있습니다.:

sudo apt-get update
sudo apt-get install libdbi-perl libdbd-mysql-perl psmisc libaio1 socat
wget https://downloads.mariadb.com/MariaDB/mariadb-10.4.8/repo/ubuntu/mariadb-10.4.8-ubuntu-bionic-amd64-debs.tar
tar -xvf mariadb-10.4.8-ubuntu-bionic-amd64-debs.tar
cd mariadb-10.4.8-ubuntu-bionic-amd64-debs/
sudo dpkg --install ./mariadb-common*.deb \
   ./mysql-common*.deb \
   ./mariadb-client*.deb \
   ./libmariadb3*.deb \
   ./libmysqlclient18*.deb 
sudo dpkg --install ./mariadb-server*.deb \
   ./mariadb-backup*.deb \
   ./galera-4*.deb 

설치 후

설치가 완료되면 MariaDB 시작 하기를 할 수 있습니다.

만약 당신이 MariaDB Galera Cluster를 사용한다면, bootstrapped를 첫 번째로 참조해 주십시오.

설치시 Issues

MariaDB starting with 5.5

mariadb-servermariadb-client 패키지를 업그레이드 하는 경우

As noted in MDEV-4266, the mariadb-server and mariadb-client packages have a minor upgrade issue if you use 'apt-get install mariadb-server' or 'apt-get install mariadb-client' to upgrade them instead of the more common 'apt-get upgrade'. This is because those two packages depend on mariadb-server-5.5 and mariadb-client-5.5 with no specific version of those packages. For example, if you have the mariadb-server package installed, version 5.5.29 and you install version 5.5.30 of that package it will not automatically upgrade the mariadb-server-5.5 package to version 5.5.30 like you would expect because the 5.5.29 version of that package satisfies the dependency.

The mariadb-server and mariadb-client packages are virtual packages, they only exist to require the installation of the mariadb-server-5.5 and mariadb-client-5.5 packages, respectively. MariaDB will function normally with a, for example, version 5.5.30 version of the mariadb-server package and a version 5.5.29 version of the mariadb-server-5.5 package. No data is at risk. However, expected behavior is for 'apt-get install mariadb-server' to upgrade everything to the latest version (if a new version is available), so this is definitely a bug.

A fix is planned for this bug in a future version of MariaDB. In the mean time, when upgrading MariaDB, use 'apt-get upgrade' or 'apt-get install mariadb-server-5.5'.

사용 가능한 DEB 패키지

사용 가능한 DEB 패키지는 특정 MariaDB 릴리스 시리즈에 따라 다릅니다.

MariaDB 10.4 에서 사용 가능한 DEB 패키지

MariaDB starting with 10.4

MariaDB 10.4 에서는 다음 DEB를 사용할 수 있습니다 :

Package NameDescription
galera-4The WSREP provider for Galera 4.
libmariadb3Dynamic client libraries.
libmariadb-devDevelopment headers and static libraries.
libmariadbclient18Virtual package to satisfy external depends
libmysqlclient18Virtual package to satisfy external depends
mariadb-backupMariabackup
mariadb-clientClient tools like mysql CLI, mysqldump, and others.
mariadb-client-coreCore client tools
mariadb-commonCharacter set files and /etc/my.cnf
mariadb-plugin-connectThe CONNECT storage engine.
mariadb-plugin-cracklib-password-checkThe cracklib_password_check password validation plugin.
mariadb-plugin-gssapi-clientThe client-side component of the gssapi authentication plugin.
mariadb-plugin-gssapi-serverThe server-side component of the gssapi authentication plugin.
mariadb-plugin-rocksdbThe MyRocks storage engine.
mariadb-plugin-spiderThe SPIDER storage engine.
mariadb-plugin-tokudbThe TokuDB storage engine.
mariadb-serverThe server and server tools, like myisamchk and mysqlhotcopy are here.
mariadb-server-coreThe core server.
mariadb-testmysql-client-test executable, and mysql-test framework with the tests.
mariadb-test-dataMariaDB database regression test suite - data files

MariaDB 10.2MariaDB 10.3 에서 사용 가능한 DEB 패키지

MariaDB starting with 10.2

MariaDB 10.2MariaDB 10.3 에서는 다음 DEB를 사용할 수 있습니다:

Package NameDescription
galeraThe WSREP provider for Galera 3.
libmariadb3Dynamic client libraries.
libmariadb-devDevelopment headers and static libraries.
libmariadbclient18Virtual package to satisfy external depends
libmysqlclient18Virtual package to satisfy external depends
mariadb-backupMariabackup
mariadb-clientClient tools like mysql CLI, mysqldump, and others.
mariadb-client-coreCore client tools
mariadb-commonCharacter set files and /etc/my.cnf
mariadb-plugin-connectThe CONNECT storage engine.
mariadb-plugin-cracklib-password-checkThe cracklib_password_check password validation plugin.
mariadb-plugin-gssapi-clientThe client-side component of the gssapi authentication plugin.
mariadb-plugin-gssapi-serverThe server-side component of the gssapi authentication plugin.
mariadb-plugin-rocksdbThe MyRocks storage engine.
mariadb-plugin-spiderThe SPIDER storage engine.
mariadb-plugin-tokudbThe TokuDB storage engine.
mariadb-serverThe server and server tools, like myisamchk and mysqlhotcopy are here.
mariadb-server-coreThe core server.
mariadb-testmysql-client-test executable, and mysql-test framework with the tests.
mariadb-test-dataMariaDB database regression test suite - data files

MariaDB 10.1에서 사용 가능한 DEB Packages

MariaDB starting with 10.1

MariaDB 10.1 에서는 다음 DEB를 사용할 수 있습니다.:

Package NameDescription
galeraThe WSREP provider for Galera 3.
libmysqlclient18Dynamic client libraries.
mariadb-backupMariabackup
mariadb-clientClient tools like mysql CLI, mysqldump, and others.
mariadb-client-coreCore client tools
mariadb-commonCharacter set files and /etc/my.cnf
mariadb-plugin-connectThe CONNECT storage engine.
mariadb-plugin-cracklib-password-checkThe cracklib_password_check password validation plugin.
mariadb-plugin-gssapi-clientThe client-side component of the gssapi authentication plugin.
mariadb-plugin-gssapi-serverThe server-side component of the gssapi authentication plugin.
mariadb-plugin-spiderThe SPIDER storage engine.
mariadb-plugin-tokudbThe TokuDB storage engine.
mariadb-serverThe server and server tools, like myisamchk and mysqlhotcopy are here.
mariadb-server-coreThe core server.
mariadb-testmysql-client-test executable, and mysql-test framework with the tests.
mariadb-test-dataMariaDB database regression test suite - data files

DEB 패키지가 수행하는 작업

사용자 및 그룹 생성

mariadb-server DEB package를 설치할 경우, mysql이라는 사용자 및 그룹이 없는 경우 mysql이라는 사용자 및 그룹이 생성됩니다.

다른자료들

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.