Last active
April 7, 2016 08:49
-
-
Save Metrakit/5fce0698e70ee462f81e to your computer and use it in GitHub Desktop.
Install phpmyadmin on Laravel homestead
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
#!/bin/sh | |
# Content of the file 'after.sh' in ~/.homestead/ | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get --no-install-recommends install -q -y phpmyadmin | |
echo 'phpmyadmin phpmyadmin/dbconfig-install boolean true' | debconf-set-selections | |
echo 'phpmyadmin phpmyadmin/app-password-confirm password secret' | debconf-set-selections | |
echo 'phpmyadmin phpmyadmin/mysql/admin-pass password secret' | debconf-set-selections | |
echo 'phpmyadmin phpmyadmin/mysql/app-pass password secret' | debconf-set-selections | |
dos2unix /vagrant/scripts/serve.sh | |
bash /vagrant/scripts/serve.sh "pma.homestead.app" "/usr/share/phpmyadmin" 80 |
New Homestead (related on Homestead PHP 5.6) :
#!/bin/sh
# Content of the file 'after.sh' in ~/.homestead/
export DEBIAN_FRONTEND=noninteractive
apt-get --no-install-recommends install -q -y phpmyadmin
echo 'phpmyadmin phpmyadmin/dbconfig-install boolean true' | debconf-set-selections
echo 'phpmyadmin phpmyadmin/app-password-confirm password secret' | debconf-set-selections
echo 'phpmyadmin phpmyadmin/mysql/admin-pass password secret' | debconf-set-selections
echo 'phpmyadmin phpmyadmin/mysql/app-pass password secret' | debconf-set-selections
dos2unix /vagrant/scripts/serve-laravel.sh
bash /vagrant/scripts/serve-laravel.sh "pma.homestead.app" "/usr/share/phpmyadmin" 80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
À la fraîche