Skip to content

Instantly share code, notes, and snippets.

@thelegendofbrian
thelegendofbrian / Install LinuxGSM DST Server with Caves.md
Last active November 20, 2024 11:46
Install LinuxGSM DST Server with Caves

Ports used

Some of the exact port numbers seem to be different between installations. I'm not sure if any have to be as listed, but those were a working number I used at some point

Port Description Place Defined Open Port Unique
11000 Overworld server port Master/server.ini x x
11001 Cave server port Caves/server.ini x x
8768 Steam auth port for overworld Master/server.ini
8769 Steam auth port for cave Caves/server.ini
27018 Steam master server port for overworld Master/server.ini x
@thelegendofbrian
thelegendofbrian / Linux Minecraft Server.markdown
Last active October 26, 2024 18:44
Set up a Minecraft server on Linux server using systemd

Set up a Minecraft server on Linux server using systemd

Set up server daemon

Make a user and group for the Minecraft server

sudo useradd -d /var/minecraft -m -r -U minecraft
sudo adduser brian minecraft
sudo chmod g+s /var/minecraft
@thelegendofbrian
thelegendofbrian / Ubuntu Server 16.04 Initial Setup.markdown
Last active July 13, 2017 10:31
Ubuntu Server 16.04 Initial Setup

Ubuntu Server 16.04 Initial Setup

Update

sudo apt-get update
sudo apt-get upgrade

Install fail2ban

sudo apt-get install fail2ban

@thelegendofbrian
thelegendofbrian / prepare-budgie_sudo.sh
Last active August 8, 2017 09:02
Prepare Ubuntu Budgie 17.04 the way I like
#!/bin/bash
# Check if running as root
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# Download other files needed for setting up later
wget -O install-custom-icon-theme.sh https://gist.github.com/thelegendofbrian/bd4703849198f6b59fb68d961fd4d759/raw/f69c335d468af970b0a26a7eabe9c7cf34b484d7/install-custom-icon-theme.sh
@thelegendofbrian
thelegendofbrian / install-custom-icon-theme.sh
Created May 2, 2017 15:59
Install Custom Icon Theme on Ubuntu Budgie 17.04
#!/bin/bash
declare packname=User-Defined
declare -a sizearray=(16 22 24 32 36 48 64 72 96 128 192 256 480 512)
#
## Create folder structure
#
for size in "${sizearray[@]}"

Ubuntu Server Initial Setup (Outdated)

Update

sudo apt-get update
sudo apt-get upgrade

Install fail2ban

sudo apt-get install fail2ban