Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install pgadmin4 ubuntu 20.04

curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add -
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list'
Comment

step10 pgadmin ubuntu 20.04

sudo ufw allow http
sudo ufw allow https
Comment

step5 pgadmin ubuntu 20.04

sudo apt install pgadmin4
Comment

install pgadmin ubuntu 20.04

curl  -fsSL https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/pgadmin.gpg
Comment

step6 pgadmin ubuntu 20.04

$ systemctl status apache2
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-18 17:31:53 EAT; 35s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 8845 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
   Main PID: 8849 (apache2)
      Tasks: 55 (limit: 9460)
     Memory: 15.0M
        CPU: 67ms
     CGroup: /system.slice/apache2.service
             ├─8849 /usr/sbin/apache2 -k start
             ├─8850 /usr/sbin/apache2 -k start
             └─8851 /usr/sbin/apache2 -k start

Mei 18 17:31:53 ubuntu22 systemd[1]: Starting The Apache HTTP Server...
Mei 18 17:31:53 ubuntu22 apachectl[8848]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppre>
Mei 18 17:31:53 ubuntu22 systemd[1]: Started The Apache HTTP Server.
Comment

step2 pgadmin ubuntu 20.04

sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list'
Comment

step7 pgadmin ubuntu 20.04

sudo /usr/pgadmin4/bin/setup-web.sh
Comment

step2 pgadmin ubuntu 20.04

sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list'
Comment

step8 pgadmin ubuntu 20.04

Setting up pgAdmin 4 in web mode on a Debian based platform...
Creating configuration database...
NOTE: Configuring authentication for SERVER mode.

Enter the email address and password to use for the initial pgAdmin user account:

Email address: <input-email-address>
Password: <input-password>
Retype password: <Reenter-password>
pgAdmin 4 - Application Initialisation
======================================

Creating storage and log directories...
Comment

step9 pgadmin ubuntu 20.04

We can now configure the Apache Web server for you. This involves enabling the wsgi module and configuring the pgAdmin 4 application to mount at /pgadmin4. Do you wish to continue (y/n)? y
The Apache web server is running and must be restarted for the pgAdmin 4 installation to complete. Continue (y/n)? y
Apache successfully restarted. You can now start using pgAdmin 4 in web mode at http://127.0.0.1/pgadmin4
Comment

PREVIOUS NEXT
Code Example
Shell :: letencrpt 
Shell :: linux repeat command every 5 minutes 
Shell :: verify hash windows 10 
Shell :: how to install aiohttp on vscode 
Shell :: get current directory batch 
Shell :: linux mint download 
Shell :: android studio tortoise git 
Shell :: delete dir linux 
Shell :: copy everything vim 
Shell :: Malformed entry 2 in list file /etc/apt/sources.list.d/docker.list ([option] not assignment) 
Shell :: how to check reportlab version 
Shell :: git find commit id by message 
Shell :: install git linux 
Shell :: online c compiler with working fork 
Shell :: install biocmanager in rstudio 
Shell :: creating docker based vms with ranchervm but requires KVM installed 
Shell :: github push code from one repo to another 
Shell :: rename multiple files in terminal 
Shell :: docker sh: react-scripts: not found 
Shell :: linux print directory tree 
Shell :: No such keg: /usr/local/Cellar/git 
Shell :: ubuntu uninstall composer 
Shell :: create github repo with curl 
Shell :: git bash remove files with extension recursively 
Shell :: shell list files in directory 
Shell :: install material table formik 
Shell :: ls order by filename length 
Shell :: cp exclude file 
Shell :: list threads in process ubuntu 
Shell :: randomstring npm 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =