AWS EC2 셋팅2



1. apt update


$ sudo apt update




2. nodejs install

$ sudo apt install nodejs




3. git install

$ sudo apt install git-all




4. nvm install

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

or

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh |  bash


After you install your nvm, you have to restart the instance.



4-1. install nvm version(node version) : This is set by 20.10.0 version

$ nvm install 20.10.0



4-2. set default node version by using nvm

$ nvm alias default [node version]



5. ufw

If you want to open your local port

$ sudo apt-get install ufw


6. apache2

If you want to open your local port

$ sudo apt install apache2


7. mysql

If you use RDS

$ sudo apt-get install mysql-client


 








댓글

이 블로그의 인기 게시물

Lesson 12_1 프로퍼티 노드(Property Node)

DAQ로 전압 측정하기-2

Lesson 12_2 참조를 이용한 프로퍼티노드(Property Node)