Установите MariaDB 10.0 на Ubuntu 18.04

Я относительно новичок в Linux. Может кто-нибудь, пожалуйста, помогите мне, как установить MariaDB версии 10.0 и не новее?

1 ответ

Вы должны сделать следующее:

Создайте файл MariaDB.list в /etc/apt/sources.list.d/ со следующим содержимым, чтобы добавить репозиторий MariaDB apt:

# MariaDB 10.0 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.0/ubuntu bionic main
deb-src http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu bionic main

А потом:

sudo apt update
sudo apt install mariadb-server

Я надеюсь, что это работает для вас.

Источники:

https://mariadb.com/kb/en/library/installing-mariadb-deb-files/

https://linuxize.com/post/how-to-install-mariadb-on-ubuntu-18-04/

К сожалению, MariaDB 10.0 не поддерживается в Ubuntu 18.04:(

Вы можете установить MDB 10.0 в Ubuntu 16.04 или MDB 10.1 в 18.04: https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=bionic--ubuntu_bionic&mirror=harukasan&version=10.0

Другие вопросы по тегам