ARK: Survival Evolved Server Setup Tutorial | Linux Guide
HTML-код
- Опубликовано: 11 сен 2024
- In this step-by-step tutorial, I'll walk you through the process of setting up your very own ARK: Survival Evolved server on Linux. Hosting your own ARK server allows you to customize the gameplay, invite friends, and create a thriving community. From installing SteamCMD to configuring server settings and mods, I'll cover all the essential steps to get your ARK server up and running smoothly. Join the adventure and take control of your ARK world with this comprehensive Linux server setup guide!
Written Guide:
ko-fi.com/post...
SteamCMD:
sudo add-apt-repository multiverse
sudo apt install software-properties-common
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc-s1 steamcmd
Other Commands:
sudo nano /etc/sysctl.conf
sudo nano /etc/security/limits.conf
sudo nano /etc/pam.d/common-session
My Gaming Network
• Decimation Games - www.DecimationGames.com
• Twitter: DecimationGames
• Facebook: DecimationGameServer
Personal
• Twitter: / luciandevtv
Tags:
ARK: Survival Evolved, dedicated server, Linux, setup, installation, configuration, hosting, multiplayer, survival game, dinosaurs, gaming, online game, sandbox game, action-adventure game, fantasy game, first-person game, third-person game, open-world game, crafting, resource management, base building, player vs player, player vs environment, PvP, PvE, Steam.
@LucianDev thanks for your excellent video. For information if doing this in a graphical session (ie not SSH) you also need to edit /etc/systemd/user.conf to include the line DefaultLimitNOFILE=100000
Awesome, thanks for providing that extra bit on information for those who might be doing in via a GUI.
IMPORTANT: Wildcard does not apply to root. You have to specify add
root hard nofile 100000
root soft nofile 100000
if you want to adjust the root limit.
Great video - much appreciated!
This is good information. Total newb on Linux terminal. My Buddy walked me through setting up his Minecraft server.
But I want to run ark on the same machine. If I do it under a different user and home directory. I’m guessing I should be able to.
Yes, you could even run it under the same user if you really wanted to. However if you are like me and you like to keep things separate & organized I'd use another user for ARK.
@@luciandev ok perfect. I was able to create the new user with sudo privileges.
What about this thought, Would I be able to add a nvme 2.0 500gb through usb and have it run a server? Or is there any benefit to going to a new drive?
For what it’s worth, I’m running Xeon E3-1270 @ 3.5Ghz. Upgrading my RAM from 8gb to 32GB once I figure out what this board is capable of.
@@wifiwarlord There isn't any benefit from separating the drives. If you can fit it all in 1 storage drive then that is what I would do. ARK server doesn't take up anywhere near the amount of space the full fledge game takes up. But if you only have 8gb of Ram I would wait until you upgrade your ram though since you will need a decent amount of it for ARK, plus if you running multiple servers that are also consuming ram as well.
Back the the USB drive, in theory you can do that but that is more meant as a temp storage system and not long term with constant read & write data going to and from over a USB you could end up with issues later on down the road.
If I want to set up on a different map, is the map automatically downloaded or do I have to download it?
Great video that worked perfectly! Is there a way to make the server public without having public IP? I tried using zerotier but sometimes it fails
If you are not able to port forward, you can use something like hamachi. If you are able to port forward I'd recommend looking at no-ip this allows you to setup a domain that points to your ip address and you can use that domain instead of an ip.
I can't log into my server since I did the reboot at 3:00. Connection closes instantly
Edit: I tried to login on my server directly instead of on my windows pc and I have the same problem
Is your server hosted locally?
@@luciandev yes
@@orangensaft2280 What do the log files say when you try to connect?
@@luciandev I just reinstalled everything yesterday. How to enable crossplay?
Great video!
I have 2 questions;
1. What is the whole 100000 thing actually for?
2. How do I use a different map? Do I change the "TheIsland" written in the line of code to start the server or do I have to add a line in the settings? I can't seem to figure this out.
Yes where is says TheIsland?Listen just change "TheIsland" to the map you want to use. Make sure you use the proper map names here or it will not work.
@@luciandev thanks!
Good idea. Is it possible to have Linux and windows Player on one server? Sry if you explained it already.
The players OS doesn't matter, as long as the game supports it to where they can play the game they can play on any server.
How to close server safely?
The ARK server worked fine for about a week, friends were able to use the IP with the ports and connect. Then suddenly a few days ago the ports stopped working- I think, but we checked everything including our router and the firewall and it says the ports are online, but only LAN works now and friends cant connect or even find the server. Also IP is working correctly. I don't know what the problem is.
There been any recent updates to ARK? If so have you updated the server since then?
@@luciandevyeah, I Have. But it didn't help.
I think the firewall is broken for some reason but I'm not sure. (Even It tells the ports are on). Maybe resetting the firewall will fix the problem. (Busy working now for next 9 hours at my job place so I'll do It later today when I Have time)
Doesn't hurt to try, but personally I've never had to restart a firewall before. Not even sure why it would be working then suddenly not working.@@bacace
@@luciandevso apparently the Ethernet port on our server PC was partially broken. we switched the ethernet cable to network card we added to pc and it fixed the problem.
In 22.04 the architecture directory has changed for the 32bit architecture
i see the server on arc and it says i can connect however the session just timesout when i try connecting also is the server supposed to tak 8.35 gb of RAM just running?
Mine uses about 6gb of ram with 0 players, doesn't really go above that until players start joining. Also are all you ports open via firewall & router?
yea both are open im running the server through a proxmox vm along with a Minecraft server all necessary ports are open on the vms and router@@luciandev
Are both port 7777 and 27015 supposed to be port forwarded in the router? (If so then I did it right ) but I don’t know
@@1999LAWRANCE Yes, they are both suppose to be open.
I have followed the video fully but am unable to join my server. In ark in the lan section nothing shows up, other than that i have had no other errors or missteps. I start my server and can see once i enter the top command that my ram is at 70% usage (i have 8gb) and my cpu is at 16% usage but still nothing in game.
Does anyone know how to fix this?
ARK takes a long time to boot up, how long have you waited?
@@luciandev I just waited 30 min but still the same result. i am also unable to find the server through the steam server searcher
@@justinfranks4093 are you able to look in the log and see if you have any errors?
@@luciandev the two errors i can see are related to gethostbyname
here is the logs:[2023.10.14-03.49.52:022][ 0]Log file open, 10/14/23 03:49:52
[2023.10.14-03.49.52:022][ 0]New Save Format enabled
[2023.10.14-03.49.52:022][ 0]ARK Version: 358.17
[2023.10.14-03.49.52:022][ 0]PID: 2047
[2023.10.14-03.54.20:662][ 0]Primal Game Data Took 268.11 seconds
[2023.10.14-03.54.32:947][ 0]SteamSocketsOpenSource: gethostname failed ()
[2023.10.14-03.54.32:947][ 0]gethostbyname failed ()
[2023.10.14-03.55.31:108][ 0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
[2023.10.14-03.55.31:160][ 0]BattlEye successfully started.
[2023.10.14-03.55.31:200][ 0]Server: "ARK #82376" has successfully started!
[2023.10.14-03.55.31:246][ 0]ADayCycleManager DayCycleManager3,
[2023.10.14-03.55.33:337][ 0]Commandline: TheIsland?listen -server -log
[2023.10.14-03.55.33:337][ 0]Full Startup: 342.10 seconds (BP compile: 0.00 seconds)
[2023.10.14-03.55.33:337][ 0]Number of cores 4
[2023.10.14-03.55.33:452][ 1]Server attempting to run new years event
[2023.10.14-03.55.33:452][ 1]Sever Is not set to official or running NewYearEvent argument
[2023.10.14-03.55.35:356][ 43]Set New Years event location: -86711.156 - -171866.203 - 430.878
[2023.10.14-04.09.32:972][903]Saving world...
[2023.10.14-04.09.33:636][903]World Save Complete. Took 0.664612
[2023.10.14-04.24.32:975][777]Saving world...
[2023.10.14-04.24.33:607][777]World Save Complete. Took 0.632337
Thanks for the help so far :)
does anyone know if the gethost errors could mess up the server? And if so how can i fix them Thanks
edit: I fixed the server and it works now, i reinstalled everything and i can connect by adding the server into steam favorites.
Sorry can you remake this video on windows? Thx 🎉❤❤
Hey, can you make an updated video with ark ascended ?
The server files don't appear to be available yet but I will make one if / once they become available.
Seems like a ridiculous amount of work just to get Ark to play. Are all steam games this difficult to get running on a linux machine?
You can play ark without having a dedicated server. This is for server software to actually play the game you just have to download it from steam and play it but you wouldn't do it this way.
Is it the same process for ARK: Survival Ascended?
It will be once Linux is supported yes.
How are u supposed to join the game?
I followed every step but when i run the server it whont pop up under LAN servers on ark.
Even if i let it start for 10 min+.
Is the server being ran on the same computer you trying to play on?
Nope
Same internet tho
@@stevenbos6667 Try adding the server to your steam favorite's using the machines local ip address to see if it shows up that way.
How do I change the command line to enable crossplay?
I cant find how to access that.
You can only enable crossplay between the Epic and Steam versions of the game (both on PC). You unfortunately can't enable crossplay between PC and game consoles.
To enable crossplay between Epic and Steam, simply add "-crossplay" at the end of your "./ShooterGameServer ..." line.
can I do Ark cluster system with Linux?
yes you can
How can i make a Cluster System with Linux?
Is this only for LAN?
So yes how do i make it public?
The ports I showed in the firewall section of the video. You'll need to access your router and open up those ports by port forwarding.
Until you do that, yes it will be LAN only.
thx for the quick reply.
Amazing channel btw!
@@stevenbos6667 Thank you, and you're welcome.
how to change the server name, add a password and enable crossplay?
and on pc you can only cross play with epic games if you add " -crossplay " at the end of the launch script
in the gameusersettings.ini look for
SessionName=My Awesome ARK Server
and change it to whatever you want your server to be called.
After this you can get a job at microsoft.
Hi @luciandev6630 we will happy if you make an article for ARK: Survival Evolved Server Setup Linux Guide
Thanks...
What do you mean exactly?
@@luciandev I mean article . post a article on your website, with step by step guide. this will help us
www.luciandev.com/2023/09/10/how-to-setup-ark-survival-evolved-server-on-linux/@@swarupgolui
@@luciandev I get a 404 error when I try to go to your article. Also when trying to use the sudo add-apt-repository multiverse line I get the error "Unable to handle repository shortcut 'multiverse' I'm running on a new Debian 12 installation.
@@lostsouldancing link can be found here:
www.luciandev.com/how-to-setup-ark-survival-evolved-server-on-linux/
as far as Debian goes you'll want to do
sudo apt update; sudo apt install software-properties-common; sudo apt-add-repository non-free; sudo dpkg --add-architecture i386; sudo apt update
then
sudo apt install steamcmd
In this guide I'm using Ubuntu 20.04 since your using Debian you install slightly varies but the rest should be the same as in the video.