- 14.1.1 Sonoma
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script installs the necessary dependencies on an EC2 instance. | |
| # Install packages required for Node.js, npm, and nginx in case debugging is needed | |
| sudo apt-get update | |
| sudo apt-get install -y nodejs npm | |
| sudo apt install curl build-essential libssl-dev -y | |
| sudo apt-get install -y nginx |