일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- php
- api 문서
- ulimit
- Redis
- NVM
- JavaScript
- ScrollBooster
- 데이터베이스
- Linux
- node.js
- PostgreSQL
- MongoDB
- php7
- nosql
- API design
- 접속자수
- nginx
- Stoplight
- 몽고DB
- 리눅스
- tbls
- 엔진엑스
- Node
- PGSQL
- 우분투
- 스크롤부스터
- nodejs
- 18.04
- db
- ubuntu
- Today
- Total
목록전체 글 (17)
Parallel World
curl을 이용하여 nvm 설치 $ sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash $ export NVM_DIR="$HOME/.nvm" $ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" $ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" nvm을 통해 최신버전 확인 및 설치 $ nvm ls-remote ... v12.10.0 $ nvm install 12.10.0 버전 확인 $ node -v v12.10.0
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..
저장소 추가 PHP 저장소 추가 및 apt 업데이트 $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:ondrej/php $ sudo apt-get update PHP 설치 php-fpm 설치 (Nginx) $ sudo apt-get install php8.0-fpm 설치 여부 및 버전 확인 $ php -v $ php-fpm8.0 -v

저장소 추가 nginx 저장소 파일 생성 및 내용 추가 $ sudo vi /etc/apt/sources.list.d/nginx.list 우분투 18.04에 경우 (Bionic) deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx deb-src http://nginx.org/packages/mainline/ubuntu/ bionic nginx 우분투 20.04에 경우 (Focal) deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ focal nginx deb-src http://nginx.org/packages/mainline/ubuntu/ focal nginx Nginx..