← Blog

How do you install RedM on your server? A step-by-step tutorial

Par Benjamin D. · PDG

· Lecture 6 min

Contents

Installing RedM rarely fails because of a hard step, almost always because of a step done in the wrong order. The artifact before the key, VORP before its database, a resource before its dependency: and the server stays dark. This tutorial therefore follows the exact sequence, from the download to the first successful connect.

Step 1: Lay down the CitizenFX server artifact

RedM runs on the CitizenFX server artifacts (the "server" builds shared with FiveM). Grab a recent artifact marked as recommended, extract it into a clean folder, and create a resources/ folder next to it to hold your scripts.

Step 2: Generate the cfx.re key

On the cfx.re Keymaster portal, create a free server key. It goes into server.cfg via the sv_licenseKey line. Without a valid key, the process simply refuses to start: it's CitizenFX's entry check.

Step 3: Go through txAdmin

Launch the artifact in txAdmin mode. This web interface guides you to build a first server.cfg, start and stop the server, and read the logs live. It's your control station for everything that follows.

Step 4: Deploy VORP and its database

The western RP core is VORP. Install oxmysql, fill in the connection to a MySQL database, then deploy the VORP core and its base resources (characters, inventory, economy). Each resource is declared with ensure, and the order follows the dependencies.

The classic RedM trap: forgetting oxmysql or an invalid MySQL connection. VORP depends entirely on it, and an unreachable database brings down the whole server, not just one resource.

Step 5: Open the door and test

  • Confirm port 30120 in UDP and TCP on the firewall side.
  • Check in the txAdmin console that VORP loads without a SQL error.
  • Join the server from RedM and create a character to validate the full chain.

Jumping straight to step 4

On a Fly-Serv RedM server, steps 1 to 3 are already done: artifact and txAdmin pre-installed. All that's left is the cfx.re key and the VORP deployment from FlyPanel. If you're starting from scratch, first read How to create a RedM server, then open your server from 1,99 €/month.