- Thread Author
- #1
How to Install a RedAge RP Server Build on Linux (Debian 10) | RAGE:MP 1.1
Hello, in this thread I will try to tell you in as much detail as possible how to install the RedAge Role Play (RAGE:MP 1.1) server build on Linux (using the Debian 10 distribution as an example). At the end of the video, there will be a video on which all the steps from the manual will be done visually.
Start.
I'll be using the latest version of Debian 10 (netinst), which I downloaded from the official website:
You must be registered for see links
I'll do everything on a virtual machine, but you'll probably have hosting with SSH access.
Let's check the information about the distribution by entering the command - lsb_release -a
The first step is to update the kernel and packages to the latest versions:debian@debian:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Enter the command:
Bash:
sudo apt update && sudo apt full-upgrade
We agree to the installation and expect the result.
Next, you need to download a clean RAGE:MP 1.1 (linux_x64.tar.gz) server,
this archive is located in the folder with RAGE Multiplayer installed or can be downloaded from the link:
You must be registered for see links
Enter the command:
Bash:
wget https://cdn.rage.mp/updater/prerelease/server-files/linux_x64.tar.gz
Let's unzip the archive with the command:
Bash:
tar -xzf linux_x64.tar.gz
Bash:
cd ragemp-srv
Bash:
chmod +x ragemp-server
Let's start a clean server with the command:
Bash:
./ragemp-server
We have installed a clean server (database), any server build can be installed on this template.
Example of a successful launch:

Next, we will install the RedAge RP mod itself and the environment for it.
It is necessary to install a DBMS server - MySQL, create two databases.
Enter the command:
Bash:
sudo apt install default-mysql-server
Go to the database interface by entering the command:
Bash:
sudo mysql
SQL:
// Создаем две базы данных
CREATE DATABASE redage;
CREATE DATABASE redagelogs;
// Создаем пользователя для работы с базами данных
// Не забудьте изменить пароль p4ssw0rd на свой.
CREATE USER 'redage'@'localhost' IDENTIFIED WITH mysql_native_password BY 'p4ssw0rd'; // Команда для версии MySQL > 5.7
CREATE USER 'redage'@'localhost' IDENTIFIED BY 'p4ssw0rd'; // Команда для версии MySQL <= 5.6
// Предоставляем пользователю полный доступ к двум базам данных
GRANT ALL PRIVILEGES ON redage . * TO 'redage'@'localhost';
GRANT ALL PRIVILEGES ON redagelogs . * TO 'redage'@'localhost';
FLUSH PRIVILEGES;
Exit the MySQL interface using the Ctrl + D keyboard shortcut.Host: localhost
User: redage
Database: redage && redagelogs
Password: p4ssw0rd (change to your own)
Next, we need to import the database dump into the databases we have created.
Upload two sql files to any place on the server and enter the commands sequentially (during the execution process, you will be asked for a password for the user - enter the one you set above):
Bash:
sudo mysql -u redage -p redage < redage.sql
sudo mysql -u redage -p redagelogs < redagelogs.sql
We need to upload the RedAge server files to our folder with a clean RAGE:MP server:
List of files and folders to download:
- dotnet/resources
- dotnet/settings.xml
- client_packages
- conf.json
Final stage.
It is necessary to replace the file SQLite.Interop.dll (when running on Windows, this file is copied by itself after building the project):
Copy the file with the replacement:
from here dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\runtimes\linux-x64\native\SQLite.Interop.dll
here dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\SQLite.Interop.dll
Do not forget (on your PC) to fill out the file MySQL.cs, compile the solution and load new files client.dll and server.dll at: dotnet\resources\client\bin\x64\Debug\netcoreapp3.1
Delete the Settings.db if necessary, and in the future, when changing the backend, only two files (client.dll and server.dll need to be replaced.
Launch the server, everything should work perfectly:

I hope I explained everything clearly and the issue with the installation of the RAGE:MP server on Linux is now closed
Ask if something is not clear, if you have time - I will answer and try to help.
credit: Harland David Sanders