Last active
June 8, 2018 04:08
-
-
Save deenski/6a140a9786842499de7ccb73b4037513 to your computer and use it in GitHub Desktop.
install terraria server
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 | |
| # by: Deenski | |
| # instructions: | |
| # Spin up gcp instance - 3.75gb ram - network tag = terraria | |
| # allow port 7777 through the vpc firewall for network tag 'terraria' | |
| #download | |
| wget terraria.org/server/terraria-server-1353.zip | |
| #unzip | |
| sudo apt install -y unzip | |
| unzip terraria-server-1353.zip | |
| rm terraria-server-1353.zip | |
| #make executeable | |
| cd 1353/Linux/ | |
| chmod u+x TerrariaServer.bin.x86_64 | |
| # create symbolic link | |
| sudo ln -s /home/$USER/1353/Linux/TerrariaServer.bin.x86_64 /usr/bin/start-terraria | |
| #start the server | |
| start-terraria |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment