설치환경 : Centos 7 minimal 설치 상태

--------------------------------------------------------------------------------------------------------

# root 권한 취득
shell> sudo su


# 패키지 업데이트
shell> yum -y update


# 크로미움 설치를 위한 저장소 추가
shell> yum install -y epel-release


# 크로미움 설치
shell> yum install -y chromium


# wget 설치
shell> yum install -y wget


# unzip 설치
shell> yum install -y unzip


# 폰트 다운로드 및 설치
shell> cd /usr/share/fonts/
shell> wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
shell> unzip ./NanumFont_TTF_ALL.zip
shell> rm NanumFont_TTF_ALL.zip
shell> fc-cache -r


# node 구동 유저 추가
shell> useradd nodeuser


# node 구동 유저로 전환
shell> su nodeuser


# node 구동 유저의 홈 디렉토리 이동
shell> cd ~


# node 환경 설정( NVM 사용 ) 및 실행
shell> curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
shell> source .bash_profile
shell> nvm ls-remote
shell> nvm install v14.8.0


# puppeteer 설치
shell> npm install puppeteer


# cheerio 설치
shell> npm install -y cheerio

 

 

참고 : https://github.com/YYMofROK/howto/blob/master/README.md