I’ve been hosting a Minecraft server for my son on a Linode for some time. Linode now has a great tutorial titled “Minecraft on Linode with Ubuntu 12.04“. My son recently asked for my help installing a Terraria server as well. Now, since I am not good on Linux it took me most of an afternoon with many false starts, but here are the steps for a Linode:
1. Create new configuration profile and install Ubuntu (see Getting Started)
2. Secure your server
3. Update your packages
4. Terraria is an .exe file, so you’ll need to install
mono to run it on Ubuntu. (Supposedly, all versions of Ubuntu over 10 have it installed, by my fresh Linode Ubuntu 12.4 installation did not).
sudo apt-get install mono-complete
5. At this point I switched to Transmit for MacOS X and used an SFTP session to move files onto the server. (steps which follow come from here. Many thanks to user Icehawk78 for terminal equivalents.
6. Create folder named ‘tshock’ in home directory and make the permissions ’777′ (right-click, Get Info…)
sudo chmod 755 tshock
7. On your home machine, download the current release of TSHOCK. (If you grab an old build, it may not be compatible with the Terraria client the player currently has installed.)
8. Extract the archive and copy the files into the newly created tshock directory with Transmit.
wget [link to version you want to download]
unzip TShock\ [filename].zip
rm TShock\ [filename].zip
9. Back in the Terminal now, navigate to the tshock folder:
10. And launch Terraria as follows:
screen mono TerrariaServer.exe
Apologies in advance to Linux/Ubuntu purists for not doing everything in the Terminal. If you have suggestions for improvement, please post a comment. If this does not work for you….I have no idea how to help you.