Node.js

Node.js

Node.js 설치하기

1. CURL 설치
$ sudo apt-get install build-essential

2. PPA 추가
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

3. NodeJS 설치
$ sudo apt-get install -y nodejs

4. build-essential 설치
$ sudo apt-get install build-essential

MongoDB

$ mkdir data
$ echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod
$ chmod a+x mongod

ls -al (a숨김, l리스트)
chmod a+x 파일명 실행가능한 파일

Subscribe to Keun's newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox. It's free!
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!