Redo website styling
This commit is contained in:
@@ -8,33 +8,40 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="/favico.ico">
|
||||
</head>
|
||||
<body class="body">
|
||||
<header>
|
||||
<a href="/">
|
||||
<img src="/img/logo.png">
|
||||
<body>
|
||||
<nav>
|
||||
<a href="/" class="header-logo">
|
||||
<img src="/img/header-logo.webp" alt="logo">
|
||||
</a>
|
||||
<a href="/about/">About</a>
|
||||
<a href="/blog/">Blog</a>
|
||||
<a href="/contact/">Contact</a>
|
||||
</header>
|
||||
<main class="blog-entry">
|
||||
<h1>Johannes Olzem</h1>
|
||||
<blockquote>Less is more</blockquote>
|
||||
<h2>How to create a Rust server on Linux</h2>
|
||||
<span class="header-text">Johannes Olzem</span>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/about/">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/blog/">Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact/">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<main>
|
||||
<h1>How to create a Rust server on Linux</h1>
|
||||
<div class="author">Johannes Olzem</div>
|
||||
<div class="date">May 23, 2023</div>
|
||||
<h2>Table of Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#Requirements">Requirements</a></li>
|
||||
<li><a href="#SteamCMD">SteamCMD</a><br /></li>
|
||||
<li><a href="#Installing">Installing</a><br /></li>
|
||||
<li><a href="#SteamCMD">SteamCMD</a><br></li>
|
||||
<li><a href="#Installing">Installing</a><br></li>
|
||||
<li><a href="#Running">Running</a></li>
|
||||
</ul>
|
||||
<h2 id="Requirements">Requirements</h2>
|
||||
<ul>
|
||||
<li>Debian Linux</li>
|
||||
<li>>5GB of RAM</li>
|
||||
<li>>4.5GB of free disc space</li>
|
||||
<li>>5GB of RAM</li>
|
||||
<li>>4.5GB of free disc space</li>
|
||||
</ul>
|
||||
<h2 id="SteamCMD">SteamCMD</h2>
|
||||
<h3>Configuring the envoirenment</h3>
|
||||
@@ -47,9 +54,9 @@
|
||||
<p class="code cmd">
|
||||
sudo passwd steam
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
When prompted, enter a new password for the "steam" user. <br />
|
||||
When prompted, enter a new password for the "steam" user. <br>
|
||||
Then switch to the "steam" user and go to its home folder.
|
||||
</p>
|
||||
<p class="code cmd">
|
||||
@@ -58,19 +65,19 @@
|
||||
<p class="code cmd">
|
||||
cd
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
Enable the contrib and non-free repositories by changing your <code>/etc/apt/sources.list</code> to resemble the following:
|
||||
</p>
|
||||
<p class="code no-dollar" style="text-align:left;">
|
||||
deb http://deb.debian.org/debian bullseye main contrib non-free<br />
|
||||
deb-src http://deb.debian.org/debian bullseye main contrib non-free<br />
|
||||
<br />
|
||||
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free<br />
|
||||
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free<br />
|
||||
<br />
|
||||
deb http://deb.debian.org/debian bullseye-updates main contrib non-free<br />
|
||||
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free<br />
|
||||
<p class="code" style="text-align:left;">
|
||||
deb http://deb.debian.org/debian bullseye main contrib non-free<br>
|
||||
deb-src http://deb.debian.org/debian bullseye main contrib non-free<br>
|
||||
<br>
|
||||
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free<br>
|
||||
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free<br>
|
||||
<br>
|
||||
deb http://deb.debian.org/debian bullseye-updates main contrib non-free<br>
|
||||
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free<br>
|
||||
</p>
|
||||
<h3>Installing SteamCMD</h3>
|
||||
<p>
|
||||
@@ -79,7 +86,7 @@
|
||||
<p class="code cmd">
|
||||
sudo apt install steamcmd
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<h2 id="Installing">Installing</h2>
|
||||
<p>
|
||||
Run SteamCMD
|
||||
@@ -87,15 +94,15 @@
|
||||
<p class="code cmd">
|
||||
steamcmd
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
After a short update period, a prompt like <code>Steam></code> should appear.<br />
|
||||
After a short update period, a prompt like <code>Steam></code> should appear.<br>
|
||||
To login anonymously type:
|
||||
</p>
|
||||
<p class="code">
|
||||
login anonymous
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
Now install the Rust Dedicated Server application.
|
||||
</p>
|
||||
@@ -103,15 +110,15 @@
|
||||
app_update 258550
|
||||
</p>
|
||||
<p>
|
||||
This will install and verify the Rust server.<br />
|
||||
On my ~100 Mbit/s connection this took around 15-20 Minutes. <br />
|
||||
<br />
|
||||
This will install and verify the Rust server.<br>
|
||||
On my ~100 Mbit/s connection this took around 15-20 Minutes. <br>
|
||||
<br>
|
||||
Afterwards you can quit the SteamCMD shell.
|
||||
</p>
|
||||
<p class="code">
|
||||
quit
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<h2 id="Running">Running</h2>
|
||||
<p>
|
||||
First navigate to the Rust server directory.
|
||||
@@ -119,18 +126,18 @@
|
||||
<p class="code cmd">
|
||||
cd ~/Steam/steamapps/common/rust_dedicated
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
Finally, start up the Rust server by running:
|
||||
</p>
|
||||
<p class="code cmd">
|
||||
./RustDedicated -batchmode
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<p>
|
||||
There are several arguments you can pass to the server to change its behaviour.
|
||||
</p>
|
||||
<br />
|
||||
<br>
|
||||
<table>
|
||||
<tbody><tr>
|
||||
<th>Parameter
|
||||
@@ -235,17 +242,19 @@
|
||||
</td>
|
||||
<td><code>gamelog.txt</code>
|
||||
</td>
|
||||
<td>If you"re using a script, you"d better put the current date as a filename, otherwise, it"ll be erased on every start.
|
||||
<td>If you're using a script, you'd better put the current date as a
|
||||
filename, otherwise, it'll be erased on every start.
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td><code>-silent-crashes</code>
|
||||
</td>
|
||||
<td><code> - </code>
|
||||
</td>
|
||||
<td>Won"t display a crash dialog and will restart automatically if server is installed as service.
|
||||
<td>Won't display a crash dialog and will restart automatically if server
|
||||
is installed as service.
|
||||
</td></tr></tbody>
|
||||
</table>
|
||||
<br />
|
||||
<br>
|
||||
<h2>Sources</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -262,6 +271,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
</main>
|
||||
<footer>
|
||||
© 2021 - <script>document.write(new Date().getFullYear())</script> Johannes Olzem
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user