Created
December 7, 2019 17:38
-
-
Save badhonhitech/b950a3f2a9492f6992f9d1cd3d101d89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
mysql --version | |
sudo apt install mariadb-server | |
sudo mysql_secure_installation | |
Enter current password for root (enter for none): Just press the Enter | |
Set root password? [Y/n]: Y | |
New password: Enter password | |
Re-enter new password: Repeat password | |
Remove anonymous users? [Y/n]: Y | |
Disallow root login remotely? [Y/n]: Y | |
Remove test database and access to it? [Y/n]: Y | |
Reload privilege tables now? [Y/n]: Y | |
sudo systemctl start mariadb.service | |
sudo systemctl status mariadb.service | |
sudo systemctl stop mariadb.service | |
sudo systemctl start mariadb.service | |
sudo systemctl enable mariadb.service | |
sudo systemctl restart mariadb.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment