I referred to the link https://blog.adminfactory.net/mariadb-and-galera-on-aws-amazon-linux.html to install the mariadb on my amazon linux, since I did not find any other resource related to amazon linux. This instructs to add maria.repo.
When I visit the suggested URL I did not find anything related to amazon linux. I tried using centos 7. It threw up error. Is there any mariadb repo for amazon linux.
The error is
Error: Package: MariaDB-server-10.1.13-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd-daemon.so.0()(64bit)
Error: Package: MariaDB-server-10.1.13-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Is it ok if I continue and install libsystemd-daemon.so
I just found another question here the advice is to use linux OS. No solution on how to install Mariadb on amazon linux.
Best Answer
I was able to install the MariaDB 5.5 CentOS repository list (created 2016-05-09 04:06 UTC).
Create the following file:
Add the following contents to the file and save:
Then run the following commands:
You should be all set. Run
mysql -u root
to log in.You can secure MariaDB with the following command:
More information: https://mariadb.com/kb/en/mariadb/mysql_secure_installation/
Fortunately, I was trying to install MariaDB on Amazon Linux, myself. Just now I got it to work as above.