3 Answers
- Newest
- Most votes
- Most comments
0
For Amazon Linux2, follow the steps below to add a repository.
https://mariadb.org/download/?t=repo-config&d=CentOS+7&v=10.11&r_m=xtom_jp
sudo amazon-linux-extras install epel -y
sudo yum update -y
sudo vi /etc/yum.repos.d/MariaDB.repo
# MariaDB 10.11 CentOS repository list - created 2023-06-07 08:48 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/10.11/centos/$releasever/$basearch
baseurl = https://mirrors.xtom.jp/mariadb/yum/10.11/centos/$releasever/$basearch
module_hotfixes = 1
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirrors.xtom.jp/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
sudo yum install MariaDB-server MariaDB-client -y
I don't know how to do this for Amazon Linux 2023 and will add it when I figure it out.
0
I am seeing that you have commented out # baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
instead you are using baseurl = https://mirrors.xtom.jp/mariadb/yum/10.11/rhel/9/$basearch
. Is this source mirrors.xtom.jp
reliable ?
By the way thanks a ton you saved my day. But, I am unsure if i should install through mirrors, I am concerned about security issues still.
answered a year ago
0
For ARM:
cat << EOF | sudo tee /etc/yum.repos.d/MariaDB.repo
# MariaDB 11.4 RedHatEnterpriseLinux repository list - created 2024-08-13 06:05 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/11.4/rhel/$releasever/$basearch
baseurl = https://mirrors.gigenet.com/mariadb/yum/11.4/rhel/9/aarch64
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirrors.gigenet.com/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
EOF
sudo dnf install -y MariaDB-server MariaDB-client MariaDB-devel
answered 2 months ago
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 months ago
For Amazon Linux 2023, MariaDB 10.11 was installed by adding the following repository. https://mariadb.org/download/?t=repo-config&d=Red+Hat+Enterprise+Linux+9&v=10.11&r_m=xtom_jp
The point is that for Amazon Linux2 we used the repository for CentOS7 and for Amazon Linux2023 we used the repository for RHEL9.