낭만 프로그래머
CentOS 6.6 에 Node.js 설치 본문
1. https://nodejs.org/ko/download/ 접속해서 url 확인 하기
2. 다운로드 ( https로 되어 있는 것을 http로 변경 )
wget http://nodejs.org/dist/v6.10.2/node-v6.10.2-linux-x64.tar.xz |
3. 압축 해제
tar xf node-v6.10.2-linux-x64.tar.xz |
4. 위치 이동
mv ./node-v6.10.2-linux-x64 /usr/local/nodejs |
5. Path 설정을 위해 profile 수정
vi /etc/profile |
맨아래에 추가
export NODE_HOME=/usr/local/nodejs
export PATH=$PATH:$NODE_HOME/bin
source /etc/profile |
6. 필요시 서버 재부팅 필요
shutdown -r now |
'Linux > CentOS' 카테고리의 다른 글
CentOS 7 Samba 설치 (0) | 2017.08.09 |
---|---|
CentOS 7 방화벽 해제 (0) | 2017.08.09 |
CentOS 6.6 에 PostgreSQL 설치하기 (0) | 2017.04.21 |
CentOS에 Windows의 그림판과 같은 kolourpaint 설치 (0) | 2017.03.20 |
CentOS 6.6 에 원격접속 툴 X2GO 설치 (0) | 2015.11.05 |