Complete PGADMIN4 installation instructions
Zahid Rahman <[email protected]> Wed, 18 Dec 2019 00:42:22 +0000
| Newsgroups | gmane.comp.db.postgresql.novice,gmane.comp.db.postgresql.pgadmin,gmane.comp.db.postgresql.admin |
|---|---|
| Message-ID | <CAPGSW3SoOmeoCHmEakreohyjvcN_4VVyJGJ8WgWZFSJf8f6w0w@mail.gmail.com> |
--000000000000720c670599efb816
Content-Type: text/plain; charset="UTF-8"
Software crisis averted.
PGADMIN4 Complete working instructions.
First I followed these instructions to download and install software
https://www.postgresql.org/download/linux/ubuntu/
only up to postgresql-server-dev-12. no further.
Then I went to this website by googling sudo apt-get install pgadmin4
apache
https://www.tecmint.com/install-pgadmin-debian-10/ although I have ubuntu.
copied and pasted the following code changing the email and password.
To the one I put in when prompted for and while running command line sudo
apt-get install pgadmin4 apache.
Also if run this command: systemctl status apache2 then you can 'q' out
of it to continue.
THIS MAY NOT WORK: http://SERVER_IP/pgadmin4 OR http://localhost/pgadmin4
Don't forget to stop service apache server. sudo systemctl stop apache2
otherwise you will get a port clash with docker.
then I went to website
https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html
SO downloaded docker with snap. sudo snap install docker
sudo docker pull dpage/pgadmin4
sudo docker run -p 80:80 \
-e '[email protected]' \
-e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' \
-d dpage/pgadmin4
ran sudo docker
sudo docker run -p 80:80 -e '[email protected]'
-e 'PGADMIN_DEFAULT_PASSWORD=*******' -d dpage/pgadmin4
Here is the KICKER. (not http://127.0.0.1/pgadmin4)
go to browser and type http://127.0.0.1 and you will see the blue login
screen prompting you for the
above email and password.
That's it.
--000000000000720c670599efb816
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><br></div><div>Software crisis averted.</div><div> PG=
ADMIN4 =C2=A0 Complete working instructions.</div><br>First I followed thes=
e instructions to download and =C2=A0install software<br><a href=3D"https:/=
/www.postgresql.org/download/linux/ubuntu/">https://www.postgresql.org/down=
load/linux/ubuntu/</a><br>only up to postgresql-server-dev-12. no further.<=
br><br>Then =C2=A0I went to this website =C2=A0by googling sudo apt-get ins=
tall pgadmin4 apache<br><a href=3D"https://www.tecmint.com/install-pgadmin-=
debian-10/">https://www.tecmint.com/install-pgadmin-debian-10/</a> although=
I have ubuntu.<br><br><br>copied and pasted the following code changing th=
e email and password.<br>To the one I put in =C2=A0when prompted for and =
=C2=A0while running command line sudo apt-get install pgadmin4 apache.<br><=
br>Also if =C2=A0run this command: =C2=A0systemctl status apache2 =C2=A0the=
n you can 'q' =C2=A0out of it to continue.<br>THIS MAY NOT WORK: =
=C2=A0<a href=3D"http://SERVER_IP/pgadmin4">http://SERVER_IP/pgadmin4</a> O=
R <a href=3D"http://localhost/pgadmin4">http://localhost/pgadmin4</a><br><b=
r>Don't forget to stop service apache server. sudo systemctl stop apach=
e2 otherwise you will get a port clash with docker.<br><br>then I went to w=
ebsite <a href=3D"https://www.pgadmin.org/docs/pgadmin4/latest/container_de=
ployment.html">https://www.pgadmin.org/docs/pgadmin4/latest/container_deplo=
yment.html</a><br><br>SO downloaded docker with snap. =C2=A0sudo snap insta=
ll docker<br><br>sudo docker pull dpage/pgadmin4<br>sudo docker run -p 80:8=
0 \<br>=C2=A0 =C2=A0 -e 'PGADMIN_DEFAULT_EMAIL=3D<a href=3D"mailto:user=
@domain.com">[email protected]</a>' \<br>=C2=A0 =C2=A0 -e 'PGADMIN_DE=
FAULT_PASSWORD=3DSuperSecret' \<br>=C2=A0 =C2=A0 -d dpage/pgadmin4<br><=
br>ran =C2=A0sudo docker<br>sudo docker run -p 80:80 =C2=A0 =C2=A0 -e '=
PGADMIN_DEFAULT_EMAIL=3D<a href=3D"mailto:[email protected]">zahidr1000@=
gmail.com</a>' =C2=A0 =C2=A0 -e 'PGADMIN_DEFAULT_PASSWORD=3D*******=
' =C2=A0 =C2=A0 -d dpage/pgadmin4<br><br>Here is the KICKER. (not =C2=
=A0<a href=3D"http://127.0.0.1/pgadmin4">http://127.0.0.1/pgadmin4</a>)<br>=
go to browser and type <a href=3D"http://127.0.0.1">http://127.0.0.1</a> an=
d you will see the blue login screen prompting you for the<br>above email a=
nd password.<br><br>That's it.</div>
--000000000000720c670599efb816--