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)
wgetinstalled (comes pre-installed on most distros)screenortmuxfor 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/artifactsStep 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.xzVerify the files extracted correctly:
ls -laYou 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-dataDownload 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.cfgPaste 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 monitorSave and exit with CTRL+X, Y, Enter.
📝 Note: Replace
your_license_key_herewith 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 redmThen run the server:
cd ~/redm/artifacts
bash run.sh +exec /root/redm/server-data/server.cfgTo detach from the screen session without stopping the server, press CTRL+A, then D.
To reattach later:
screen -r redmStep 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?
