Skip to content

Commit

Permalink
Updated Node.js version in installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Mar 3, 2022
1 parent 9e2fc02 commit 3dc6f6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if [[ "$userConsent" == "y" || "$userConsent" == "Y" ]]; then
echo "baseurl=http://nginx.org/packages/centos/\$releasever/\$basearch/" >> /etc/yum.repos.d/nginx.repo
echo "gpgcheck=0" >> /etc/yum.repos.d/nginx.repo
echo "enabled=1" >> /etc/yum.repos.d/nginx.repo
curl --silent --location https://rpm.nodesource.com/setup_14.x | bash -
curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
yum update -y -q
yum install -y -q nodejs
yum install -y -q nginx
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [[ "$userConsent" == "y" || "$userConsent" == "Y" ]]; then
apt-get install curl
apt-get install python-software-properties
apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
apt-get update
apt-get install -y nginx
apt-get install -y nodejs
Expand Down

0 comments on commit 3dc6f6e

Please sign in to comment.