Skip to content

Instantly share code, notes, and snippets.

@vikramsoni2
Forked from WeslieDE/wgeasy-dependency.sh
Created September 17, 2023 21:40
Show Gist options
  • Save vikramsoni2/5c585994e138218858ed3ed9f050ed10 to your computer and use it in GitHub Desktop.
Save vikramsoni2/5c585994e138218858ed3ed9f050ed10 to your computer and use it in GitHub Desktop.
apt-get update && apt-get -y upgrade
apt-get install -y wireguard-tools dumb-init git
#Install NodeJS
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get update && apt-get -y upgrade
apt -y install nodejs
#Install WG Easy
git clone https://github.com/WeeJeWel/wg-easy WGEASY
mv WGEASY/src /app
cd /app
npm ci --production
cp -r node_modules ..
wget -O /etc/systemd/system/wg-easy.service https://gist.githubusercontent.com/WeslieDE/c848ebaa1280e4b8e0eb03dddfde2f1b/raw/27316f469c7668781a72e429e7f7c8eca9110194/wg-easy.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment