Created
May 15, 2014 20:41
-
-
Save QuanSai/1af3c686e25d6e6c5fd0 to your computer and use it in GitHub Desktop.
Test run of core dependencies install run.
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
#!/bin/bash | |
#exit upon failure of one of the subprocesses below | |
set -e | |
#install dependencies | |
sudo apt-get update -y -qq | |
sudo apt-get -y install git | |
sudo apt-get -y install postgresql | |
sudo apt-get -y install pgadmin3 | |
sudo apt-get -y install gcc python-dev cifs-utils:i386 | |
sudo apt-get -y install libapache2-mod-wsgi libxml2 libxml2-dev | |
sudo apt-get -y install libxslt1.1 libxslt1-dev unixodbc unixodbc-dev | |
sudo apt-get -y install libldap-2.4-2 libldap-dev libsasl2-2 libsasl2-dev | |
sudo apt-get -y install libjpeg62 libjpeg62-dev zlib1g-dev libfreetype6 | |
sudo apt-get -y install libfreetype6-dev swig | |
sudo apt-get -y install postgres-xc-client | |
sudo apt-get -y install postgres-xc | |
#setup postgres environment | |
sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment