2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
Amazon Linux2 can use the same repositories as CentOS7.
So, you can install MariaDB10.8 by configuring as follows.
sudo vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.8/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
0
A similar question was asked a few months ago https://repost.aws/questions/QUnXyhhfEdREqbyDA4Wk90uA/installing-latest-version-of-mariadb-on-amazon-linux-2-and-amazon-linux-2023
The solution for Amazon Linux 2 is to use the repo for CentOS 7 (it's advisable to select a mirror that's geographically closest to you) https://mariadb.org/download/?t=repo-config&d=CentOS+7&v=10.11&r_m=xtom_jp
Relevant content
- asked 7 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks a lot for your Answer. I try this more then once with different base urls and there is every time a not found message, because there is no repo for centos2. But with hardcoded 7 instead $releasever the repo works fine. Thanks a lot. But next thing is: Package(s) mariadb available, but not installed. And now i ask me, why our Vulnerability Scanner tells me an issue...