How to Install Starbound Server on Ubuntu 16.04
Prerequisites
Section titled “Prerequisites”- You need to own this game on your Steam account.
- A sudo user.
- An AleForge Ubuntu 16.04 server instance.
Installing Starbound
Section titled “Installing Starbound”Before starting, let’s 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.
sudo apt-get updatesudo apt-get upgradeadduser starboundpasswd starboundLet’s also open the necessary firewall port.
firewall-cmd --zone=public --add-port=21025/tcp --permanentfirewall-cmd --reloadInstall the system libraries needed to run SteamCMD.
sudo apt-get install lib32gSwitch to the user account that was created earlier.
su starboundcd ~Install the SteamCMD software.
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gztar xf steamcmd_linux.tar.gzNext, 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.
./steamcmd.shlogin YourAccount*input password and steam guard code*
force_install_dir ./starboundapp_update 211820 validateWhen the screen reads Success! App '211820' fully installed. , simply type
quit and press .
Your Starbound server is now installed.
Customizing the server
Section titled “Customizing the server”Server customization is done by editing the file sbboot.config . Only change
the value after the colon : .
nano ~/starbound/linux64/sbboot.config- On line 47, change
A Starbound Serverto the server name desired. - On line 48, change
8to the amount of slots desired.
Updating your server
Section titled “Updating your server”First, create the file update_starbound.txt .
nano /home/starbound/update_starbound.txtPopulate it with the following contents.
login YourAccount YourPasswordforce_install_dir ./starboundapp_update 211820quitYou 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.txtRunning your server
Section titled “Running your server”To start your server, run these commands.
cd /home/starbound/starbound/linux64screen -dmS starbound ./starbound_serverYour server is now running in a screen session. You may shut it down anytime with the following command:
screen -S starbound -X quit