> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.easyminecrafthosting.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to setup a FiveM server on your VPS (Linux)Downloading FiveM Server ArtifactAccessing TXAdmin

Articles on: [Dedicated Servers / VPS](/en/category/dedicated-servers-vps-18fpo30/)

FiveM is a modification for Grand Theft Auto V enabling you to play multiplayer on customized dedicated servers, powered by Cfx.re. In this article, we will teach you how to setup your own FiveM server on a Linux VPS.  
  
  
  
*   Head over to the Linux FiveM server artifacts page. You can either click on the latest recommended button OR select the latest version. However, if you would like to have the latest version of TXAdmin for your server, please select the ` 6230` artifact version. In this case, we will download the latest version.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/851f422b72fb6800/a4fc2b40-ddc4-4a61-ae19-fac9e3_13cvetl.png)  
  
*   Right click the artifact download link and click "Copy Link". Now head over to your linux VPS and type in the following command: ` wget `. In our case, the command we will use is ` wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/6352-493a89d898190a3015769ed6a07068d5752bd548/fx.tar.xz`.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/8bee96739f008800/5c82d79b-7c91-464b-bad3-23828e_13060wk.gif)  
  
*   Now type the following command ` mkdir fivem`. This will create the ` fivem` directory. Now move the file we just downloaded into the folder by using the ` mv` command. In this case, the command we will use is ` mv fx.tar.xz fivem`. Then, head into the directory using ` cd fivem/`
  
  
![](https://storage.crisp.chat/users/helpdesk/website/e8d5dc015bf57000/a9d812c5-7911-45c8-ad09-fbdb06_12o8z9u.gif)  
  
*   Now extract the file by using the ` tar command`. In this case, the command is ` tar -xvf fx.tar.xz`.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/b730e3d641136800/4e316fea-92f4-4e33-b432-a0a986_1lm48hk.gif)  
  
*   We will need to set the ./run.sh script as an executable. To do this, run the command ` chmod +x ./run.sh`
  
  
![](https://storage.crisp.chat/users/helpdesk/website/975f3de2a742a000/5f13c862-8c7e-4a73-8971-05025d_lput5i.gif)  
  
*   Lastly, simply run the ` ./run.sh` script in the terminal.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/dfa872cd3bfa4000/f44d90be-844c-4cfa-9447-ab0295_pldgy7.gif)  
  
  
  
*   Head over to the TXAdmin dashboard by entering the IP of your VPS followed by the port ` 40120`. This is the default port for TXAdmin. For example ` 1.2.3.4:40120`.
  
  
*   Enter the PIN that shows up in the console of the VPS, like so.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/dc4043a106f36800/4dd39c4b-716b-46f9-a05b-e3bbed_lwwkvs.gif)  
  
*   Follow the steps on TXAdmin, and your done!
  
  
  
If you require any further assistance, please create a ticket [here](https://billing.sparkedhost.com/submitticket.php).  
  
  
Created By: Greg K

Updated on: 21/03/2023