티스토리 뷰
NodeJS [1] - 설치와 콘솔출력
1. 설치 - https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions 참고
$sudo apt-get install curl
$curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo : super do 약자, 다른 사용자의 보안권한과 관련된 프로그램을 구동할수 있게 해주는 프로그램
apt-get : 패키지 관리 명령어 도구
curl : 인터넷 전송을 위한 도구
node 8. 대를 깔았다.
버전확인 8.9.1이다.
설치확인을 위해
vim 문서명
console.log('Hello node');
뒤 저장후종료 (wq)
실행해보면 로그가 찍히는 것을 볼 수 있다.
'개발 > NodeJS' 카테고리의 다른 글
NodeJS [2] - 웹서버구동, 외부IP 접근 (2) | 2017.11.20 |
---|