- 최신
- 최다 투표
- 가장 많은 댓글
Hi Which AMI are you using? On Amazon Linux 2023, you need to try "yum install -y mariadb105-server".
On RPM based system, you can list the packages available using "yum list | grep -i maria" to find available versions if the above command does not work
--Syd
Could you please advise which AMI you are using, the latest Amazon Linux 2023 AMI or Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type, and also check the version of PHP. Every question has its own merit - I actually do not know your situation.
If you use Amazon Linux 2 AMI, please apply the following commands:
$sudo yum update -y
$sudo amazon-linux-extra | grep mariadb
$sudo amazon-linux-extra install -y mariadb10.5 ((note, choose your own version)
For Amazon Linux 2023 AMI follow the link:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2023.html
Thanks! There is also "yum list available maria*"