Last active
August 29, 2015 13:57
-
-
Save bagf/9604380 to your computer and use it in GitHub Desktop.
Installs PHP dependancies, mysql-server, sass and compass
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
#!/bin/sh | |
# Update apt | |
echo "Update apt..." | |
apt-get -q=2 update | |
# Stop interaction | |
echo mysql-server mysql-server/root_password password unsafepassword | debconf-set-selections | |
echo mysql-server mysql-server/root_password_again password unsafepassword | debconf-set-selections | |
# Download and install | |
echo "Downloading and installing..." | |
apt-get install -q=2 mysql-client mysql-server mysql-common libmcrypt-dev ruby-full rubygems1.8 memcached unzip zip | |
echo "Downloading and installing compass..." | |
gem install sass | |
gem install compass | |
echo "Installing php5 build dependencies..." | |
apt-get build-dep -q=2 php5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment