Answers for "check installation of postgres"

2

how to know if postgres is installed

write on linux cmd:

psql --version
Posted by: Guest on June-29-2021
0

install postgresql

yum install postgresql-server postgresql-contrib -y
postgresql-setup initdb
systemctl enable postgresql 
sudo systemctl start postgresql
systemctl status postgresql
Posted by: Guest on January-08-2022

Code answers related to "check installation of postgres"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language