Skip to content

Instantly share code, notes, and snippets.

@DaWe35
Last active November 27, 2019 20:20
Show Gist options
  • Save DaWe35/ec4971b98cd62a64b7804195150ec42c to your computer and use it in GitHub Desktop.
Save DaWe35/ec4971b98cd62a64b7804195150ec42c to your computer and use it in GitHub Desktop.
Setup & config commands for Sia host, Ubuntu (minimal). That helps me out when I want to host from a Rasberry Pi.
  • Flash Ubuntu minimal to a 32GB or bigger MicroSD & start the Rasberry
sudo apt update
sudo apt install screen
sudo apt install openssh-server
sudo systemctl status ssh
sudo apt ufw
sudo ufw allow ssh
sudo ufw allow 9982
sudo ufw allow 9981
sudo ufw enable
sudo apt-get install fail2ban

https://kwilson.io/blog/format-a-linux-disk-as-ext4-from-the-command-line/

sudo mkdir /media/mili
sudo fdisk -l
sudo nano /etc/fstab
/dev/sda2    /media/mili   ntfs   defaults,noatime	0	0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment