Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- db
- ubuntu
- 스크롤부스터
- 접속자수
- 우분투
- node.js
- API design
- api 문서
- 18.04
- 리눅스
- 몽고DB
- Linux
- PostgreSQL
- Redis
- 데이터베이스
- php7
- nosql
- ulimit
- 엔진엑스
- PGSQL
- NVM
- ScrollBooster
- tbls
- Stoplight
- JavaScript
- MongoDB
- php
- Node
- nginx
- nodejs
Archives
- Today
- Total
Parallel World
Ubuntu 18.04 - Postgresql 설치 본문
설치 환경 정보
Ubuntu 18.04.3LTS
Postgresql 11.5
PostgreSQL Apt 저장소 추가
PostgreSQL 패키지 용 GPG 키 추가
$ sudo apt-get install wget ca-certificates
$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
저장소 추가
$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
PostgreSQL 설치
apt 업데이트 및 Postgresql 설치
$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
PostgreSQL 접속 확인
Postgresdql 접속
$ sudo su - postgres
$ psql
Postgresql 로그인 정보 확인
postgres-# \conninfo
You are connected to database "postgres" as user "postgres" via socket in "/var/run/postgresql" at port "5432".
Postgresql 접속 종료
postgres-# \q
'프로그래밍 > Linux' 카테고리의 다른 글
Postgresql ROLE 백업 및 복구 (0) | 2019.10.01 |
---|---|
Ubuntu18.04 - nvm 및 nodejs 최신버전설치 (0) | 2019.09.09 |
Postgresql 유저생성 및 데이터베이스 생성하기 (0) | 2019.09.06 |
Ubuntu 18.04, Ubuntu 20.04 - PHP 8 설치 (0) | 2019.09.06 |
Ubuntu 18.04, Ubuntu 20.04 Nginx 설치 (0) | 2019.09.06 |
Comments