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 | 31 |
Tags
- api 문서
- ScrollBooster
- JavaScript
- node.js
- ubuntu
- php7
- 스크롤부스터
- 엔진엑스
- Linux
- 접속자수
- 18.04
- ulimit
- 우분투
- Stoplight
- MongoDB
- nginx
- API design
- tbls
- Redis
- PGSQL
- 몽고DB
- nosql
- 데이터베이스
- PostgreSQL
- php
- NVM
- Node
- 리눅스
- nodejs
- db
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