Skip to content

Instantly share code, notes, and snippets.

@portabilisgist
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save portabilisgist/fc64c83eea6618e66b42 to your computer and use it in GitHub Desktop.
Save portabilisgist/fc64c83eea6618e66b42 to your computer and use it in GitHub Desktop.
Instalação apache, php e pgvm
# @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