Created
January 16, 2015 20:52
-
-
Save marinhero/f99a97f714c50ba550bf to your computer and use it in GitHub Desktop.
Setup.sh
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 | |
#Author: Marin Alcaraz | |
#Fast LAMPP stack install | |
apt-get -y update | |
apt-get -y install apache2 | |
apt-get -y install mysql-server libapache2-mod-auth-mysql php5-mysql | |
mysql_install_db | |
/usr/bin/mysql_secure_installation | |
apt-get install -y php5 libapache2-mod-php5 php5-mcrypt | |
apt-get install -y phpmyadmin | |
vim /etc/phpmyadmin/apache.conf | |
service apache2 restart | |
echo "ServerName localhost" >> /etc/apache2/apache2.conf | |
echo "ServerSignature off" >> /etc/apache2/apache2.conf | |
echo "ServerTokens prod" >> /etc/apache2/apache2.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install script for LAMPP stack in Ubuntu 14.04