Monday, April 29, 2024
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 62317  / 3 Years ago, sat, november 6, 2021, 4:30:53

What is the most stable/safest way to install MariaDB?


More From » package-management

 Answers
5

For Precise Pangolin 12.04 LTS




  1. Install the repo manager



    sudo apt-get install python-software-properties

  2. Import the GnuPG signing key



    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db

  3. Modify your sources.list file to add MariadDB



    Open it from terminal (gksudo gedit /etc/apt/sources.list) and add the following lines at the end:




    • For Version 10:



      deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main
      deb-src http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main


      Or have the lines automatically added with:



      sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main' 

    • For Version 5.5:



      deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
      deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main


      Or have the lines automatically added with:



      sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main'


  4. Refresh your system



    sudo apt-get update


  5. And finally install MariaDB



    sudo apt-get install mariadb-server




For further information see the their download page.


[#43175] Sunday, November 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
piscen

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
;