Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install psql

sudo apt-get install postgresql postgresql-contrib
Comment

how to install postgresql

# updates the mirrors
sudo apt update

# installs postgresql and some additional utilities and functionalities
sudo apt install postgresql postgresql-contrib

# starts installed postgresql service
sudo systemctl start postgresql.service

# installation creates default user postgres with below you can connect with postgres user
sudo -i -u postgres

# type psql to access postgresql prompt
psql

# postgresql installation completed
Comment

install postgresql

sudo snap install postgresql96
Comment

install postgresql

yum install postgresql-server postgresql-contrib -y
postgresql-setup initdb
systemctl enable postgresql 
sudo systemctl start postgresql
systemctl status postgresql
Comment

PREVIOUS NEXT
Code Example
Shell :: Errors were encountered while processing: libglx-mesa0:amd64 
Shell :: update aws amplify cli 
Shell :: Add RPM Fusion Fedora 36 
Shell :: apt vs apt-get 
Shell :: rm multiple folders 
Shell :: npm install less-loader 
Shell :: merge remote commits to local then push 
Shell :: stop tracking a file git 
Shell :: bash store file lines in variable 
Shell :: remove trailing slash 
Shell :: git reflog 
Shell :: configure meld as git mergetool ubuntu 
Shell :: print last terminal commands 
Shell :: vim jump to line number 
Shell :: git add git commit 
Shell :: how to get updates in linux 
Shell :: block comment bash 
Shell :: pull or fetch changes 
Shell :: linux ssh with password in one line 
Shell :: how to make git commit in the past 
Shell :: visual studio code ubuntu 
Shell :: expo cli not installing 
Shell :: mpeg-4 aac decoder h.264 decoder for ubuntu download 
Shell :: installing sh file linux 
Shell :: tasksel: apt-get failed (100) 
Shell :: git remove all branches except master windows 
Shell :: install sqlite in ubuntu 
Shell :: Replace git master with another branch 
Shell :: git discard staged changes 
Shell :: git clone the certificate chain was issued by an authority that is not trusted 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =