fmartingr.com/blog/2013/12/05/howto-starbound-dedicated-s.../index.html

106 lines
4.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>How to: Starbound dedicated server on a linux machine | Blog | Felipe Martin</title>
<link rel="stylesheet" href="/static/css/style.css">
<link rel="alternate" type="application/rss+xml" title="RSS Feed for fmartingr.com" href="/feed.xml" />
<link rel="icon" href="/static/images/favicon.ico">
<!-- Mobile -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta http-equiv="cleartype" content="on">
</head>
<body class="blog post">
<div class="page-content center">
<header>
<div class="avatar">
<img class="avatar" src="/static/images/avatar.jpg?h=f834fb12">
</div>
<h1>Felipe Martín</h1>
<nav>
<a href="/">/home</a>
<a class="text-bold" href="/blog/">/blog</a>
<a href="/about/">/about</a>
</nav>
</header>
<hr>
<section class="main-content">
<article class="blog-post">
<h1 class="title"><a href="/blog/2013/12/05/howto-starbound-dedicated-server-linux-machine/">How to: Starbound dedicated server on a linux machine</a></h1>
<div class="info">
Published on December 05, 2013
</div>
<div class="content">
<p><img src="/blog/2013/12/05/howto-starbound-dedicated-server-linux-machine/starbound-
logo.jpg" alt="Starbound logo"></p>
<p>The day it's here! Starbound beta is finally here, and what could be better
than having a dedicated server to play with your friends? Let's get this done.</p>
<h2 id="install-steamcmd">Install SteamCMD</h2><p>Official documentation: <a href="https://developer.valvesoftware.com/wiki/SteamCMD">https://developer.valvesoftware.com/wiki/SteamCMD</a></p>
<p>Basically you need to download it's shell script to manage steam apps, take
special attention to the lib32 section if you're running the server in a 64bit
machine.</p>
<div class="hll"><pre><span></span>wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar xzf steamcmd_linux.tar.gz
</pre></div>
<h2 id="install-starbound-on-the-server">Install Starbound on the server</h2><p>You will need to login with your steam username here to download/update
starbound. Your account<strong> is not needed</strong> to keep the server running.</p>
<div class="hll"><pre><span></span>./steamcmd.sh
# Steam updating and validating stuff
Steam&gt; login your_username_here
# Your password WILL BE VISIBLE. But after a first login
# your credentials will be cached so you don&#39;t need to
# expose them everytime you need to use the steamcmd.
Steam&gt; app_update 211820
# This will install starbound, it will take a while
# depending on the server bandwidth.
Steam&gt; app_update 211820 validate
# Validate installation, just in case.
# I do this in two separate steps because -at least for me-
# validating on a fresh install take a lot longer that
# just installing and validating afterwards. Don&#39;t sure why.
Steam&gt; quit
# Finished!
</pre></div>
<h2 id="start-the-server">Start the server</h2><p>Go to <code>Steam/SteamApps/common/Starbound/linuxXX/</code> (where XX is 32 or 64 based
on your server architecture).</p>
<p>Launch <code>launch_starbound_client.sh</code></p>
<p>If you want to use the universe you played on your computer, just upload the
universe folder found on your computer to the same folder where the server
script is.</p>
<p>Happy gaming!</p>
</div>
<hr />
</article>
<div class="block-info">
If you want to approach me directly about this post use the most appropriate channel
from <a href="/about/">the about page</a>.
</div>
</section>
<hr>
<footer>
Site created using <a target="_blank" href="https://getlektor.com">Lektor</a>. Source code available in <a target="_blank" href="https://github.com/fmartingr/fmartingr.com">Github</a>
</footer>
</body>
</html>