Loading views...
유정님 스크립트 수정

유정님 스크립트 수정

Date
Date
2019 Dec 20 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:58
Refs
Refs
 
notion image
 
mount폴더에 마운트가 안되있어서 일단 수정
 
 
node설치 등을 yaml로 바꿔야함! yaml파일에 순서 만들어야할듯
 
 
cifs tool (아마 나스 파일시스템)바로 마운트가 안되서 설치하고 마운트해야함
 
 
 
 

pm2


pm2 호환성 문제 발생...
pm2 is failing to start after Ubuntu apt-get update/upgrade-s. [PM2] Spawning PM2 daemon with pm2_home · Issue #4459 · Unitech/pm2
PM2 is failing to start after an Ubuntu apt-get update/upgrade. It shows this only when started without the debug mode enabled. [PM2] Spawning PM2 daemon with pm2_home=/home/ubuntu/.pm2 This is hard to replicate as: I was doing all this ...
pm2 is failing to start after Ubuntu apt-get update/upgrade-s. [PM2] Spawning PM2 daemon with pm2_home · Issue #4459 · Unitech/pm2
 
이런 문제로
notion image
pm2 실행이 안되고 이런 에러만 뜨는 issue인데
nvm으로 최신 node설치하면 다른 에러 뜨는데 그건
zsh로 변수등록하면 에러나서 그런거였다...
 
 
이런 식으로 등록하면 잘 작동함
notion image
serve nas ecosystem.config.js로 도
로 하니까 되서 원래 에러를 보니 zsh 때문인듯..
 
우짯든 이제 yaml 파일 생성
 
 
 
notion image
앤서블 노드 나누기
reboot해보고 mount 풀려있나 확인
등록해야함
 

Recommendations