GUI based distro: Installing your server
Installing a Raft Dedicated Server on Linux is a bit more complicated than Windows but if you have some basic knowledge of linux you can probably do it.
RDS is really easy to install as it is a single application named RaftDedicatedServer.exe that you can download on our master website available here.
This tutorial has been written for Ubuntu 22.04 LTS. It should work on other debian based linux distributions. When it comes to other distro families like Redhat, Arch, ... you will need to adapt the commands.
This guide is for distros that have a user interface. If your distro does only provide a command line check the other guide.
How to install ?
There's two ways to install RDS on linux, you can either use our automated script or follow our step by step tutorial. If you don't really know what you are doing, we recommend you to use our automated script.
1 ) Download our bash script from here.
2 ) Put in your home/YOUR_USER folder.
3 ) Run the command chmod 777 ./installrds.sh
4 ) Launch the installation with ./installrds.sh
5 ) Create a folder for your server.
6 ) Upload all the Raft game files onto your server.
7 ) Download RDS from here and put it into your server directory.
8 ) Now to run your server go in your server folder with cd yourserverfolder
and use the following command.
/usr/bin/xvfb-run -a -l env WINEDLLOVERRIDES="winhttp.dll=n,b" env WINEDEBUG="-all" wine64 RaftDedicatedServer.exe
8 ) Now that your server "should" be working, in order to let it run 24/7 when you close the terminal, you can use screen with the commands below.
Launching the server :
screen -R RDS /usr/bin/xvfb-run -l -a env WINEDLLOVERRIDES="winhttp.dll=n,b" env WINEDEBUG="-all" wine64 RaftDedicatedServer.exe
To get back in the server window after logging back in into your VPS, type screen -r
To leave your server window without killing it press CTRL+A+D
Last updated