서고위키
최근 변경
최근 토론
임의 문서
도구
최근 변경
the tree/설치법
(r4로 되돌리기)
닫기
[목차] == 개요 == 위키엔진 [[the tree]]의 설치법을 다룬 문서 == 설치방법 == === apt update === {{{#!syntax sh sudo apt update && sudo apt upgrade -y }}} === nvm 설치 === {{{#!syntax sh curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash }}} {{{#!syntax sh wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash }}} === nvm 22 버전 설치 === {{{#!syntax sh nvm install 22 }}} === pm2 설치 === {{{#!syntax sh npm install pm2 -g }}} == MongoDB 설치 == === 공개키 가져오기 === {{{#!syntax sh curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \ sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \ --dearmor}}} === 목록 파일 만들기 === {{{#!syntax sh echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.2.list }}} === 패키지 업데이트 === {{{#!syntax sh sudo apt-get update }}} === 설치 === {{{#!syntax sh sudo apt-get install -y mongodb-org }}} === 실행확인 === {{{#!syntax sh sudo systemctl status mongod }}} 실행이 안되고 있다면 {{{#!syntax sh sudo systemctl start mongod }}}
요약
되돌리기
Liberty
|
the tree