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 :: macos git set vscode as editor 
Shell :: terminal read json file 
Shell :: github ignore files 
Shell :: install pkgbuild arch 
Shell :: npm install bootstrap 3 angular 
Shell :: chocolatey 
Shell :: Encountered error while trying to install package. psycopg2 
Shell :: create public and private key for jwt 
Shell :: mac install gensim 
Shell :: ipnyb to ppt 
Shell :: linux add homedir 
Shell :: use mock api 
Shell :: ubuntu libqt4 
Shell :: tmux status line with blank line on top 
Shell :: ubuntu bluetooth dongle not working 
Shell :: strip first character form output linux 
Shell :: composer reinstall all packages 
Shell :: yarn change version 
Shell :: alertmanager reload config 
Shell :: git bash remove files with extension recursively 
Shell :: chsh pam authentication failure 
Shell :: linux extend path 
Shell :: bash: ./runapp.sh: Permission denied 
Shell :: react native navigation 
Shell :: number of lines 
Shell :: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), 
Shell :: powershell script for task scheduler 
Shell :: connect-session-sequelize installation 
Shell :: git stash apply previous 
Shell :: django view sql behind migration 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =