in this tutorial will teach how to install mariadb in centos7
first, we will need to install the mariadb package on the server.
Server > yum groupisntall mariadb mariadb-client -y
Server > systemctl start mariadb
Server > systemctl enable mariadb
check if maria db now started.
Server > systemctl status mariadb
now, to improve mariadb installation. we can do below item
Server > mysql_secure_installation
this will prompt for root password, remove root access from outside of localhost, remove anonymous account and remove test database.
Open mysql port in firewall
Server > firewall-cmd --permanent --add-service=mysql
Server > firewall-cmd --reload
first, we will need to install the mariadb package on the server.
Server > yum groupisntall mariadb mariadb-client -y
Server > systemctl start mariadb
Server > systemctl enable mariadb
check if maria db now started.
Server > systemctl status mariadb
now, to improve mariadb installation. we can do below item
Server > mysql_secure_installation
this will prompt for root password, remove root access from outside of localhost, remove anonymous account and remove test database.
Open mysql port in firewall
Server > firewall-cmd --permanent --add-service=mysql
Server > firewall-cmd --reload
Comments
Post a Comment