Skip to content

Instantly share code, notes, and snippets.

@gourneau
Created April 16, 2013 23:16
Show Gist options
  • Save gourneau/5400465 to your computer and use it in GitHub Desktop.
Save gourneau/5400465 to your computer and use it in GitHub Desktop.
Install pg_activity on Ubuntu 10.04 from source
#https://github.com/julmon/pg_activity
#install
sudo aptitude install postgresql-server-dev-8.4 python-virtualenv
virtualenv --no-site-packages venv
source venv/bin/activate
sudo chmod -R 777 /usr/share/man/man1/
pip install https://github.com/julmon/pg_activity/archive/master.zip
#run
source venv/bin/activate
pg_activity -U postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment