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

How to Install and Configure an OpenVPN Server on CentOS 6

This guide will provide you with all the steps necessary to install a simple OpenVPN server on...

How to Install a MySQL Server on your CentOS VPS

Install MySQL on your Linux Server This guide is based on a standard install of CentOS - other...

Install Minecraft Pocket Edition Server (Nukkit) on CentOS 7 64-bit

Installing Minecraft: Pocket Edition servers has never been easier with the advent of Nukkit (the...

Installing a Minecraft Server on Your VPS

For this guide, we'll be going over how to install a Minecraft CraftBukkit server on a CentOS 5...

Disable Firewalld on CentOS 7

If for any reason you need to disable the firewalld service on your CentOS 7 VPS (such as to test...