Starbound: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Created page with "== Stopping the server == {{Root|su -l starbound}} {{Command|tmux attach -t starbound}} On the Starbound server command-line. {{Command|Strg-C}}"
 
Tgurr (talk | contribs)
No edit summary
Line 1: Line 1:
== Create a user for running Starbound ==
{{Root|useradd -m -s /bin/bash starbound}}
Become the starbound user so that any file you download is owned by the correct user.
{{Root|su -l starbound}}
== Install the [[Steam]] command line interface
{{Command|mkdir ~/SteamCMD}}
{{Command|cd ~/SteamCMD}}
{{Command|wget http://media.steampowered.com/client/steamcmd_linux.tar.gz}}
{{Command|tar -xf steamcmd_linux.tar.gz}}
Test:
{{Command|./steamcmd.sh}}
{{Command|Ctrl+C}}
== Obtain and run the server binary ==
{{Command|mkdir ~/server}}
{{Command|cd ~/SteamCMD}}
{{Command|./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir /home/starbound/server +app_update 211820 +exit}}
== Run the server ==
{{Command|tmux new -s starbound}}
{{Command|cd ~/server/linux64}}
{{Command|./launch_starbound_server.sh}}
{{Command|Ctrl-C}}
Edit configuration (The file is created when starting the server for the first time)
{{Command|nano -w ~/server/linux64/starbound.config}}
== Stopping the server ==
== Stopping the server ==
{{Root|su -l starbound}}
{{Root|su -l starbound}}
{{Command|tmux attach -t starbound}}
{{Command|tmux attach -t starbound}}
On the Starbound server command-line.
On the Starbound server command-line.
{{Command|Strg-C}}
{{Command|Ctrl-C}}

Revision as of 00:32, 14 December 2013

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
$ wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
$ tar -xf steamcmd_linux.tar.gz

Test:

$ ./steamcmd.sh
$ Ctrl+C

Obtain and run the server binary

$ mkdir ~/server
$ cd ~/SteamCMD
$ ./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir /home/starbound/server +app_update 211820 +exit

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