r11 vs r12
......
1919
2020== 설치 방법 ==
2121 * 시작하기 전에 apt 업데이트
22> sudo apt update
23> sudo apt upgrade -y
22{{{#!syntax sh
23sudo apt update
24sudo apt upgrade -y
25}}}
2426
2527=== node.js ===
2628 * nvm 설치.
2729 * [[https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating]]
2830
2931 * nvm으로 20 버전 설치.
30> nvm install 20
32{{{#!syntax sh
33nvm install 20
34}}}
3135 * node.js 버전 관리 n도 있으니 참고. [[https://www.npmjs.com/package/n| ]]
3236
3337 * 위키 엔진 재시작 기능을 사용하기 위한 pm2 설치
34> npm install pm2 -g
38{{{#!syntax sh
39npm install pm2 -g
40}}}
3541
3642=== MongoDB ===
3743 * 위키 엔진의 DB 설치
......
4147 * [[https://www.mongodb.com/ko-kr/docs/manual/installation/|Ubuntu가 아닐 경우]]
4248
4349 * 설치하였다면 계속하기 - [[https://www.mongodb.com/products/tools/compass|GUI를 원한다면 여기로]]
44> sudo systemctl status mongod //MongoDB 실행 중인지 확인
45> mongosh //MongoDB 접속
50{{{#!syntax sh
51sudo systemctl status mongod
52# ^ MongoDB 실행 중인지 확인
53mongosh
54# ^ MongoDB 접속
55}}}
4656
4757 * DB 생성하고 DB에 접속할 user 만들기
4858> use test123 //test123 DB 생성 및 접속
......
6373 * [[https://www.meilisearch.com/docs/guides/running_production#4-2-enable-and-start-service|systemctl에 추가해서 실행 편하게 하기]]
6474
6575=== 엔진 설치 ===
66> git clone https://github.com/wjdgustn/thetree --recursive //엔진 git으로 불러오기
67> npm i // 라이브러리 다운로드하기
6878
6979== 마지막 ==
7080 * 초기 설정 및 첫 실행은 다음 문서를 참고하자.
7181 * [[the tree/위키 구축]]
76{{{#!syntax sh
77git clone https://github.com/wjdgustn/thetree --recursive
6882
6983== 마지막 ==
7084 * 초기 설정 및 첫 실행은 다음 문서를 참고하자.
7185 * [[the tree/위키 구축]]