Skip to content

Instantly share code, notes, and snippets.

@Jan-Bart
Created June 28, 2013 17:17
Show Gist options
  • Save Jan-Bart/5886374 to your computer and use it in GitHub Desktop.
Save Jan-Bart/5886374 to your computer and use it in GitHub Desktop.
Start developing right away
#!/bin/bash
# Version 1 - 27/06/2013
# On a new computer, check if everything exists
# if not, install it
GITVERSION=$(which git)
if [[ $GITVERSION ]]
then
echo "Git is already installed. Hooray!"
else
echo "Git doesn't exist yet"
echo "Let's fix that..."
sudo apt-get install git
fi
# Setup a lamp evironment
sudo apt-get install php5 && sudo apt-get install phpmyadmin && sudo apt-get install apache2 && sudo apt-get install mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment