Simple guide to make a server on a KVM Root Server?

Hi. So, I’m thinking more and more about switching to a KVM Root Server, since I found some hostings that seem very good and will offer me more freedom than my actual shared hosting. But I heard it is not recommended to run the server from the root user, and that I should make a user and a container specific for my Minecraft Server. Is there a guide on how to to that? I’m planning on using Ubuntu, and I need Java 21 LTS. Also making sure the environment is contained in a secure way to avoid security issues. Not planning on a big server, but on a powerful one to play with my little community (don’t think it’ll go past 20/30 players). Last thing last: if it is any good also to install a Pterodactyl Panel or if it is just a waste, and how to do that. Also, should I use ubuntu’s screens to run the server? Or something else? Thanks to everyone who’ll help me get this thing figured out, I don’t wanna mess up and I want to make thing the most correct, organized and secure way, to “industry standard” setup.
7 Replies
Upioti
Upioti5d ago
i mean if its for friends and u dont have cracked/weird plugins or anything important on the server it is not that big of a deal to run on root, if you are unexperienced with linux tho id recommed hiring a sysadmin to install ptero so you get the comfy panel. Be aware tho that VPS =/= Better. Its either gonna be more expensive or have worse performance than shared hositng would, so keep that in mind
notpivan
notpivanOP4d ago
I had used some Ubuntu VPSs time ago and I’m pretty good at figuring stuff out for myself or just simply using google to find what I need. I even set up a mc server on ubuntu. The thing is I wanted to make it in a more “professional” way, so I was looking for some advise from someone who has some experience. I love playing around with stuff like this and command lines, so it would add some fun
Upioti
Upioti4d ago
professional? if its for friends just run it from console or install pterodactyl no need to get all production enviroment on it
notpivan
notpivanOP4d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
notpivan
notpivanOP4d ago
I mean
TurboVadim
TurboVadim4d ago
No description
Arthurmeade12
Arthurmeade123d ago
You cam set up the containet/user situation with itzg's minecraft-server-docker (on github.com) which I haven't personally usrd but seems pretty popular

Did you find this page helpful?