Playing GTAV online with your friends is really fun…until one of those hackers gets in your lobby at which point the fun is over completely. Thankfully there are solutions to that problem. For one you can follow our guide on how to install ragecoop which offers the possibility to play the singleplayer with your friends. Should you be interested in playing the online mode though you need to bring the bigger guns. So lets take a closer look on how to install FiveM on a home hosted Linux server.
Preparation
For this tutorial to work you should have SSH access to a server running a Ubuntu/Debian based Linux distribution. In best case the server should have at least a 2 core x64/x86 processor and a SSD equipped. Furthermore it is needed to have a public IP address if your friends should be able to connect to the server as it is otherwise only accessible from your home network. You should also have access to your home router to be able to change the port forwarding rules.
Installation
1. Creating structure
Before we begin downloading the right files it is advised to update and upgrade all the packages on the server by running:
sudo apt update && sudo apt upgrade
Furthermore it is a good idea to manage all the files within one folder. To do this create a folder by typing:
mkdir fivem && cd fivem
Note: should the following commands return a permission denied error you likely need to retry it with the word sudo in front of it
2. Download the files
Now head over to the official download page of FiveM to get the newest server files for linux. By right clicking on the latest download button you are able to copy the link too it and paste it inside the ssh connection to your server like this:
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/5848-4f71128ee48b07026d6d7229a60ebc5f40f2b9db/fx.tar.xz
With the wget command you will then download the tar file directly into the folder. As tar files are packages you will need to unpack them before doing anything with it:
tar xf fx.tar.xz
3. Port forwarding and IP addresses
Port forwarding can be a real pain when it comes to servers. Depending on you network configuration this is more or a less a problem. In the following it is expected that your home connection has a public IP so that you can simply tell your router which port to open from which device and it will make the reachable from a static IPv4 address.
Should this be the case, log in into your routers admin panel and search for the IP of your Linux server which you can obtain by simply typing “ifconfig” into the console. Once you found the right device set a forwarding rule for TCP port 30120 and UDP port 30120.
3. Starting the admin panel
Now proceed to start the server admin panel by running:
bash run.sh
After the admin panel has started up you can try to connect to it. If your server is in your home network simply type in its local IP address followed by “:40120”. Should it not be in your home WiFi you first need to open the port in the firewall.
Once you accessed the admin panel you will see that it requires a pin from you. Go back to the server console and search through the server output until you find the small blue box with the instructions to connecting with the server. Now copy this pin and copy it into the website from before.
4. Create an account at FiveM
Before you are able to proceed further you will need to register your server at the FiveM keymaster service. Once you are logged in switch over to the new server option and register you server by typing in the public IP address of you router and a random name you would like your server to be saved under. Also choose home hosted for the server provider. Once the newly registered server has been saved you are given a key that you should save for later.
5. Finish setting up the admin pannel


Now switch back to the txAdmin panel and proceed by logging in with you FiveM keymaster credentials and follow the admin panel installation guide. If you just want to get it running always choose the recommended option. The server will then build a recipe for the right configuration you choose during the process. After clicking a few times next you will end up at a point where you need the freshly generated key that you copied before again.
After running the recipe and saving the server config file you are finally able to press “save and run server”! The site then redirects you to the main admin control panel of your new FiveM server.
Connecting to the server
Now head over to FiveM and install the client. After launching it press F8 and type in:
connect [YOUR IP ADDRESS]:30120
Congratulations you created your very own FiveM server! Should you be interested in more server guides check out our full guide to ragecoop servers allowing you to play the GTA offline mode together with friends or at older classics such as setting up your own minecraft server.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Oh my goodness! Awesome article dude! Thanks, However I
am having problems with your RSS. I don’t understand the reason why I can’t join it.
Is there anybody getting similar RSS problems? Anyone that knows the answer will you kindly respond?
Thanks!!
I could not resist commenting. Perfectly written!
ラブドール 販売You would have to devise some way of getting your caracross no less than a dozen dangerous rivers.You would have to climbto the very summit of a six-thousand-foot mountain range and then dropdown on the other side,
ラブドール 激安es rappelt bei dir! DerMinisterpr?sident ist der erste beste,und du,
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
I have read several just right stuff here. Certainly price
bookmarking for revisiting. I surprise how so much attempt you
set to create this type of great informative site.
d rather not.女性 用 ラブドール?“We indeed! ?cried the Mouse,
I like the helpful information you provide in your articles.
I will bookmark your weblog and check again here frequently.
I’m quite certain I will learn many new stuff right
here! Good luck for the next!
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
I am truly delighted to read this weblog posts which includes lots
of valuable information, thanks for providing these kinds of statistics.
Hey there! Would you mind if I share your blog with my
facebook group? There’s a lot of people that I think would really
appreciate your content. Please let me know. Cheers
I got this web page from my buddy who informed me concerning this web
site and now this time I am browsing this web page and
reading very informative articles or reviews here.
Somebody necessarily lend a hand to make
seriously articles I might state. That is the first time I frequented your web page and thus far?
I surprised with the analysis you made to make this particular submit incredible.
Excellent activity!
Peculiar article, totally what I was looking for.
Hi colleagues, pleasant piece of writing and good urging commented at this place,
I am genuinely enjoying by these.
It’s enormous that you are getting ideas from this piece of writing as well as from our discussion made at this time.
Attractive component of content. I just stumbled upon your web site and in accession capital to assert that I acquire
actually loved account your weblog posts. Anyway I will
be subscribing in your feeds and even I fulfillment you access consistently fast.
Yes! Finally something about Product Reviews.
Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something.
I think that you can do with a few pics to drive the message home a bit,
but other than that, this is magnificent blog. A fantastic
read. I will definitely be back.
I’m not that much of a internet reader to be honest but
your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back later on. Cheers
Hi! This is my first comment here so I just wanted to give a quick shout out
and tell you I genuinely enjoy reading your posts. Can you recommend
any other blogs/websites/forums that go over the same topics?
Thank you!
Ahaa, its nice dialogue concerning this paragraph here at this web site, I have read
all that, so at this time me also commenting here.
Thanks for sharing your thoughts. I really appreciate your efforts and I
will be waiting for your next write ups thank you
once again.
I loved as much as you’ll receive carried out right here.
The sketch is tasteful, your authored material stylish.
nonetheless, you command get got an nervousness over that you wish be delivering the following.
unwell unquestionably come further formerly again as exactly
the same nearly very often inside case you shield this hike.
Thank you a lot for sharing this with all folks you actually know what you are speaking about!
Bookmarked. Kindly also seek advice from my web site =).
We will have a link alternate agreement between us
This design is incredible! You certainly know how to
keep a reader entertained. Between your wit and your videos,
I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job.
I really loved what you had to say, and more than that, how
you presented it. Too cool!
I enjoy what you guys are up too. Such clever work and reporting!
Keep up the excellent works guys I’ve included you guys to my personal blogroll.
Keep on working, great job!
I am regular reader, how are you everybody?
This paragraph posted at this web page is really nice.
Thanks for finally writing about > How to install FiveM on home hosted Linux servers
< Liked it!
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Why users still use to read news papers when in this technological globe the whole
thing is available on net?
That is very attention-grabbing, You are an excessively skilled blogger.
I’ve joined your rss feed and sit up for looking for extra of your magnificent post.
Additionally, I have shared your website in my social networks
I loved as much as you’ll receive carried out right
here. The sketch is tasteful, your authored material stylish.
nonetheless, you command get got an shakiness over that you
wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this hike.
I’m not that much of a internet reader to
be honest but your sites really nice, keep it up! I’ll
go ahead and bookmark your site to come back in the future.
Many thanks
Fabulous, what a web site it is! This webpage presents valuable data to us, keep it up.
Thanks for the auspicious writeup. It in fact was a leisure account
it. Glance complicated to far brought agreeable from you! However, how
can we communicate?
I go to see each day some web sites and blogs to read content, except this webpage offers quality
based content.
I do not even know how I finished up here, however I assumed this submit
was good. I don’t know who you might be however definitely you are
going to a famous blogger for those who aren’t
already. Cheers!
I think this is one of the most important info for me.
And i’m glad reading your article. But want to remark on some general things, The site style is perfect, the articles is really excellent :
D. Good job, cheers