Last active
March 5, 2020 01:03
-
-
Save lfalanga/5f6f185acb1b624e4d173ef54e1a6f55 to your computer and use it in GitHub Desktop.
This file contains 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
# Install MySQL Server | |
sudo apt-get update | |
sudo apt-get install mysql-server | |
# Launch the MySQL Secure Installation | |
# This utility prompts you to define the mysql root password and other | |
# security-related options, including removing remote access to the root user | |
# and setting the root password. | |
sudo mysql_secure_installation utility | |
# Start MySQL Service | |
sudo systemctl start mysql | |
# Launch and reboot MySQL Service | |
sudo systemctl enable mysql | |
# Restart MySQL Service | |
sudo systemctl restart mysql | |
# Making a link to phpMyAdmin directory | |
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment