How to install a FiveM server on your VPS (Linux)
Download the FiveM Linux server artifact with wget, extract it, run run.sh, then finish setup in TXAdmin on port 40120.
FiveM is a Grand Theft Auto V modification that lets you play multiplayer on custom dedicated servers, powered by Cfx.re. In this guide you will set up your own FiveM server on a Fusiora Linux VPS.
Download the FiveM server artifact
1. Pick an artifact
Open the FiveM Linux server artifacts page. You can click the latest recommended build or pick a specific version. If you want the newest TXAdmin, select artifact 6230; here we use the latest.
2. Download it to the VPS
Right-click the artifact download link and choose Copy link. On your Linux VPS run wget LINK. In our case:
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/6352-493a89d898190a3015769ed6a07068d5752bd548/fx.tar.xz
3. Create the folder and move the file
Run mkdir fivem to create the directory, move the download with mv fx.tar.xz fivem, then enter it with cd fivem/.
mkdir fivem
mv fx.tar.xz fivem
cd fivem/
4. Extract the archive
Extract the archive with the tar command:
tar -xvf fx.tar.xz
5. Make run.sh executable
Mark the script as executable:
chmod +x ./run.sh
6. Start the server
Finally, run the script in the terminal:
./run.sh
Tip: run it insidescreenortmux(for examplescreen -S fivem) so the server keeps running after you close the SSH session.
Access TXAdmin
1. Open TXAdmin
In your browser go to your VPS IP followed by port 40120 (TXAdmin's default port), for example 1.2.3.4:40120. Enter the PIN shown in the VPS console.
If it does not load, make sure port 40120 is open in your VPS firewall.
2. Finish setup
Follow the steps in TXAdmin and you are done — your FiveM server is up.
Need more help? Open a ticket.
Was this article helpful?
Be the first to rate it