centos 7에 epel 패키지를 설치 하고 nodejs를 설치하면 v6이 설치된다.
한글 공식 문서에는 v7 까지만 설명되어 있음
https://nodejs.org/ko/download/package-manager/#enterprise-linux-fedora
영문 공식 문서에 v9 까지 설명되어 있음
https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
yum install nodejs
v8에는 npm 5.6.0 이 포함되어 있으므로 nodejs만 설치하면 npm은 별도 설치 하지 않아도 된다.
'지식창고 > 리눅스' 카테고리의 다른 글
nfs server host not responding, still trying 문제 (0) | 2018.10.19 |
---|---|
rsnapshot 설정과 실행 (0) | 2018.09.14 |
redis-sentinel 삽질기 (0) | 2018.01.10 |
centos dns lookup 느린 경우 (0) | 2016.11.25 |
CentOS 7에 rabbitMQ 설치 (0) | 2016.10.07 |