Created
March 18, 2017 00:08
-
-
Save dclarke-modus/ef8fcf89a1dfc8de6e774ff1ba0ad900 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192 | |
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5 | |
echo "--- Add PHP Apt Repository ---" | |
sudo add-apt-repository ppa:ondrej/php | |
echo "--- Add Ubuntu (for MySQL) Apt Repository ---" | |
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe' | |
echo "--- Update Apt Repositories ---" | |
sudo apt-get update | |
echo "--- Install Apt Packages ---" | |
export DEBIAN_FRONTEND=noninteractive | |
sudo -E apt-get --allow-unauthenticated install -y nginx php5.6-fpm php5.6 php5.6-xml php5.6-mcrypt php5.6-curl php5.6-mysql php5.6-soap php5.6-zip php5.6-gd php5.6-mbstring aspell aspell-en ghostscript openjdk-8-jre-headless mysql-client-5.6 mysql-server-5.6 postfix mailutils |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment