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 :: how to get directory size in linux 
Shell :: ubuntu server set static ip 
Shell :: how to install deb file in kali linux 
Shell :: edge download ubuntu 
Shell :: powershell count lines of code 
Shell :: kubectl commands 
Shell :: install prettier npm 
Shell :: github push 
Shell :: do not install puppeteer 
Shell :: renaming heroku remotes 
Shell :: install appx 
Shell :: homebrew version 
Shell :: how to print substring in bash script 
Shell :: curl : Depends: libcurl3-gnutls 
Shell :: brave install in linux 
Shell :: git empty stash 
Shell :: crontab in linux 
Shell :: git stash with a message 
Shell :: change dns resolver linux 
Shell :: make git use a ssh key 
Shell :: make shortcut folder in htdocs 
Shell :: how to install docker in ubuntu using terminal 
Shell :: github push an existing repository from the command line 
Shell :: linux convert to sha256 
Shell :: conda install pytorch 
Shell :: pipe command in linux 
Shell :: install vue router 
Shell :: how to download youtube videos in ubuntu 20.04 
Shell :: get serial number cmd remotely 
Shell :: anbox install 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =