Install MySQL (MariaDB) on CentOS 7
Step 1 : Login to Server
At first, we need to login to our server via SSH. Open your terminal and run this command:
ssh root@IPaddress -p PORTStep 2 : Install MariaDB
Run this command to install MariaDB:
sudo yum install mariadb mariadb-serverStart MariaDB server:
sudo systemctl start mariadbEnable MariaDB to start at boot:
sudo systemctl enable mariadbRun the mysql_secure_installation the script which will perform several security-related tasks:
sudo mysql_secure_installationStep 3 : Useful Commands
sudo systemctl stop mariadb
sudo systemctl restart mariadb
sudo systemctl reload mariadb
sudo systemctl status mariadbMd Obydullah
Software Engineer | Ethical Hacker & Cybersecurity...
Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.