denishpatel / pygmy

Pygmy: Saving AWS Bills on Standby DB Servers
5 stars 1 forks source link

install pg_terminator #32

Open denishpatel opened 3 years ago

denishpatel commented 3 years ago
sudo apt install ruby
sudo apt-get install postgresql-client libpq5 libpq-dev
sudo apt-get install ruby-dev build-essential
sudo gem install pg
git clone https://gitlab.com/depesz/pg_terminator.git
cd pg_terminator
denishpatel commented 3 years ago

Execute:

ubuntu@ip-172-31-91-100:~/pygmy/scripts/pg_terminator$ /home/ubuntu/pygmy/scripts/pg_terminator/pg_terminator --config config.yaml
2021-04-23 20:28:39 Trying to load config from /home/ubuntu/pygmy/scripts/pg_terminator/config.yaml
2021-04-23 20:28:39 Redirecting log to /tmp/pg_terminator.log