(22)
sudo apt update -y
sudo apt install postgresql-client-14
psql -h 192.168.137.70 -U postgres test
(11)
apt update -y
apt install postgresql-client
psql -h 192.168.137.70 -U postgres test
(7)
yum update -y
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum -y search postgresql14
yum -y install postgresql14
psql -h 192.168.137.70 -U postgres test
- Windows Server
(2019)
https://www.postgresql.org/download/windows/
Select Components
Command Line Toolsのみ選択
PATH追加
C:\Program Files\PostgreSQL\14\bin
psql -h 192.168.137.70 -U postgres test