Skip to main content

Step 1: Connect to Your Linux VPS

Connect to your VPS using an SSH tool like PuTTY. When you open PuTTY, you’ll see an interface like this: PuTTY interface Enter two things on this screen: your Host Name (IP address), and the port (usually 22). After entering that information, you’ll see a login screen: PuTTY login Enter the username from the email you received when you bought your VPS (usually root). PuTTY password On the next screen, enter the password from that same email.

Step 2: Go to Your Home Directory

Paste or type this command to change to your home directory:

Step 3: Create Your FiveM Directory

Create a fivem directory and change into it:

Step 4: Install Your FiveM Artifacts

Get your FiveM Linux artifacts from the FiveM artifacts page. When you open that page, you’ll see a site like this: FiveM Linux Artifacts Website Right-click the artifact you want and select Copy link address. Head back to your Linux VPS and run the following command (replace the link with your artifact link):
This downloads all the artifact files. Once the download is done, run:
This unzips the artifacts and installs them in the directory.

Step 5: Start a tmux Session

To keep your server running after you close the PuTTY window, start a tmux session. tmux is usually already installed, but if it isn’t, run the following commands. Debian/Ubuntu/Mint/Kali:
RHEL/CentOS/Rocky Linux/Alma Linux (RHEL 8+):
Verify your installation by typing:
Then start your session by typing:

Step 6: Open Your FiveM Ports

You need to open your FiveM ports so you can set up txAdmin and join the server. Run the following commands:

Step 7: Start Your Server

Run the following command to start your server:
After starting your server, you’ll see this screen: FiveM txAdmin screen on Linux VPS Open the website shown on that screen, enter the PIN from the screenshot, and follow the next steps.

Step 8: Configure Your Server Name

After accessing the txAdmin panel, you’ll be prompted to set up your server configuration. Choose a short, memorable server name that will be used in the txAdmin interface and Chat/Discord messages (e.g., tutorial, examplerp, dev). txAdmin Setup Page

Step 9: Choose Your Deployment Type

Next, you’ll need to select how you want to set up your server. txAdmin offers several deployment options: txAdmin Deployment Type Selection This is the easiest option for beginners. Select a template from a curated list of community favorites. This includes QBCore, ESX, and a Default template for you to customize.
Choose Popular Recipes if you’re new to FiveM server setup or want a quick start with a pre-configured framework.

Other Deployment Options:

  • Existing Server Data: Select an existing server data folder on the host. Only use this if you already have a server.cfg and a resources folder.
  • Remote URL Template: Based on a Recipe URL in the YAML format. You’ll have the option to edit the Recipe before running it.
  • Custom Template: Recommended if you have a custom recipe-based server or if you are writing your own recipe. You will be asked for the recipe right after this page.
For most users, Popular Recipes is the recommended choice as it provides tested and working server configurations.

Step 10: Review Recipe

After you select your deployment type, txAdmin shows the recipe configuration — the YAML used to set up your server. txAdmin Review Recipe The recipe includes:
  • Engine version (e.g., $engine: 3)
  • Server name and description
  • Tasks that will be executed (downloading resources, configuring files, etc.)
  • Source repository information (where resources will be downloaded from)
You can review the recipe and make any changes if needed. However, for most users, the default configuration works perfectly.
Click Next to proceed with the default recipe. It’s pre-configured to work out of the box.

Step 11: Enter Server Registration Key

Now you need to enter your FiveM Server Registration Key (formerly known as License Key). This key is required to run a FiveM server. Server Registration Key Input The key can be obtained from the Cfx.re Portal. Enter your registration key in the field provided. Server Registration Key Field
If you don’t have a registration key yet, visit the Cfx.re Portal to create one. For more information, check the guide: How to create a registration key.
Once you’ve entered your key, click Run Recipe to proceed with the server setup.

Step 12: Configure server.cfg

After the recipe runs, txAdmin opens the server.cfg file editor — your server’s main configuration file, where you can customize various settings. Configure server.cfg
Congratulations! If you’ve followed all the steps correctly, your FiveM server should now be up and running. You can access your txAdmin panel to manage your server, view players, and configure additional settings. Everything should be good to go!