일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 엔진엑스
- PostgreSQL
- NVM
- php
- nodejs
- 데이터베이스
- 접속자수
- nginx
- tbls
- Linux
- 우분투
- 몽고DB
- node.js
- ubuntu
- 18.04
- Node
- php7
- 리눅스
- ulimit
- PGSQL
- 스크롤부스터
- ScrollBooster
- MongoDB
- Redis
- API design
- JavaScript
- Stoplight
- db
- api 문서
- nosql
- Today
- Total
목록db (3)
Parallel World
ROLE 백업 pg_dumpall -h localhost -p 5432 -U postgres -v --roles-only -f "/path/to/useraccts.sql" 테이블 스페이스가 포함된 모든 글로벌 백업 pg_dumpall -h localhost -p 5432 -U postgres -v --globals-only -f "/path/to/globals.sql" ROLE 복원 psql -h localhost -d postgres -U postgres -f "/path/to/useraccts.sql"
Postgresql 유저 생성 Postresql 유저 생성 $ sudo -u postgres createuser Postgresql 유저 로그인 $ sudo su - postgres Postgresql 환경에 진입 $ psql psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1)) Type "help" for help. postgres=# 유저 패스워드 지정 postgres=# alter user with encrypted password ''; 데이터베이스 전체 권한 부여 postgres=# grant all privileges on database to ; 데이터베이스 생성하기 데이터베이스 생성 postgres=# CREATE DATABASE ; 데이터베이스 리스트 확인 postgre..
설치 환경 정보 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 업데이트 및 Postgre..