pgAdmin 4 Pre-Release Documentation: Guide to Setup and Installation
Repository Setup
Install Public Key for Repository
For a successful pgAdmin 4 installation, ensure that the repository's public key is installed on your system. If it hasn't been installed before, follow these steps:- Open your terminal window.
- Type in the following command to download the public key:
curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add -
Installation
DEB Installation
For Debian-based systems, use the following command:sudo apt-get update && sudo apt-get install pgadmin4
RPM Installation
For RPM-based systems, use this command:sudo yum install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4.repoOnce the repository is installed, use the following command to install pgAdmin 4:
sudo yum install pgadmin4### Docker Installation To install pgAdmin 4 using Docker, run this command:
docker run -d --name pgadmin4 -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=admin@example.com' -e 'PGADMIN_DEFAULT_PASSWORD=admin' dpage/pgadmin4### Windows Installation Visit the official pgAdmin 4 website to download the Windows installer. Once downloaded, run the installer and follow the prompts to complete the installation.
Komentar