Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: (Runnin Debian most of the time these days). But i do use Arch, CentOS, OpenSUSE, Fedora once awhile
Posts: 21
Rep:
Simple Minecraft-server
Hey linux community I got a question? Does anyone here know a little bit about hosting a simple minecraft server on Debian 10.6 on your PC?. My son likes minecraft and likes to play on my computer once in awhile and he asked me if I knew how to make his own server so I'm in the middle of that right now but need some help with safety precautions I went ahead and made a user " su minecraft " with no password so people can't ssh connect does anyone know how to edit the sudoers file permissions for the minecraft user? to where I don't need to use sudo? thank you for taking your time and reading not in a hurry to get this done so take your time if your helping or working with someone else.
Distribution: (Runnin Debian most of the time these days). But i do use Arch, CentOS, OpenSUSE, Fedora once awhile
Posts: 21
Original Poster
Rep:
yeah it definitely keeps him busy I wonder how your grandson secures his server and how he sets his sudo permissions with the sub user the server is running under has for safety reasons has the server will be available online to other players so I dont want people able to mess with our network plus his server and settings.
The minecraft user shouldn't need any sudo permissions. You can install java as root, put the jar file in the Minecraft user's home directory, then execute it with
Hey linux community I got a question? Does anyone here know a little bit about hosting a simple minecraft server on Debian 10.6 on your PC?. My son likes minecraft and likes to play on my computer once in awhile and he asked me if I knew how to make his own server so I'm in the middle of that right now but need some help with safety precautions I went ahead and made a user " su minecraft " with no password so people can't ssh connect does anyone know how to edit the sudoers file permissions for the minecraft user? to where I don't need to use sudo? thank you for taking your time and reading not in a hurry to get this done so take your time if your helping or working with someone else.
If you need to ask questions like that, don't do it.
Get aquainted with Debian stable first, then with running a server in general, and securing it.
I think you have chosen not a very good option to create. This is a rather complex service
My friend tried to make the server this way, but it did not work out as there was a need for additional knowledge that he did not have. I do not understand anything in this area , but I know a little about it and my friend and I were advised https://minecraftservers.biz/cubecraft/ which we played without problems, thus replacing what my friend tried to do. Thus, we still managed to play a kind of server on which we could play without interruption and together, as if it were our local server , and when we were tired of surviving together, we went to the rest of the games and got acquainted with others.
Wow, is it really difficult to make your own Minecraft server on Linux?! That's why I'm only working on Linux and not trying to install any games on this operating system. To be honest, I have never set up a server for Minecraft on Linux. However, I did it on Windows. And you have several options. One of them is just to open the ports using the settings in your wifi adapter. The second way is to simply purchase to pay for server rent, and the third is to tell your child to try to play on some large minecraft prison servers that he will be interested in (at least my son really likes such servers)
Last edited by ChrisHerlihy; 03-31-2022 at 03:29 AM.
Wow, is it really difficult to make your own Minecraft server on Linux?! That's why I'm only working on Linux and not trying to install any games on this operating system.
Managing a server of any type that allows outside connections requires the admin to have a thorough knowledge of security and how to protect his system (and network). Failing that it is only a matter of time until some cracker manages to own the machine (and the network as well).
If the machine is only accessible from within the LAN it does reduce the risk, but does not eliminate it.
Wow, is it really difficult to make your own Minecraft server on Linux?! That's why I'm only working on Linux and not trying to install any games on this operating system.
You may be better served by using a prebuilt docker for it. There are tons of them on docker hub. I know I made one myself and use it daily. But opening to the internet is a whole can of worms you may not be up for. In that case it's both safer, and likely cheaper to just pay for a realms sub or renting a server. They are dirt cheap these days for what they offer in regards to proper system admin and security. https://www.g-portal.com/us/en/games...MaAl3lEALw_wcB is one such place. I can't speak to this one's quality but they are everywhere.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.