diff --git a/home/server-installation.html b/home/server-installation.html index 1d3e799..3c75f05 100644 --- a/home/server-installation.html +++ b/home/server-installation.html @@ -51,8 +51,9 @@ dateCreated: 2020-06-17T21:05:01.162Z
For the Linux installation, see the next step.
Please ensure you have port-forwarded before attempting to host a server! Without you ports being forwarded, you cannot host a server to the public!
.zip
archive, called something like BeamMP-Server.zip
.BeamMP-Server.zip
. You will end up with a BeamMP-Server.exe
file, among others which you can ignore for now. Make a folder somewhere and put the BeamMP-Server.exe
there. This is where your server will live.BeamMP-Server.exe
.BeamMP-Server.exe
there. This is where your server will live.Server.log
file and a ServerConfig.toml
file next to your BeamMP-Server.exe
.BeamMP-Server.exe
using [Right click] > Send to > Desktop (create shortcut).Skip this if you did “Installation on Windows”.
This step will work on Debian, Ubuntu, and similar Debian-derivatives on x86_64. If you're on a different distribution or architecture, refer to the "Building from source” step below.
+This step will work on all distributions we provide binaries for here. If you're on a different distribution or architecture, refer to the "Building from source” step below.
.zip
archive, called something like BeamMP-Server.zip
.BeamMP-Server.zip
. You will end up with a BeamMP-Server-linux
file, among others which you can ignore for now. Make a folder somewhere and put the BeamMP-Server-linux
there. This is where your server will live.BeamMP-Server-linux
in, and run chmod +x BeamMP-Server-linux
. This ensures that you have permissions to run it../BeamMP-Server-linux
. This will generate all the necessary files for you, once you see text you can close it and proceed to the next step. You should see a Server.log
file and a ServerConfig.toml
file next to your BeamMP-Server-linux
.BeamMP-Server-xxx
from now on, where xxx
denotes the version for the distro you're using.BeamMP-Server-xxx
, among others which you can ignore for now. Make a folder somewhere and put the BeamMP-Server-xxx
there. This is where your server will live.BeamMP-Server-xxx
in, and run chmod +x BeamMP-Server-xxx
. This ensures that you have permissions to run it../BeamMP-Server-xxx
. This will generate all the necessary files for you, once you see text you can close it and proceed to the next step. You should see a Server.log
file and a ServerConfig.toml
file next to your BeamMP-Server-xxx
.beammpserver
(or similar), as we do NOT recommend running the server as root, sudo or with your personal user account. You should then take steps to make sure that you start the server as this user only.Now proceed to the next step.
BeamMP-Server for Linux can be officially built on both Debian, Ubuntu, other Debian-derivatives, and ArchLinux. Other distributions are likely to work, too, but aren't officially supported. If you want to build it yourself you can do it by downloading the source on our GitHub, a tutorial can be found here.
+Other distributions in addition to the ones that already have a binary here are likely to work too, but aren't officially supported. If you want to build it yourself you can do it by downloading the source on our GitHub, a tutorial can be found here.
At the end, make sure to run your server once with ./BeamMP-Server
and then proceed to the next step.
If you built from source, you just rebuild. Make sure to run git submodule update --init --recursive
before you rebuild.
BeamMP-Server.exe
. We will call this one the “new executable”.BeamMP-Server.exe
. We will call this one the “new executable”.BeamMP-Server.exe
executable is located (same folder where your ServerConfig.toml
is, usually). We will call this one the “old executable”.BeamMP-Server-linux
. We will call this one the “new executable”.BeamMP-Server-linux
executable is located (same folder where your ServerConfig.toml
is, usually). We will call this one the “old executable”.BeamMP-Server-xxx
from now on, where xxx
denotes the version for the distro you're using.BeamMP-Server-xxx
depending on the version you've downloaded. We will call this one the “new executable”.BeamMP-Server-xxx
executable is located (same folder where your ServerConfig.toml
is, usually). We will call this one the “old executable”.sudo chmod +x BeamMP-Server-linux
. This will make sure the server can be run.sudo chmod +x BeamMP-Server-xxx
. This will make sure the server can be run.The server does not support automatic updates or update notifications (yet).
-You can, however, ask the GitHub API for the lastest release by checking the server's version against the tags. You can get that by GET'ing from https://api.github.com/repos/BeamMP/BeamMP-Server/git/refs/tags
.
You can, however, ask the GitHub API for the lastest release by checking the server's version against the tags. You can get that by GET'ing from https://api.github.com/repos/BeamMP/BeamMP-Server/git/refs/tags
.