Investigamos en el mundo online y así darte la respuesta para tu inquietud, en caso de alguna pregunta déjanos tu inquietud y contestamos porque estamos para ayudarte.
Ejemplo 1: instalar pgadmin4 en ubuntu
sudoapt-get update
sudoapt-getinstall build-essential libssl-dev libffi-dev libgmp3-dev virtualenv python-pip libpq-dev python-dev
mkdir pgAdmin4
cd pgAdmin4
virtualenv pgAdmin4
cd pgAdmin4
source bin/activate
wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.1/pip/pgadmin4-2.1-py2.py3-none-any.whl
pip install pgadmin4-2.1-py2.py3-none-any.whl
nano lib/python2.7/site-packages/pgadmin4/config_local.py
import os
DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/'))
LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log')
SQLITE_PATH = os.path.join(DATA_DIR, 'pgadmin4.db')
SESSION_DB_PATH = os.path.join(DATA_DIR, 'sessions')
STORAGE_DIR = os.path.join(DATA_DIR, 'storage')
SERVER_MODE = False
python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
pip install flask-htmlmin
python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
http://localhost:5050
Ejemplo 2: pgadmin para linux
## Setup the repository## Install the public key for the repository (if not done previously):curl https://www.pgadmin.org/static/packages_pgadmin_org.pub |sudo apt-key add# Create the repository configuration file:sudosh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'## Install pgAdmin## Install for both desktop and web modes:sudoaptinstall pgadmin4
# Install for desktop mode only:sudoaptinstall pgadmin4-desktop
# Install for web mode only: sudoaptinstall pgadmin4-web
# Configure the webserver, if you installed pgadmin4-web:sudo /usr/pgadmin4/bin/setup-web.sh
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)