Install MariaDB 10 di CentOS
Langkah installasi MariaDB 10 di centos.
Update system
Update system
sudo yum update
tambahkan repository:
/etc/yum.repos.d/MariaDB.repo
[mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
install MariaDB client dan server
sudo yum install MariaDB-server MariaDB-client
Aktipkan mariaDB
sudo systemctl start mariadb
aktipkan mariaDB setiap kali komputer hidup.
Cek status mariaDB
Terakhir perlu dilakukan pengaktipkan keamanan database
sudo systemctl enable mariadb
Cek status mariaDB
sudo systemctl status mariadb
sudo mysql_secure_installation
Comments