Skip to content

Instantly share code, notes, and snippets.

@marinhero
Created January 16, 2015 20:52
Show Gist options
  • Select an option

  • Save marinhero/f99a97f714c50ba550bf to your computer and use it in GitHub Desktop.

Select an option

Save marinhero/f99a97f714c50ba550bf to your computer and use it in GitHub Desktop.
Setup.sh
#!/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
@marinhero
Copy link
Copy Markdown
Author

Install script for LAMPP stack in Ubuntu 14.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment