Created
March 25, 2017 07:19
-
-
Save stanwu/f0197437fc423d8fd7d16bcc6db291b0 to your computer and use it in GitHub Desktop.
Auto LAMP server Vagrant script
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
| config.vm.provision "shell", inline: <<-SHELL | |
| apt-get update | |
| apt-get install tasksel | |
| echo Install LAMP server... | |
| echo mysql-server-5.5 mysql-server/root_password password PASSWORD | debconf-set-selections | |
| echo mysql-server-5.5 mysql-server/root_password_again password PASSWORD | debconf-set-selections | |
| apt-get install -y lamp-server^ | |
| SHELL |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
default MySQL password is PASSWORD