Linux Game Server Manager On Proxmox!!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign [Music] hey guys welcome to noob's perspective today I'm going to show you how to set up a game server using Linux game server manager and I'm going to do it in my proxmox environment Linux game server manager can be found at linuxgsm.com this is a very easy to use tool to set up Game servers for popular games before we get our Linux Game servers going I need to create a new virtual machine in proxmox and it needs to be a Linux distribution my favorite distro to use for Game servers is X Ubuntu Ubuntu and I like x subun 2 because it is a lightweight version of Ubuntu I'll go to my proxmox node and create a new VM I can just take the defaults to create my virtual machine it should be just fine for my game server take the defaults here for Linux I'm going to leave everything here as default for the disk size your mileage may vary I'm going to use 80 gigabytes just to ensure that I have plenty of space for as many game servers as I'd like to add I'm not sure what the overhead costs are going to be on some of these other game servers I've used seven days to die and Minecraft Bedrock Edition two cores for me has been good for Minecraft Bedrock Edition with 7 days to die I found four cores performed a little bit better I'm going to start out with two and just see what my needs end up being for Ram in the past four gigs was fine for Minecraft but six gigs made Seven Days to Die perform a bit better when I had four to six people joining the server and I keep ballooning device checked as default make sure sure you do have Network going to the virtual machine by default mine's using the vert i o which is just fine for my use case you can check the start after created button and click finish my X Ubuntu installation media was broken so I had to go and grab that again and it's a different day so try or install X Ubuntu I think it'd be cool to call it zabuntu with that is that going to catch on I'm going to install it I'm going to do a minimal installation X Ubuntu is already lightweight I only need this for the game server components so I'm going to do the minimal installation to reduce any overhead which would not be that much anyway download updates while installing yeah that's fine I want everything to be up to date I don't need the third-party software graphics for Wi-Fi because it has a virtual wired network interface all right I'm going to erase disk you don't need to do anything with the advanced features I'm going to give that ZFS though and install for the name this is going to be just the default account you can call it whatever you want I'm going to do lgsm and now we wait this could take a while and I did opt for it to do the updates while it does the install so this could take a little bit longer all right that is done and I will restart the virtual machine if you run into an issue where it's trying to boot from the installer again go to the hardware tab for this virtual machine and you can remove the CD drive log in to that main account you have here let's get started with setting the root password by default this has a root account installed but it's missing a password the command to do here is sudo past WD root now we have a root password before we begin with installing anything we want to make sure that the IP address for this virtual machine is static you can either reserve the IP address in your router for this machine or you can set it as static here you can do both the router will have top priority for setting the IP address it'll come to network up here edit connections click on your wired connection and click on the settings we are interested in the ipv4 settings I'm going to set it to manual in the method here for the address you'll need to know what addresses are available on your network if you try to give it one that is already given to another device you're going to have a conflict and it probably will not work I'm going to give it 69. for the subnet mask you can just use 255.255.255.0 or you can use 24 which means the same thing the Gateway will just be my router for the DNS servers if you don't add any it'll just use whatever your router is using by default you can specify some if you'd like don't worry about it if you're unsure I'm just going to use Google's DNS servers click save the next thing we'll want to do is set up some firewall rules so when you have your Minecraft server set up and people are trying to connect it's going to connect over a specific Port you can think of a port like a door on your network work the door can be open or it can be closed Minecraft by default will use port 19132 I need to make sure that I open that Port so that when the traffic comes in that port is open in my router I'll specify what to do when someone comes through that door I'm using firewalled so that's firewalld.org I'll click on the documentation down here where it says open a port or service open up your terminal emulator sudo apt install firewall D these nuts now we just need to allow the ports so Minecraft also I believe uses ports 19131 and 19133 so I'm going to enable 19131 through 19133 it may use that three one and three three for some other purposes but the main Port is going to be 19132. we're going to open a port instead of a service so make sure you're looking at the instructions for the port we're going to use this second line right here make sure you have this permanent tag right here if you don't when you restart the virtual machine it won't have those ports open anymore and your server will not be playable by default you have a public Zone that's installed you don't have to specify this or even worry about this if you're just copy and pasting that's just fine just make sure instead of Port 80 we're doing 1913133 and any other ports you might need if you have other projects going on when you specify the port you are able to do more than one port to do a range you can do this that's going to cover the 19132 that I need then forward slash and put in your protocol I don't remember if Minecraft needs TCP and or UDP so I'm going to allow both on my firewall for the protocol I believe you will have to add them separately I'm not sure if there's syntax to be able to add them in one line together so I've added TCP and then I just copied that line and changed the end to UDP our ports are open we've set a static IP address the next two parts is to actually get the game server installed and then we need to go to the router and make sure we have port forwarding set up if you haven't already and if you'd like to you can check for updates and I have 56 packages so I'm going to go ahead and apply those don't you just love it when things are up to date so satisfying while you're doing this the most important thing is to stay hydrated if you can guess exactly what drink I have I'll pin you with that finished I'm going to restart the virtual machine some of these changes may require a restart to really take effect before I get into showing you how to install the specific server I'm going to make the changes on my router your router will likely look different than mine port forwarding may show up as an advanced setting mine is located under Advanced setup port forwarding forward slash Port triggering I'm going to add a custom service in my case if yours doesn't allow you to do a custom service that's fine you should be able to add whatever ports you need and specify whatever protocol is necessary I'm calling this Minecraft Bedrock server perhaps in the future I'll do a Java server as well I'm just going to leave it as TCP and UDP you can use the dash to specify a range on my router I can do commas also to add more ports by default my router uses the same port range for the internal port for the IP address make sure to use the IP address that you set for your virtual machine mine is already in the list in case I forgot and I had set it to 16. yeah boy but that applied should be good to go on the network in the virtual machine we'll go back to the virtual machine and sign into this main account here I'm going to open the web browser so I can have the instructions in the virtual machine as I go I can just copy and paste the commands from Linux GSM the first thing you see is the compatibility I already know that X Ubuntu X Ubuntu I forgot what I've been calling it I already know that Ubuntu is supported and x sub 1 2 will also be supported I have done this on Centos and the experience was pretty good these are some packages that you will need and copy that and paste it into your terminal emulator the next thing to do is the actual install right here Step One is we need to create a user so Minecraft Bedrock server you have to be root so what I'm going to do is switch user to root so s u Dash root and that's why we set the root password so we could do this without having to sign into the root account at the login as the root I can add user set a password that you can remember you don't really have to fill this part out but I'm just going to do MCB server nothing for room work home other now we need to switch over to the MCB server so let's exit that switch user command that we are in which is control D so that logged out of root we're back into our lgsm account and then we're going to paste over to that account that we just created and then we can install the Minecraft server we're going to install the Minecraft server click yes right here it's checking the dependencies and if any of the dependencies were missing it would try to install those okay was it successful I didn't see any errors up there so I'm going to press enter for yes if you want to start your server you will do dot forward slash MCB server start to test it I'm going to open Minecraft you'll click play and go to the servers tab this one's my old server so I'm actually going to remove that you're going to add server if you remember I did 10.0.0.60 by default the port is 19132 and that's what I'm going to keep so I've saved it and this is a great sign it says online shows how many players are in and the current ping looks like it's working I'm gonna play around with the performance and I'm getting lots of FPS when I look around it does look a little laggy could be on the server I'll check the server usage when there are people in it good way to do that is to window your Minecraft screen so you can look at both with bedrock it seems to disconnect when you move away from this active screen to see the console for the server you're running do dot forward slash and then the name of your server and then console you can press enter when you see yes if you've ever run a Minecraft server before this will look very familiar to you ipv4 19132 and that's what that was 19133 is actually used by IPv6 here's some additional ports that I actually neglected to open so if I need to I could go and add those it looks like the game's running fine without that I don't know if it has anything to do with this error but I might go and add that later if you look down here it says player connected and this is my Minecraft account so I know that I am in the game and it's running right now with just me we're looking at about 20 to 30 percent usage with just one person I'm gonna run around and see if that changes anything okay so it is going a little higher and I think that's because when I move into the distance it's going to be loading some more chunks whatever I have my game set to I saw it hit 37 percent I don't think it went any higher than that with just one person and we're at almost half of our Ram so I'll need to test with more users present what if you want someone to connect to your Minecraft server and they're not on the same local network as you meaning they're not at your house connected to your Wi-Fi if you want your neighbor next door to be able to connect or your brother in another state you're going to need to find your public IP address to give to them you can't just give them in my example 10.0.0.69 because they're not on the same network as me so that's not going to take them to the server you can browse to what is my public ip.com and this will tell you your public IP address this is the IP address that you are using to browse the internet your internet service provider is who determines this one thing to keep in mind is your internet service provider May shuffle through IP addresses every so often in my case it seems to be about every six months they give me a different IP address you can request a static IP address from some internet service providers so if you want 100 availability and uptime definitely look into that for me it's not a big deal my friends and family will just tell me hey the server's down and I'll check and see if there was either an update to Minecraft that I'm missing on the server or if the public IP address has changed if there's an update on the server then you actually have to go in and update if the IP address is changed you don't have to make any changes on the server you just need to give that new IP address to whoever's joining your server from off of your local network to test it I'm going to take my phone off of Wi-Fi you can do this with anything that is off your local network consoles and Pocket Edition are running Bedrock Minecraft Windows 10 Edition is also running Bedrock I'm going to click play on my mobile phone click servers in the top right bottom left click add server for the server name you can put whatever you want for the server address you need to enter in what you see on what is mypublicip.com and the default Port 19132 works just fine if you did everything as default I know it found my server because I see the server name Linux GSM it's a little blurry it says Linux GSM Dash and then it has the version so I'm going to click join server and I was able to join it is actually night time in the game so it's a little hard to see if you look at the computer here I had to switch accounts because you can only be signed into your account on one device so this was my initial connection then disconnected then I reconnected from my phone which is not even on Wi-Fi I'm actually going to turn it to daytime in the game perfect set the time and as you can see here it's been set and I'm getting killed by a spider if you have any questions on maintenance or you run into any trouble getting set up let me know in the comments and I will try my best to respond to you and help you out in any way that I can this was noob's perspective thanks for watching
Info
Channel: Noob's Perspective
Views: 19,164
Rating: undefined out of 5
Keywords: proxmox, linux game server manager, lgsm, ubuntu, xubuntu, minecraft bedrock edition, game server, virtual machine
Id: VJvPhqE5EoA
Channel Id: undefined
Length: 14min 29sec (869 seconds)
Published: Tue Sep 27 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.