Last active
February 22, 2024 14:05
-
-
Save oldtune/e76cab4078747e58ab4a698a2904ffaa to your computer and use it in GitHub Desktop.
Lightsail init script for my stuff
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 | |
sudo su | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
sudo apt-get install neovim -y | |
sudo apt-get install wireguard-tools -y | |
cd /etc/wireguard | |
touch wg0.conf | |
wg genkey > privatekey | |
wg pubkey < privatekey > publickey |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment