Skip to content

Instantly share code, notes, and snippets.

@sebastianwebber
Created August 3, 2015 14:39
Show Gist options
  • Select an option

  • Save sebastianwebber/483876679625608bc16a to your computer and use it in GitHub Desktop.

Select an option

Save sebastianwebber/483876679625608bc16a to your computer and use it in GitHub Desktop.
#!/bin/bash
yum install python-setuptools python-psutil python-psycopg2 git gcc make postgresql93-devel -y
export PATH="/usr/pgsql-9.3/bin:$PATH"
mkdir /opt/resources
cd /opt/resources
git clone https://github.com/julmon/pg_activity.git
cd pg_activity/
python setup.py install --with-man
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment