pgAdmin是世界上最先进的开源数据库PostgreSQL的最流行和功能丰富的开源管理和开发平台。
部署
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
# Install for both desktop and web modes:
sudo apt install pgadmin4
# Configure the webserver, if you installed pgadmin4-web and pgadmin4:
sudo /usr/pgadmin4/bin/setup-web.sh