Last active
June 1, 2016 20:07
-
-
Save mesaque/a46871f050ace09e5387af201b634a18 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
# criar um apache local | |
docker run -d --name apache --hostname localhost -p 80:80 -v /var/www/html:/var/www/html php:5.6.20-apache | |
docker exec apache docker-php-ext-install mysql mysqli | |
docker exec apache a2enmod rewrite | |
#cria usuario mysql | |
CREATE USER 'docker'@'%'; | |
GRANT ALL PRIVILEGES ON *.* TO 'docker'@'%' WITH GRANT OPTION; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment