우분투에 포스트그레스 설치 – Install PostgreSQL on Ubuntu Linux

아래의 순서로 하면됩니다.

# Create the file repository configuration:
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

# Update the package lists:
sudo apt-get update

# Install the latest version of PostgreSQL.
# If you want a specific version, use 'postgresql-12' or similar instead of 'postgresql':
sudo apt-get -y install postgresql

자세한 내용은 아래 원문을 참고하세요.

https://www.postgresql.org/download/linux/ubuntu/

Author: 떰학

답글 남기기