Created
July 13, 2015 20:06
-
-
Save erikroyall/97a2c72e273efaa8510e to your computer and use it in GitHub Desktop.
LAMP Stack Install Script Ubuntu 14.04
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
apt-get update | |
apt-get install apache2 | |
apt-get install mysql-server php5-mysql | |
mysql_install_db | |
mysql_secure_installation | |
apt-get install php5 libapache2-mod-php5 php5-mcrypt | |
sed -i.bak s/DirectoryIndex index.html index.cgi index.pl index.php/DirectoryIndex index.php index.html index.cgi index.pl/g /etc/apache2/mods-enabled/dir.conf | |
service apache2 restart | |
apt-get install php5-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment