Last active
October 10, 2015 13:20
-
-
Save srijanshetty/20bff46d483e0fd30475 to your computer and use it in GitHub Desktop.
LAMP setup
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
# Install LAMP stack - Apache, MySQL, PHP | |
# as per http://fideloper.com/ubuntu-install-php54-lamp and/or http://fideloper.com/ubuntu-12-04-lamp-server-setup | |
sudo apt-get update # Update package repositories | |
sudo apt-get install -y git-core wget vim curl build-essential python-software-properties zsh # Install basics | |
sudo add-apt-repository -y ppa:ondrej/php5 # Add repository for php5.5 and Apache 2.4 | |
sudo apt-get update # Update package repositories again after adding repository | |
sudo apt-get install -y php5 php5-mcrypt php5-gd php5-curl php5-mysql # Install PHP and common modules | |
sudo apt-get install -y apache2 libapache2-mod-php5 # Install Apache2 | |
sudo apt-get install -y mysql-server # Install MySQL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment