Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

postgres setup Linux Debian

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql-12
Source by www.postgresql.org #
 
PREVIOUS NEXT
Tagged: #postgres #setup #Linux #Debian
ADD COMMENT
Topic
Name
5+5 =