Terraria: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
{{Command|./steamcmd.sh}} | {{Command|./steamcmd.sh}} | ||
{{Command|Ctrl-c}} | {{Command|Ctrl-c}} | ||
== Obtain and run the server binary == | |||
{{Command|mkdir ~/server}} | |||
{{Command|cd ~/steamcmd}} | |||
{{File|~/steamcmd/update_terraria.sh| | |||
<pre> | |||
./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir ~/server +app_update 105600 +exit | |||
</pre> | |||
}} | |||
Revision as of 01:22, 10 September 2015
Create a user for running Terraria
# useradd -m -s /bin/bash terraria
Become the terraria user so that any file you download is owned by the correct user.
# su -l terraria
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_terraria.sh
./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir ~/server +app_update 105600 +exit