공부/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 (링크)