Notice
Recent Posts
Recent Comments
Link
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Archives
Today
Total
관리 메뉴

공부하자

[AWS] EC2 Instance(Amazon Linux AMI)에 git, node.js 설치하기 본문

공부/AWS

[AWS] EC2 Instance(Amazon Linux AMI)에 git, node.js 설치하기

strongstar 2018. 2. 2. 16:38

1. git 설치

sudo yum install git


1.1. 저장소 초기화

git init


1.2. 저장소 상태 확인

git status


1.3. 사용자 정보 설정

git config --global user.name "Your Name"

git config --global user.email you@example.com



2. nodejs, npm 설치

curl --silent --location https://rpm.nodesource.com/setup_7.x | bash - 

실행 후

yum -y install nodejs


2.1. node, npm 버전 확인

node -v

npm -v


2.2. npm 초기화

npm init




* 참고사이트

1. git install (링크)

2. git config (링크)

3. nodejs install (링크)

4. npm init (링크)


Comments