Skip to content

Instantly share code, notes, and snippets.

@oldtune
Last active February 22, 2024 14:05
Show Gist options
  • Save oldtune/e76cab4078747e58ab4a698a2904ffaa to your computer and use it in GitHub Desktop.
Save oldtune/e76cab4078747e58ab4a698a2904ffaa to your computer and use it in GitHub Desktop.
Lightsail init script for my stuff
#!/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