How To Run RedM Server Artifacts on Linux

Learn how to download and run FXServer artifacts for RedM on a Linux VPS or dedicated server.

FXServer artifacts are the core engine that powers your RedM server. This guide covers downloading, extracting, and running them on Linux.

📝 Note: If you are using XGamingServer's managed hosting, the artifacts are handled for you. This guide is for self-hosted or VPS deployments.

Prerequisites

  • A Linux server (Ubuntu 20.04+ or Debian 11+ recommended)
  • wget installed (comes pre-installed on most distros)
  • screen or tmux for keeping the server running in the background
  • A cfx.re license key

Step 1 — Create a Directory for Artifacts

mkdir -p ~/redm/artifacts
cd ~/redm/artifacts

Step 2 — Download the Latest Artifacts

Visit the FXServer Linux artifacts page and copy the link to the latest build.

Then download it with wget:

wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/LATEST-RECOMMENDED/fx.tar.xz

💡 Tip: Replace the URL with the latest recommended build link from the artifacts page.

Step 3 — Extract the Archive

tar -xf fx.tar.xz

Verify the files extracted correctly:

ls -la

You should see files including run.sh, FXServer, and supporting libraries.

Step 4 — Create a Server Data Folder

Your server data (resources, server.cfg, etc.) should be in a separate directory:

mkdir -p ~/redm/server-data
cd ~/redm/server-data

Download the cfx-server-data base resources:

git clone https://github.com/citizenfx/cfx-server-data.git .

Step 5 — Create server.cfg

Create a basic server.cfg in your server-data folder:

nano server.cfg

Paste in a basic configuration:

sv_hostname "My RedM Server"
sv_licenseKey "your_license_key_here"
sv_maxclients 32

set onesync on

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure monitor

Save and exit with CTRL+X, Y, Enter.

📝 Note: Replace your_license_key_here with your actual key. See Create a License Key.

Step 6 — Start the Server in a Screen Session

Use screen to keep the server running after you close your SSH session:

sudo apt-get install screen -y
screen -S redm

Then run the server:

cd ~/redm/artifacts
bash run.sh +exec /root/redm/server-data/server.cfg

To detach from the screen session without stopping the server, press CTRL+A, then D.

To reattach later:

screen -r redm

Step 7 — Connect to txAdmin

On first run, the artifacts launch txAdmin — a web-based server management interface. Look for the access URL in the console output:

txAdmin is starting on http://localhost:40120/

You can access it remotely via http://your-server-ip:40120.

Follow the txAdmin setup wizard to finish configuring your server.

Keeping Artifacts Updated

To update your artifacts, stop the server, download the new archive, and replace the old files:

screen -r redm
# Press CTRL+C to stop the server
cd ~/redm/artifacts
wget [new-artifact-url] -O fx.tar.xz
tar -xf fx.tar.xz
bash run.sh +exec /root/redm/server-data/server.cfg

💡 Tip: Need help getting set up? Join our Discord for support.

Next Steps

How is this guide?

40% Off — Limited TimeGet your Redm server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page