Notice
Link
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- OpenCV
- nodemon
- sshd_config
- root
- linux
- nodejs
- 유튜브홍보
- 유튜브구독자
- 유튜브영상
- 유튜브조회수
- Mermaid
- python 3.7 install
- skbuild
- 유튜브채널
- python3.7
- template
- 상위유튜버
- pip3
- ubuntu
- vim
- PYTHON
- python install 3.7
- nunjucks
- opencv-python
- python 3.7
- Python3
- sequence diagram
- #PostgreSQL
- error
- 유튜브수익
Archives
우리집
PostgreSQL 설치 및 접속 본문
1. https://www.postgresql.org/download/ 접속
2. 해당 리눅스 종류 및 버전 선택
ex) 우분투 16.04 버전의 경우, Xenial (16.04) 선택
3. 선택한 버전에 맞는 메뉴얼에 따라 설치
- Create the file /etc/apt/sources.list.d/pgdg.list, and add a line for the repository
deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
- Import the repository signing key, and update the package lists
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
sudo apt-key add -
sudo apt-get update - postgresql-client-9.6 - client libraries and client binaries
- postgresql-9.6 - core database server
- postgresql-contrib-9.6 - additional supplied modules
- libpq-dev - libraries and headers for C language frontend development
- postgresql-server-dev-9.6 - libraries and headers for C language backend development
- pgadmin3 - pgAdmin III graphical administration utility
To use the apt repository, follow these steps:
For more information about the apt repository, including answers to frequent questions, please see the apt page on the wiki.
Included in distribution
Ubuntu includes PostgreSQL by default. To install PostgreSQL on Ubuntu, use the apt-get (or other apt-driving) command:
apt-get install postgresql-9.6
The repository contains many different packages including third party addons. The most common and important packages are (substitute the version number as required):
4. psql 접속
4-1. sudo su - postgres
4-2. psql
'Linux - Ubuntu' 카테고리의 다른 글
Opencv-python 설치 In Python 3.7 (0) | 2022.06.21 |
---|---|
Python 3.7 설치 In Ubuntu 18.04 (0) | 2022.06.21 |
SSH ROOT 계정 접속하기 (0) | 2022.06.12 |
Python3-openCV 설치 (0) | 2022.06.12 |
Putty 접속 (0) | 2018.02.21 |
Comments