Created
September 8, 2021 06:45
-
-
Save Netherdrake/69ab218ef611c83aad585c0c2c3695e0 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
# updates | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install ufw vim tmux htop curl wget -y | |
# setup fw | |
sudo ufw allow 22/tcp | |
sudo ufw allow 30333/tcp | |
sudo ufw enable | |
# download the reef binary | |
wget "https://github.com/reef-defi/reef-chain/releases/download/mainnet-1/reef-node" | |
chmod +x reef-node | |
sudo cp reef-node /bin/reef-node | |
wget -O reef-validator.service "https://gist.githubusercontent.com/Netherdrake/6e9d331308f5015ecae1691ade90b370/raw/a5c3217abbbd15553c40be18fbf1b03bc36db048/gistfile1.txt" | |
cp reef-validator.service /etc/systemd/system/ | |
# reboot | |
sudo systemctl reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment