How To Install Starbound Server on CentOS 7
In this tutorial, I'll be explaining how to setup a Starbound server on CentOS 7.
- You need to own this game on your Steam account.
Before starting, lets be sure that the system is up-to-date. Then we will create a new user for the server. When prompted, specify a strong, secure password for this user.
yum upgrade -y
Let us also open the necessary firewall port.
firewall-cmd --zone=public --add-port=21025/tcp --permanent
Install the system libraries needed to run SteamCMD.
yum install glibc.i686 libstdc++.i686 -y
Switch to the user account that was created earlier.
Install the SteamCMD software.
tar xf steamcmd_linux.tar.gz
Next, we will use SteamCMD to install the game server files. If your Steam account has Steam Guard enabled, you need to check your email inbox for the login code.
*input password and steam guard code*
app_update 211820 validate
When the screen reads
Success! App '211820' fully installed., simply type
quit and press
Your Starbound server is now installed.
Customizing the server
Server customization is done by editing the file
sbboot.config. Only change the value after the colon
- On line 47, change
A Starbound Serverto the server name desired.
- On line 48, change
8to the amount of slots desired.
Updating your server
First, create the file
Populate it with the following contents.
login YourAccount YourPassword
You can update your server anytime using the following command. Please note that if you have Steam Guard enabled, you will need to enter the code again during the update process.
cd ~ && ./steamcmd.sh +runscript update_starbound.txt
Running your server
To start your server, run these commands.
screen -dmS starbound ./starbound_server
Your server is now running in a screen session. You may shut it down anytime with the following command:
screen -S starbound -X quit
Enjoy your new Starbound server!