What you need:
1) An VPS or dedicated server with Linux on it.
2) SSH access to it.
First we need to login to SSH, we will be using Putty to do this. Simply download it, put it on your desktop and start it up. Then input the IP of your vps/dedi, press ‘open’ and continue to login.
We will be using SteamCMD to download the dedicated server, for more info check https://developer.valvesoftware.com/wiki/SteamCMD
First we need to move to our home directory, then make a Steam folder there.
Now we need to download SteamCMD and unpack it.
tar -xvzf steamcmd_linux.tar.gz
Now we will remove the tar.gz file we downloaded and run SteamCMD.
Let it update, and wait till you see “Steam>”, now you can type Steam commands, let’s login to our account first:
login your_steam_user_name your_steam_password
This will log you in into your Steam account. If you have Steam open on any other computer (like the one you are on right now), you will be logged out.
SteamCMD will now log you in using your account you bought Starbound on, and it will most likely ask you to input a Steamguard code if you have set that up, simply follow the instructions on screen to continue.
After logging in type:
Assuming you are in /home/steam this will make a folder called starbound inside /home/steam/starbound, now type:
This will download and update Starbound, wait till it finishes (might take a while depending on how fast the connection is).
Now we can safely exit SteamCMD using the following command:
After it’s downloaded we can now run the Starbound server. Depending on whether your Linux operating system is 32 or 64 bit we need to move to the correct directory.
I am using 64bit so I will type “cd /home/steam/starbound/linux64” to get to the right place. Now we can launch the startbound server using the following command:
But before you do that I would suggest running that in screen, as followed:
screen -S starbound -d -m ./starbound_server
Using screen will basically run the Starbound server in another window (screen), you can enter and exit this screen at any time, might be a bit confusing at first but you’ll get the hang of it.
“starbound” is the screen name.
If you accidentally ran starbound_server before running it in screen press CTRL + Z to close it.
Type the following to enter the screen:
screen -d -R starbound
Press CTRL + A then CTRL + D to exit the screen without shutting down the starbound server.
Type the following to get a list of screens:
And type the following to shutdown (kill) the server and the screen at the same time:
screen -S starbound -X quit
To update the server repeat the following steps:
login your_steam_username your_steam_password