-
-
Save vikramsoni2/5c585994e138218858ed3ed9f050ed10 to your computer and use it in GitHub Desktop.
This file contains 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
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