@turnipwork1
Profilo
Registrato: 1 anno, 8 mesi fa
How To Set Up A Minecraft Server On CentOS 7 This guide will help you set up Minecraft (version 1.16.5), on CentOS7 64bit. It includes handy shutdown and startup scripts to make management easy. A CentOS 7 64-bit server, if you do not have a server then spin up a super fast Minecraft server today! Setting up a Minecraft Server on CentOS 7 First, we install our prerequisite program: Now, create and enter a directory where the server will reside. Next, we download the actual Minecraft server application and make it executable: Agree to the EULA that you definitely read: Next, create a script that allows you to start the server with no need to remember any screen CLI syntax. Depending on the size and configuration of your server, you may need to adjust "Xmx", "Xms" and other values. These are the amount of RAM allocated to the Minecraft server instance. Mojang recommends 1GB RAM for Minecraft server instances. If you have very few users, you can use less RAM. Flash Ants You can edit the startcraft command with "nano" if the server is to be upgraded in the future. Now we make "startcraft" executable: Let's now see if this half of our setup works. Exemple Output Now you should see text indicating that the server is currently starting/has begun. To detach from the screen, press Control + A followed by D. The last step of the basic setup involves opening the default Minecraft port to the firewall. To stop the server process gracefully, we would need to enter the screen session: Although we are not at a prompt, we can still type Minecraft server commands here (/give, /op, etc). Simply type "stop" to stop the server. Once the shutdown is complete, the screen session will be terminated. To run the server once again, just type "startcraft" Alternativly, you can set up a simple script that will inject the "stop” command into the screen session. To stop the server, just run "stopcraft", anytime. You can now start and stop the server using single commands, without ever having to type java stuff or jump into the screen! Remember to change your username's OP status. You can do this without touching the screen by using the following command: Replace "USERNAME” with your username. Once you have it you can use any commands including "/op" while playing. Depending on your circumstances, you might need to log in to the Minecraft server before you can OP. This command will allow you to run the "startcraft script" when the server starts. The next step you will likely want to take is to point a DNS record to your server's IP for easy connecting/distribution. You can read about using our cloud DNS manager here: https://www.atlantic.net/community/howto/manage-cloud-dns-records/ Finished! This page details all of the options you can modify in your "/Minecraft/server.properties" file: http://minecraft.gamepedia.com/Server.properties Happy crafting! Contact us for all your VPS hosting requirements!
Sito web: https://squareblogs.net/flatcello2/download-the-file-for-your-platform
Forum
Topic aperti: 0
Risposte create: 0
Ruolo forum: Partecipante