# GUI based distro: Installing your server

<figure><img src="/files/oE32fbiwTVcBVqCOc3xl" alt=""><figcaption></figcaption></figure>

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](https://master.raftmodding.com/).

{% hint style="warning" %}
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.](/tutorials/linux-installing-your-server/linux-installing-your-server-1.md)
{% endhint %}

### 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.

{% tabs %}
{% tab title="Automated Script" %}
1 ) Download our bash script from [here](https://fastdl.raftmodding.com/installrds.sh).\
\
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](https://master.raftmodding.com/download) 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`
{% endtab %}

{% tab title="Step by step with commands" %}
1 ) Make sure your distribution is up to date.\
Run the command `sudo apt update` to update all your packages.\
\
2 ) Installing the required dependencies.\
In order to run the RaftDedicatedServer.exe file on linux, you'll need to install some third party softwares on your linux server such as [Wine](https://www.winehq.org/) & [Mono](https://www.mono-project.com/).\
Run `sudo apt install -y winetricks xvfb` to install wine.\
Run `wget https://dl.winehq.org/wine/wine-mono/5.0.0/wine-mono-5.0.0-x86.msi` to download mono for wine.\
Run `msiexec /i wine-mono-5.0.0-x86.msi` to install mono for wine.\
Run `sudo winetricks dotnet46` to install .NET 4.6 for wine.

3 ) Configuring winetricks\
Winetricks need to be configured else it'll output many errors when running the server.\
Simply run `sudo winetricks sound=disabled` to disable ALSA sound library from wine.\
\
4 ) Create a folder for your server.\
\
5 ) Upload all the Raft game files onto your server.\
\
6 ) Download RDS from [here](https://master.raftmodding.com/download) and put it into your server directory.\
\
7 ) 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`
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rdswiki.raftmodding.com/tutorials/linux-installing-your-server/linux-installing-your-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
