Do you have a Linux Dedicated Server and want to install the RageMP Dedicated Server service on it? You’re in the right place. In this guide, we’ll explain step by step how to install this service on your Linux server. We’ll use Ubuntu as an example, but the process is very similar for other distributions.
First, connect to your Dedicated Server via SSH. If you need help, take a look at our SSH Initial Access guide.
We strongly recommend creating a separate user to run all your dedicated game server services. Using the root user is not recommended for various reasons. If you already have a user, you can go straight to the installation.
Use the following command to create a user named gameservers and, optionally, set a password of your choice.
sudo useradd -m gameservers
sudo passwd gameservers # Optionales Passwort
Once you have access to your server and a user is ready, you can continue with the installation.
Log in as the gameservers user and switch to the home directory to keep everything organized.
sudo -u gameservers -s
cd ~
Create a new folder for your RageMP server and open it.
mkdir RageMP-Server && cd RageMP-Server
Now you need to download the latest version from the RageMP website. Use this command:
wget https://cdn.rage.mp/updater/prerelease/server-files/linux_x64.tar.gz
The .tar.gz file will be saved in your current directory, which is the RageMP-Server folder. Extract the files with:
tar -xvzf linux_x64.tar.gz
Your files are now in the ragemp-srv folder. Go there with cd ragemp-srv. You can use ls to view its contents at any time. The server is now ready, so continue with the configuration.
You’ve now completed the basic installation of your RageMP server. You can make additional settings using a configuration file in the server directory.
You may need to start the server at least once to create the configuration files. To do this, start it using the shell file: /home/gameservers/RageMP-Server/ragemp-srv/ragemp-server. Then stop the server with CTRL+C.
The most important settings are in the conf.json file, which you can edit as follows:
nano /home/gameservers/RageMP-Server/ragemp-srv/conf.json
Now for the important part: start your server by switching to the main directory and running the shell file:
/home/gameservers/RageMP-Server/ragemp-srv/ragemp-server
You should now see logs in the terminal, including network logs—this means the server is running successfully. If everything is working, your server will be reachable via Direct Connect and visible in the server list. Alternatively, you can connect directly using: [deine_ip_adresse]:22005.
Congratulations, you’ve successfully installed and configured the RageMP server on your Dedicated Server! As a next step, we recommend our Set Up a Linux Service guide. It explains how to set up your new dedicated game server as a service. This offers many benefits, such as automatically starting the server at boot, automatic updates, easy management, and access to logs—and much more!
If you have any questions or run into problems, our support team is available every day and will be happy to help!