I have installed PostgreSQL DB on my Debian/Apache server. I have also local pgAdmin client running and I can connect to my DB, everything is ok.
What I need is configuring pgAdmin on my server for the web interface, so anyone who visit my server website will see pgAdmin panel and can log in.
Current setup:
Apache is configured and running.
PostgreSQL is installed and running.
pgAdmin is installed only.
The only solution I googled out is https://www.pgadmin.org/docs/pgadmin4/4.x/server_deployment.html this one, but there are no paths to mentioned files and I dont know, where should I search them for as I am beginner with those kinds of issues.
What should I do next please? How to configure pgAdmin? Thank you in advance.
2
Answers
Ok I found (been suggested) phpPgAdmin instead of pgAdmin and installed and configured with help of official documentation and youtube video.
Some solutions that come to my mind:
ufw
used by pgAdmin when you don’t want to access itufw
and use a reverse proxy in which you add some restrictions, like whitelisted IPs. Apache reverse proxy, Whitelisting in apache