Skip to content

Commit

Permalink
Update before_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yellaiahgithub authored May 5, 2023
1 parent 0983975 commit 6704fd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
cd /home/ec2-user
curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash -
yum -y install nodejs npm
amazon-linux-extras install nginx1

sudo yum update -y
sudo amazon-linux-extras install nginx1 -y
sudo amazon-linux-extras enable nginx1
sudo systemctl start nginx

0 comments on commit 6704fd7

Please sign in to comment.