Starbound: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
{{Command|wget http://media.steampowered.com/client/steamcmd_linux.tar.gz}} | {{Command|wget http://media.steampowered.com/client/steamcmd_linux.tar.gz}} | ||
{{Command|tar -xf steamcmd_linux.tar.gz}} | {{Command|tar -xf steamcmd_linux.tar.gz}} | ||
Test | Test Steam. | ||
{{Command|./steamcmd.sh}} | {{Command|./steamcmd.sh}} | ||
{{Command|Ctrl | {{Command|Ctrl-c}} | ||
== Obtain and run the server binary == | == Obtain and run the server binary == | ||
| Line 25: | Line 25: | ||
{{Command|mkdir ~/server}} | {{Command|mkdir ~/server}} | ||
{{Command|cd ~/SteamCMD}} | {{Command|cd ~/SteamCMD}} | ||
{{ | |||
{{File|~/SteamCMD/update_starbound.sh| | |||
<pre> | |||
./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir /home/starbound/server +app_update 211820 +exit | |||
</pre> | |||
}} | |||
{{Command|chmod +x update_starbound.sh}} | |||
{{Command|./update_starbound.sh}} | |||
== Run the server == | == Run the server == | ||
| Line 32: | Line 41: | ||
{{Command|cd ~/server/linux64}} | {{Command|cd ~/server/linux64}} | ||
{{Command|./launch_starbound_server.sh}} | {{Command|./launch_starbound_server.sh}} | ||
{{Command|Ctrl- | {{Command|Ctrl-c}} | ||
Edit configuration ( | Edit configuration (the file is created when starting the server for the first time). | ||
{{Command|nano -w ~/server/linux64/starbound.config}} | {{Command|nano -w ~/server/linux64/starbound.config}} | ||
| Line 42: | Line 51: | ||
{{Command|tmux attach -t starbound}} | {{Command|tmux attach -t starbound}} | ||
On the Starbound server command-line. | On the Starbound server command-line. | ||
{{Command|Ctrl- | {{Command|Ctrl-c}} | ||
Revision as of 00:58, 14 December 2013
Install required libraries to run the server binary
# emerge libpng:1.2
Create a user for running Starbound
# useradd -m -s /bin/bash starbound
Become the starbound user so that any file you download is owned by the correct user.
# su -l starbound
Install the Steam command line interface
$ mkdir ~/SteamCMD
$ cd ~/SteamCMD
$ tar -xf steamcmd_linux.tar.gz
Test Steam.
$ ./steamcmd.sh
$ Ctrl-c
Obtain and run the server binary
$ mkdir ~/server
$ cd ~/SteamCMD
File: ~/SteamCMD/update_starbound.sh
./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir /home/starbound/server +app_update 211820 +exit
$ chmod +x update_starbound.sh
$ ./update_starbound.sh
Run the server
$ tmux new -s starbound
$ cd ~/server/linux64
$ ./launch_starbound_server.sh
$ Ctrl-c
Edit configuration (the file is created when starting the server for the first time).
$ nano -w ~/server/linux64/starbound.config
Stopping the server
# su -l starbound
$ tmux attach -t starbound
On the Starbound server command-line.
$ Ctrl-c