当前位置: 代码迷 >> 综合 >> How to install Mariadb in Ubuntu 16.04 LTS
  详细解决方案

How to install Mariadb in Ubuntu 16.04 LTS

热度:97   发布时间:2023-12-15 00:40:22.0

??MariaDB是MySQL开源项目的另一个分支,今天,我们来简要介绍一下如何在Ubuntu 16.04 LTS上安装MariaDB。

  • prepare
sudo apt install install software-properties-common dirmngr apt-transport-https
  • add key
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
  • add sources
sudo tee /etc/apt/sources.list.d/mariadb.list <<-'EOF' deb https://mirrors.aliyun.com/mariadb/repo/10.3/ubuntu xenial main EOF
  • update
apt update
  • install
sudo apt-get install mariadb-server