Created
March 1, 2016 11:47
-
-
Save jose8a/ebb986e668ed8a5b5052 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
#!/bin/bash | |
### Install and configure | |
sudo apt-get update | |
sudo apt-get install mysql-server libapache2-mod-auth-mysql | |
### Post-install, activate the db | |
sudo mysql_install_db | |
sudo /usr/bin/mysql_secure_installation | |
### Leave root password blank, and decline changing password at end of install | |
### Connect to mysql | |
mysql -u root -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment