Skip to content

Instantly share code, notes, and snippets.

@sebastianwebber
Created October 23, 2015 13:57
Show Gist options
  • Select an option

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

Select an option

Save sebastianwebber/d3dba425475b2f82db69 to your computer and use it in GitHub Desktop.
PostgreSQL Tools SETUP

PostgreSQL Tools SETUP

Tested on el7 system.

Software recomendado:

Dependencias

1 . Instale o repositório do EPEL e PGDG:

yum install \
http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-2.noarch.rpm \
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Htop. ATOP e pg_activity

1 . Instale os pacotes abaixo:

yum install htop atop pg_activity

pg_view

1 . Instale os pacotes abaixo:

yum install git

1 . Baixe o repositorio do pg_view:

git clone https://github.com/zalando/pg_view.git

1 . Instale o pg_view:

cd pg_view
python setup.py install

1 . Crie o arquivo de configuração necessário:

cd pg_view
python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment