Need a Minecraft server? BeastNode offers the highest performance servers with DDoS protection!

Shop for plans now


How to install a Starbound server on your VPS (Ubuntu)

Although this guide is for Ubuntu, these same steps may apply to other operating systems/distros. However, not all distros will work properly with Starbound.


1. First thing you'll want to do is reinstall your VPS using the Starbound-Ubuntu distro (you can reinstall your OS via the control panel): https://www.beastnode.com/portal/knowledgebase/102/Changing-the-Operating-System-or-Reformatting-your-VPS.html).


2. SSH into your VPS. Guide here if you are not familiar with accessing your VPS with SSH: https://www.beastnode.com/portal/knowledgebase/91/How-to-Login-to-Your-VPS.html


3. Once logged in, run the following commands:
cd /home
mkdir starbound
cd starbound


4. Now download SteamCMD and extract it:
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz


5. Run SteamCMD:
./steamcmd.sh


6. Once the installer is completed and you see "Steam>" run the following command:
login your_steam_username your_steam_password


7. You should now be logged into your Steam account via the VPS (you may get a SteamGuard message, just follow the directions displayed). Now type in the following:
force_install_dir ./server


8. Once the previous step is completed, run the following:
app_update 211820
This step will update Starbound.


9. Once the update is completed, quit using the following command:
quit


10. Now navigate to the server directory that we had Steam install the game server to previously:
cd /home/starbound/server/linux32
Note: If you're not using the Starbound-Ubuntu distro, make sure to navigate to the appropriate folder in the "server" directory as there will be a "linux32" and "linux64" folder referring to 32bit or 64bit distros.


11. Before we run the server, you will want to run the server in "screen" so that the server won't shut down when you close your SSH client:
screen -S starbound
Then you can run the server:
./launch_starbound_server.sh
You can exit the "screen" session by hitting CTRL+a then push "d" on your keyboard. This will take you out of the server console screen session and back to the regular SSH window. You can come back to the console at any time by typing "screen -x starbound".


What if your Starbound server crashes?

If your server crashes for any reason (since the game is still in development), run the following via SSH:
killall starbound_server


Then restore your screen session:
screen -x starbound


And start up the server again:
./starbound_server
You should already be in the directory with that server start up file once you restore the screen session. If not, make sure to navigate there again per step 10 as above.


Updating your Starbound server:

To update your server, just do the following:
cd /home/starbound
./steamcmd.sh


Once at the "Steam>" command prompt do:
login your_steam_username your_steam_password
force_install_dir ./starbound
app_update 211820
quit

Was this answer helpful?

 Print this Article

Also Read

Emails Not Being Sent

By default, email ports are blocked from outbound connections to reduce abuse and lower the...

Securing your VPS

Running a VPS can be risky if you do not go through with some basic security measures before...

Operating System Templates / ISOs

OpenVZ Templates: CentOS 5 (x86_64/x86) CentOS 6 (x86_64/x86) CentOS 6 Minimal (x86_64/x86)...

VPS offline or suspended without notice?

We have an automated anti-abuse system that may suspend your VPS if there is any abusive activity...

Protect SSH with Fail2Ban on CentOS 6

Fail2Ban is an SSH security program that blocks SSH brute force attempts on your server (as well...