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]
If you want to open your local port
$ sudo apt-get install ufw
If you want to open your local port
$ sudo apt install apache2
If you use RDS
$ sudo apt-get install mysql-client
댓글
댓글 쓰기