Debian 10 安裝 MariaDB 10.5

  • 安裝環境 : Debian GNU/Linux 10.10
  • 建立 APT Repo

    sudo -i
    apt-get install software-properties-common dirmngr
    apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
    add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.5/debian buster main'

  • 安裝 MariaDB Server

    apt update
    apt install mariadb-server

  • 初始化設定

    systemctl start mariadb
    systemctl enable mariadb
    mysql_upgrade
    mysql_secure_installation
    mysql -u root -p

  • tech/debian10_mariadb10.txt
  • 上一次變更: 2021/07/03 10:58
  • jonathan