Last active
January 12, 2017 16:58
-
-
Save ammario/8dcf1a1d757b970de7aaee5e9cbe61b2 to your computer and use it in GitHub Desktop.
Install Adminer w/ Apache
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/bash | |
yum -y install httpd php php-mysql mariadb mariadb-server wget | |
sed -i 's/Listen 80/Listen 8080/g' /etc/httpd/conf/httpd.conf | |
service httpd restart | |
service mariadb restart | |
mkdir -p /var/www/html/ | |
wget -O /var/www/html/adminer.php https://www.adminer.org/static/download/4.2.5/adminer-4.2.5-mysql.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment