Created
May 17, 2017 20:34
-
-
Save begriffs/935b97623d52c691246840e1d3e042c4 to your computer and use it in GitHub Desktop.
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
# Launch new server | |
# Ubuntu Server 16.04 LTS (HVM), SSD Volume Type - ami-2afbde4a | |
# all the default configuration settings | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | \ | |
sudo tee /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ | |
sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install -y postgresql-server-dev-9.5 postgresql-9.5 \ | |
libedit-dev libselinux1-dev libxslt-dev \ | |
libpam0g-dev git flex make libssl-dev libkrb5-dev | |
git clone https://github.com/citusdata/citus.git | |
cd citus | |
git checkout v5.2.2 | |
./configure | |
make | |
sudo make install | |
sudo pg_conftool 9.5 main set shared_preload_libraries citus | |
sudo pg_ctlcluster 9.5 main restart | |
sudo su - postgres | |
psql --cluster 9.5/main -c "CREATE EXTENSION citus;" | |
exit | |
# current location of master branch | |
git checkout b94285c575 | |
./configure | |
make | |
sudo make install | |
sudo pg_ctlcluster 9.5 main restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is called
crash.sh
. Is there an actual crash here?