Last active
August 29, 2015 14:06
-
-
Save portabilisgist/fc64c83eea6618e66b42 to your computer and use it in GitHub Desktop.
Instalação apache, php e pgvm
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
# @author: Lucas D'Ávila (Portabilis) | |
echo -e "\n\n** Atualizando apt-get" | |
sudo apt-get update -y | |
echo -e "\n\n** Instalando git" | |
sudo apt-get install -y git-core | |
echo -e "\n\n** Instalando apache e mod_rewrite" | |
sudo apt-get install -y apache2 | |
sudo a2enmod rewrite | |
sudo service apache2 restart | |
echo -e "\n\n** Instalando php5" | |
sudo apt-get install -y libapache2-mod-php5 php5-pgsql | |
echo -e "\n\n** Instalando pear" | |
sudo apt-get install -y php-pear | |
sudo service apache2 restart | |
echo -e "\n\n** Instalando pgvm" | |
curl -s -L https://raw.github.com/guedes/pgvm/master/bin/pgvm-self-install | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment