You need to change server settings to allow non-steam players, and then in the game client you need to run Project Zomboid with added -nosteam perimeter in launch options. Hope that helps!
Really nice tutorial. It was simple and clear. I do have a question. How do you change the name of the server from servertest? (Not talking about the public name that can be changed in the script using nano)
Unfortunately, I'm not sure how you would change this. I've looked around some of the files to see where it's coded to create those files but I couldn't find anything. I did a google search that kind says you can rename them afterwards but that's one Windows and the startup script on Windows is different then the startup script for Linux.
@@luciandev I see. Thanks for replying. I followed everything in your video and when it was time to connect to the server in game, it told me the server was not responding. Do you think it has something to do with the router setup that you mentioned in the video because I am using a rented VPS. I have not found any tutorial on how to make a PZ Server using a rented server so maybe everyone just assumes most tutorial are using rented servers.
@@renzukun1194 If you are renting a VPS, then they more then likely already have all these ports open that's what they usually do at least. You just need to get the VPS's public facing IP and use that to connect.
@@luciandev When I launch the server, it tells me in the log that "no upnp-enabled internet gateway found." I'm really new to this kind of stuff. This is even my first time using a terminal/console typing in commands. DO you think you know what may be the problem?
Hi, thanks for this video! I have a problem when I run the command "./start-server.sh". At one point I get the following message: "No UPnP-enabled Internet gateway found, you must configure port forwarding on your gateway manually in order to make your server accessible from the Internet" then the script gets stuck at the "LOADING ASSETS: START" step. Do you think this is related to the message about port forwarding configuration? I don't know much about server administration (it's a VPS I'm renting). Can you help me solve this problem? Thanks in advance.
Hey thanks for the vid, i do have a slight problem despite following to a T. my server is up and ive done the ufw and also forwarded my ports on my router but the server says its not responding. Ive been looking for about 4 hours for a fix, would you by chance have an idea?
@@luciandev no i actually figured it out, just had to restart my modem to get the ports to actually take effect. I am having a problem with trying to allocate more ram though. everything i find is for windows
I believe you would edit the servertest.ini World name, as you would for other games. Minecraft is like this. There should be a corresponding World file in the Saves folder?
apparently ufw isn't a command unless you run sudo which iirc has gotten me in the past so I thought it wasn't installed... I'm going to alias it in my bashrc to use sudo...
@@luciandev Ty, I have been experiencing problems with black boxes and safety cones on the road when driving with friends, could it be due to lack of ram or some mod?
Hello and thanks for your tutorial! I'm having an error when launching steamcmd, it tries to install the update but I get a fatal error with no more details. Do you know what could be causing it?
Make sure that the required libraries are installed on your CentOS system. SteamCMD may rely on certain 32-bit libraries. sudo yum install glibc libstdc++.i686 If you have SELinux enabled, it might be blocking SteamCMD. Temporarily disable SELinux or configure it to allow SteamCMD sudo setenforce 0 Make sure your system packages are up to date by running sudo yum update PS: Since CentOS is no longer being worked on (Switched to RHEL). I'd recommend switching if you don't want to use Ubuntu you can you Debian as well. But CentOS should still work by all means just stating that for updates & security.
@@luciandevThanks for your quick response! And it was SELinux, I disabled it and could finish the installation of the updates! I can continue with the tutorial now. Thanks a lot!
@@luciandev Nevermind, I was so sick I saved up all the important stuff I had in my VPS and wiped CentOS 7 out of existence. I installed Debian 12 and now everything worked flawlessly, I could finally join the server and play :) thanks!
Great video! I always have a question that what is the advantage of hosting PZ server on Linux instead of Windows? Do Linux servers have better optimization or being easier to manage?
Stability and Reliability: Linux is known for its stability and reliability. Performance: Linux is generally considered to be more lightweight and resource-efficient compared to Windows. Security: Linux is known for its strong security features. It benefits from a more secure design, frequent security updates, and a wide range of security tools and practices. Cost-effectiveness: Linux is an open-source operating system, meaning it is generally available for free. Flexibility and Customization: Linux offers a high degree of flexibility and customization.
Hello! Awesome tutorial. Just a couple questions. How can you stop and restart the server? I'd like to be able to stop it to modify config files and stuff without having to basically turn off the whole instance and restart it. Thanks!!
There isn't a UI, really only thing you can do is close the cmd window make your changes and then run the startup.bat again to start the server backup.
stoobid question, i just bought a server computer (hp proliant) just for the lulz of it, my brother plays this game, i would like to make (deploy is the correct term?) a server on linux, but my brother and their friends uses windows computers, can they join the server anyways? i know this is basic computer knowledge but i cant find the answer online, greetings from Argentina, thanks for the video.
@@luciandev all i needed, now let me cook boss *puts hacker hoodie*. No seriously man thanks a lot, i undestood the wiki tutorial, but your video is better for a noob like me.
What did i wrong if permission denied ? I have a partition (mounted as /zomboid with files from old server, i want to see it it's possible to fire up old world.
Yes you could, you have to create a service by typing sudo nano /etc/systemd/system/pzserver.service after that you would need a script that I don't have on hand to give you. After the script though close it and save it. once that is done you can enable the service to start & stop with the machine by doing sudo systemctl enable pzserver.service and to start the game for the first time you do sudo systemctl start pzserver.service
@@intervjaurenh4060 You're welcome. I don't usually cover this type of stuff in my videos because I try to make them as user friendly as possible. Mainly for people who haven't used linux before and adding in steps like might seem overwhelming to some people so I like to keep is simple in my videos. I might do something like this in the future as a totally separate video because you can do this with any server really.
Hey! Thanks for you video! I'm running a few other game servers on my servers as well. How can I give the zomboid server a small amount of RAM? I don't want it to use up all the ram I have! 😁
edit your start-server.sh & ProjectZomboid64.json and modify lines containing -Xms2048m to the amount of memory you desire it to use. save the file and start the server.
I set the public-setting in the server-start file to true. There's a password as well and in the log it says "no upnp enabled, enable in order to make your server accessible from the internet". I'm able to connect to the server with the password when i put the IP and the port in the search bar on the right in-game. How can I make it public and easy to find without any password needed?
@@adrien2373 In the Zomboid folder you need to edit the settings to remove any kind of "Server Password" as far us upnp goes that has to do with your firewall so make sure your ports are open and you should be good to go.
Hi, awesome tutorial, one question, how do I access the server to do /save /quit if i want to restart it if I shutdown the pc where I ssh from? I'd like to keep my server running 24/7.
If those are commands (/save) you would type those in the console. Which would been in the screen that you created during the tutorial. As far as SSH goes, you can ssh into your server with Command Prompt (CMD) or you can download a third party software such as PuTTy. If your linux is own it's own dedicated machine then yes you could run it 24/7 even if you shutdown your personal machine. As long as the server's machine is still running.
missed the part to configure a service
When I close the cmd terminal, my server shoutdown. How can I fix it?
use screen, like how I do in the video. then when you detach from the screen it will stay running.
Ok, thanks! Other cuestion. When I restart the server, the loot on the boxes dissapear. Any solution?
Hola, cuando agrego mods me da error de java, sin mods el server funciona perfecto, como puedo solucionar eso?
Hey man i wanna know if i have a cracked version of the game can i join the server ? Like Minecraft when you turn of the online mode
I'm sorry I don't know, I have a paid copy.
You need to change server settings to allow non-steam players, and then in the game client you need to run Project Zomboid with added -nosteam perimeter in launch options. Hope that helps!
Thanks for this!
where can I find the IP that I can give to people out side of LAN
just type in what is my ip in google search and it will tell you, your public IP.
Really nice tutorial. It was simple and clear. I do have a question. How do you change the name of the server from servertest? (Not talking about the public name that can be changed in the script using nano)
Unfortunately, I'm not sure how you would change this. I've looked around some of the files to see where it's coded to create those files but I couldn't find anything. I did a google search that kind says you can rename them afterwards but that's one Windows and the startup script on Windows is different then the startup script for Linux.
@@luciandev I see. Thanks for replying. I followed everything in your video and when it was time to connect to the server in game, it told me the server was not responding. Do you think it has something to do with the router setup that you mentioned in the video because I am using a rented VPS. I have not found any tutorial on how to make a PZ Server using a rented server so maybe everyone just assumes most tutorial are using rented servers.
@@renzukun1194 If you are renting a VPS, then they more then likely already have all these ports open that's what they usually do at least. You just need to get the VPS's public facing IP and use that to connect.
@@luciandev When I launch the server, it tells me in the log that "no upnp-enabled internet gateway found." I'm really new to this kind of stuff. This is even my first time using a terminal/console typing in commands. DO you think you know what may be the problem?
@@renzukun1194 upnp has to do with the modem/router what service provider are you using to host your machine?
Hi, thanks for this video!
I have a problem when I run the command "./start-server.sh". At one point I get the following message: "No UPnP-enabled Internet gateway found, you must configure port forwarding on your gateway manually in order to make your server accessible from the Internet" then the script gets stuck at the "LOADING ASSETS: START" step.
Do you think this is related to the message about port forwarding configuration? I don't know much about server administration (it's a VPS I'm renting). Can you help me solve this problem? Thanks in advance.
same thing is happenning to me rn.
Did anyone ever get a solution? When I type "./start-server.sh" it says " no such file or directory"
you can safely disable UPnP. I have never needed to use that to connect to a game. you might need it if NATting but I doubt it.
Great tutorial thanks
Hey thanks for the vid, i do have a slight problem despite following to a T. my server is up and ive done the ufw and also forwarded my ports on my router but the server says its not responding. Ive been looking for about 4 hours for a fix, would you by chance have an idea?
Are you hosting on the same machine you are playing?
@@luciandev no i actually figured it out, just had to restart my modem to get the ports to actually take effect. I am having a problem with trying to allocate more ram though. everything i find is for windows
great tutorial, i do have a question, i want to reset the pz server world, how do you do that
I believe you would edit the servertest.ini World name, as you would for other games. Minecraft is like this. There should be a corresponding World file in the Saves folder?
I've setup servers before. I don't understand why I cant connect to the pz server. I don't have ufw.
apparently ufw isn't a command unless you run sudo which iirc has gotten me in the past so I thought it wasn't installed... I'm going to alias it in my bashrc to use sudo...
How do i allocate more Ram to the server?
You should be able to edit your startup script to give it more ram. JAVA_OPTS="-Xmx4G -Xms4G" replace the 4 with however many gb's you want.
@@luciandev Ty, I have been experiencing problems with black boxes and safety cones on the road when driving with friends, could it be due to lack of ram or some mod?
Hello and thanks for your tutorial! I'm having an error when launching steamcmd, it tries to install the update but I get a fatal error with no more details. Do you know what could be causing it?
Oh by the way, I'm using CentOS 7 not Ubuntu
Make sure that the required libraries are installed on your CentOS system. SteamCMD may rely on certain 32-bit libraries.
sudo yum install glibc libstdc++.i686
If you have SELinux enabled, it might be blocking SteamCMD. Temporarily disable SELinux or configure it to allow SteamCMD
sudo setenforce 0
Make sure your system packages are up to date by running
sudo yum update
PS: Since CentOS is no longer being worked on (Switched to RHEL). I'd recommend switching if you don't want to use Ubuntu you can you Debian as well. But CentOS should still work by all means just stating that for updates & security.
@@luciandevThanks for your quick response! And it was SELinux, I disabled it and could finish the installation of the updates! I can continue with the tutorial now. Thanks a lot!
@@luciandev Nevermind, I was so sick I saved up all the important stuff I had in my VPS and wiped CentOS 7 out of existence.
I installed Debian 12 and now everything worked flawlessly, I could finally join the server and play :) thanks!
Great video! I always have a question that what is the advantage of hosting PZ server on Linux instead of Windows? Do Linux servers have better optimization or being easier to manage?
Stability and Reliability: Linux is known for its stability and reliability.
Performance: Linux is generally considered to be more lightweight and resource-efficient compared to Windows.
Security: Linux is known for its strong security features. It benefits from a more secure design, frequent security updates, and a wide range of security tools and practices.
Cost-effectiveness: Linux is an open-source operating system, meaning it is generally available for free.
Flexibility and Customization: Linux offers a high degree of flexibility and customization.
@@luciandev chat gpt ass response 😭
Thanks for this! Very helpful
why after use screen failed connected steam
I'm not sure so you trying to use steamcmd after you go into screen?
Hello! Awesome tutorial. Just a couple questions. How can you stop and restart the server? I'd like to be able to stop it to modify config files and stuff without having to basically turn off the whole instance and restart it. Thanks!!
There isn't a UI, really only thing you can do is close the cmd window make your changes and then run the startup.bat again to start the server backup.
Thank you very much for the tutorial!
Omg, so helpfull thx
Do you know a way to do the same in OS X ? I facing some issues with installation. Great video btw!
I want to set high memory in linux ProjectZomboid64 file. Do you know how to do it?
What exactly do you mean? You trying to set a memory limit of the program?
hi do you had tutorial for windows also ?
Yes I do ua-cam.com/video/sgLky2H-zO8/v-deo.html
stoobid question, i just bought a server computer (hp proliant) just for the lulz of it, my brother plays this game, i would like to make (deploy is the correct term?) a server on linux, but my brother and their friends uses windows computers, can they join the server anyways? i know this is basic computer knowledge but i cant find the answer online, greetings from Argentina, thanks for the video.
Simple & Short answer is yes.
@@luciandev all i needed, now let me cook boss *puts hacker hoodie*. No seriously man thanks a lot, i undestood the wiki tutorial, but your video is better for a noob like me.
@@jonayamaha3215 No problem, some people understand better when they visually see it happen rather then reading it.
What did i wrong if permission denied ? I have a partition (mounted as /zomboid with files from old server, i want to see it it's possible to fire up old world.
You should just be able to port the save over. As far as perms denied i'm not sure. Where are you getting that error at exactly?
Hello sir, I have a question if you are still monitoring your videos
I do still monitor all my videos, I'll try to help you best I can.
@luciandev sorry I meant no offense. Just assuming there are console commands to shutdown the server?
worked amazing! my question is can i run different game servers simultaneously on the same machine?
As long as they are using different ports then yes.
how can I join the server?
You should be able to type in the IP Address of the server and join that way.
what if the architecture is ARM?
That I don't know, I haven't built anything using ARM. I would have to do research myself to find out.
Is there a way to use systemctl for this?
Yes you could, you have to create a service by typing
sudo nano /etc/systemd/system/pzserver.service
after that you would need a script that I don't have on hand to give you. After the script though close it and save it.
once that is done you can enable the service to start & stop with the machine by doing
sudo systemctl enable pzserver.service
and to start the game for the first time you do
sudo systemctl start pzserver.service
@@luciandev Thanks so much!
@@intervjaurenh4060 You're welcome. I don't usually cover this type of stuff in my videos because I try to make them as user friendly as possible. Mainly for people who haven't used linux before and adding in steps like might seem overwhelming to some people so I like to keep is simple in my videos. I might do something like this in the future as a totally separate video because you can do this with any server really.
can the terminal be closed?
Yea, as long as you put it inside the a screen
@@luciandev Thank you for answering but I think it is not possible to create a server with ionos vps, already and trying with many tutorials
@@Niki-kd6qr I've never heard of that company, so I'm not sure. But I ran my server on Linux so I know it works just fine on linux.
@@luciandev Where did you hire your server?
@@Niki-kd6qr I own my servers.
Hey! Thanks for you video! I'm running a few other game servers on my servers as well. How can I give the zomboid server a small amount of RAM? I don't want it to use up all the ram I have! 😁
edit your start-server.sh & ProjectZomboid64.json and modify lines containing -Xms2048m to the amount of memory you desire it to use. save the file and start the server.
@@luciandev thanks a lot! 👍🏻 I'll try that tomorrow
I set the public-setting in the server-start file to true. There's a password as well and in the log it says "no upnp enabled, enable in order to make your server accessible from the internet". I'm able to connect to the server with the password when i put the IP and the port in the search bar on the right in-game. How can I make it public and easy to find without any password needed?
@@adrien2373 In the Zomboid folder you need to edit the settings to remove any kind of "Server Password" as far us upnp goes that has to do with your firewall so make sure your ports are open and you should be good to go.
@@luciandev so letting the server password empty should do the trick? I opened the 4 ports as shown in your video already
How do I update my server?
You could make a script, or you can go back into steamcmd and redo that process force_install_dir - > Login anonymous - > app_update
Hi, awesome tutorial, one question, how do I access the server to do /save /quit if i want to restart it if I shutdown the pc where I ssh from? I'd like to keep my server running 24/7.
If those are commands (/save) you would type those in the console. Which would been in the screen that you created during the tutorial. As far as SSH goes, you can ssh into your server with Command Prompt (CMD) or you can download a third party software such as PuTTy.
If your linux is own it's own dedicated machine then yes you could run it 24/7 even if you shutdown your personal machine. As long as the server's machine is still running.
Hell YEAHHHH~~
hi cant login to anonymous
Does it give you some type of error, it doesn't require a password or anything. You should be able to login to it without any issues.
@@luciandev Waiting for user info...FAILED (Timed out)
Good Tutorial, but sembra che tu c'abbia voglia di morì dalla voce
hey, how can i make my server appear on the server list?
make them public