BREAKING NEWS
latest

How To Create A Minecraft Server On Windows Or Linux Hosting - A Good Minecraft Server

1. Configuring a NAS server: is it possible with Minecraft?



Before answering this question, that is important to define what a NAS is. It is the acronym for Network Attached Storage. It is no more, no less than a hard drive that works on its own.
  • So you don't need a computer to operate it, because no electrical outlet is enough.
  • But that's not all: a NAS server can be accessed via a local or remote network. So you can access your files anywhere.
  • You will also be able to share files very easily.
If we advance a few shortcuts, this is your own cloud. Y'all are totally in control of your data. If this corresponds to your needs, we invite you to obtain more information on this site. To answer the question that preoccupies us today, most NAS servers are only there to store files, not to run a game program.

But the Synology-branded NAS allows this kind of little tinkering. On the other hand, y'all directions need to have a good command of computers and networks, as well as to have a Minecraft license which is payable. You will find tutorials more or less well done on the web or on YouTube, to help you during the installation and creation of your server.

Minecraft is the second most popular video game in the world with more than 121 million copies sold in February 2017. But Minecraft is more than just a game. It is also a tool for teaching children to code; an open platform to be developed by mod developers, and it is the heart of a global community of creators.

If you're new to Minecraft, the easiest way to get started is to buy the game and get started. You can even use Minecraft Realms to create your own world. It's kind of a lightweight alternative to running your own private Minecraft server.

But if you're interested in the full Minecraft experience, you can take it a step further by launching your own private Minecraft server. With a private server, you are free to create your own Minecraft universe.

In this article, we'll show you exactly how to do that. We will see how to create a Minecraft server on Windows PC, Mac and Linux hosting plan.

2. How to Create a Minecraft Server on Windows, Mac, or Linux

At a very high level, creating a Minecraft server is accomplished in a few simple steps:
  1. Install the latest version of Java
  2. Install the latest version of the Minecraft server software
  3. Configure your server and network
  4. Start the server
  5. Check that your server is accessible
  6. What to keep in mind before you start.

Installing a server requires some effort. You need a bit of technical know-how to properly set up a Minecraft server.

You should have a basic understanding of computer and network concepts, which are fundamental to the management of any type of server.

Specifically, you need to be comfortable and familiar with:
  • Using the command line
  • Networking (IP, DHCP, ports)
  • Your system configuration
  • Your network configuration
  • Your router configuration (for home configurations)

Do you use a Minecraft server at home?

You don't need a high-end system to run a Minecraft server, but a desktop computer is ideal. While you can run a Minecraft server and play on the same computer, you will need a more powerful system. Finally, use a wired Ethernet connection for your server rather than wireless. A wired connection is more reliable.

What if you don't want to host your server at home?

Hosting any type of server from home means you're exposing your home network to the world. If you prefer not to take this risk, you can use a hosting provider. You will need to pay a monthly or annual fee, but you won't have to worry about managing the server hardware. A GoDaddy Virtual Private Server is a good choice if you are just getting started. Remember that you are sharing material with other users, so be sure to use the resources.

If you need a little more work and want to connect a lot of players, you can try a dedicated server instead.

3. Create a Minecraft server on your Windows PC

  • Get the latest version of Java.
    Open the Windows Control Panel. Under Programs, find Java and click Update Now.
    Open a command prompt and enter the java -version. You should see a version number.
    Check the Java website for the most recent version.
    If your version is outdated or if Java is not installed, download it from the official site.
  • Choose a location for your Minecraft server files.
    Before downloading the Minecraft server software, choose a location on your PC from which you want to run the server.
    When you run the server for the first time, it will create some configuration files. It is best if all these files are stored in a dedicated folder.
    You can place this folder on your Desktop, in your Documents folder, in your Programs folder, or anywhere else. It's up to you to decide.
  • Download and start the Minecraft server software.
    Download the server software from the Minecraft website. This is a Java .jar file. Save it to the location you chose in the previous step.
    Double click on the .jar file to start the server. It will create the server configuration files, which must be modified before the server is ready for use.

Accept EULA: A called text file EULA.txthas been created. Open the file in a text editor and edit it. eula = fauxto eula = true. If you do not agree to the EULA, you will not be able to start the Minecraft server.

What if I see an "Unable to save server properties" error? Run the Minecraft server as administrator by right-clicking on the .jar file and selecting "Run as administrator".

  • Enable port forwarding on your router.
    Note: Port forwarding can be a security risk.
    If you are just hosting a server for gamers on your local network, you don't have to worry about port forwarding. If, however, you want to make your server accessible to the whole world, you need to enable port forwarding on your router. (To learn more about port forwarding, see PortForward.com for tutorials.)
    Refer to your router's documentation for specific instructions on setting up port forwarding for your device. For Minecraft, you need to forward the TCP port 25565.
    You must also enter your server's local IP address as the egress or server IP address for the forwarded port. This tells the router which device to point to. To find your server's local IP address, open a command prompt and enter ipconfig.
  • Start the Minecraft server.
    To start the Minecraft server, open the Windows command prompt.
    Navigate to the file path where the Minecraft server file (named “minecraft_server.1.12.2.jar”) has been installed.
    Start the server with the following command:
    java -Xmx1024M -Xms1024M -jar nom du fichier serveur nogui
    (Replace server filename with the current server filename.)
    If you prefer to use the server UI, exclude the "nogui" parameter:
    java -Xmx1024M -Xms1024M -jar nom du fichier serveur
    You can also create a .bat file to bundle the commands.
    Once the server is up, you can invite others to connect to your server through your local IP address if they are on your home network or through your external/public IP address if they are not on your home network.
You can find your public IP address by searching for "my IP address" on Google.
To check if your server is accessible, enter your public IP address in the Minecraft server status checker.

Create a Minecraft server on your Mac

  • Make sure Java is installed.
    Newer versions of macOS include Java by default. If you are using an older version of macOS (OS X), you may need to download the existing version of Java from the Apple website.
  • Choose a location for your Minecraft server files.
    Create a folder containing your Minecraft server files. You can create the folder on your desktop, for example, but the choice is entirely up to you.
  • Download the Minecraft server software.
    Download the server software from the Minecraft website. This is a Java .jar file. Save it to the location you chose in the previous step.

Open TextEdit. Set the format to plain text. Enter the following information:

#! / bin / bash

cd "$ (dirname" $ ​​0 ")"

exec java -Xms1G -Xmx1G -jar name of the nogui server file

(Replace server filename with the current server filename.)

Save the file as start.commandin the same folder as the .jar file on the server.

Open the terminal and grant permissions for the new start.command file so that it can be executed. Type chmod a + xwith a space after the command. Drag the start.command file into the terminal window. Hit enter.

  • Enable port forwarding on your router.
Note: Port forwarding can be a security risk.

If you are just hosting a server for gamers on your local network, you don't have to worry about port forwarding. If, however, you want to make your server accessible to the whole world, you need to enable port forwarding on your router. (To learn more about port forwarding, see PortForward.com for tutorials.)

Refer to your router's documentation for specific instructions on setting up port forwarding for your device. For Minecraft, you need to forward the TCP port 25565.

You must also enter your server's local IP address as the egress or server IP address for the forwarded port. This tells the router which device to point to. To find your server's local IP address, open Terminal and enter ifconfig.

  • Start the Minecraft server.
Double-click on the “start.command” file that you created in step 3. A terminal window will open. You will probably see error messages the first time you run the server. It's normal.

Once the server is up, you can invite others to connect to your server through your local IP address if they are on your home network or through your external/public IP address if they are not on your home network.

You can find your public IP address by searching for "my ip address" on Google.

To check if your server is accessible, enter your public IP address in the Minecraft server status checker.

Create a Minecraft server on a Linux host

If you're not inclined to host a Minecraft server at home, you can create a Linux hosting plan to do so instead. This way, you are not responsible for managing the hardware and you do not expose your private home network to the public.

As mentioned earlier, a Linux VPS hosting plan from GoDaddy is a lightweight option if you are experimenting or not waiting for many players to join your server. If, however, you are expecting a lot of readers, you should use a dedicated Linux server instead.

To follow these steps, you will need to connect to your hosting with SSH. (If you are unfamiliar with the process, this Help article has been shown to you.)

Install Java

While SSH entered your host as the root user, enter the following command:

apt-cache search openjdk

This list shows the available OpenJDK packages that can install Java. For this example, we'll select openjdk-7-jdk , which is the OpenJDK 7 development kit.

Update the list of packages available from remote repositories:

apt-get update

Then install the selected software package:

apt-get install openjdk-7-jdk

Press "Y" when prompted to allow storage space required for the installation. Once done, verify that Java was installed successfully:

java -version

You should see the version of Java that was just installed.
Create a location for your Minecraft server files.

Create a directory on your host where the Minecraft server files will be saved, then navigate to that directory.

mkdir minecraft

minecraft cd
Download the files from the Minecraft server.

In the Minecraft directory, run the wget command program to download the files from the Minecraft server:

wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar

(Tip: Double-check the Minecraft download page to find the URL for the latest version.)

Next, we will need to install and run "screen" to keep your server running even when you are not logged in:

yum install screen

screen

Start your Minecraft server.

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

(Tip: You can change the -Xmx and -Xms parameters to adjust the memory allocated to the Minecraft server. For example, you can enter -Xmx1G -Xmx1G to increase it to 1 GB of RAM. The available memory depends on your plan. 'accommodation.)

To make sure everything is working properly, stop your server with:

Stop

Then edit the "server.properties" file and define:

enable-query = true

Save the “server.properties” file and restart your server. From there, enter your server's IP address into the Minecraft Server Status Checker to see if it's publicly accessible.

Point to a domain on your Minecraft server.

Providing players with an easy-to-remember domain name instead of a complicated IP address makes it even easier for users to connect to your Minecraft server.

It's very simple: update your domain's DNS records by adding an "A" record for your domain (using @ as the hostname) or a subdomain (using something like "mc" as hostname), which points to the IP address of your Minecraft server.

Note that it sometimes takes around 24 hours for DNS changes to take effect globally.

If you don't know how to change DNS records, check out this help article to add an A record.

Additional resources for managing a Minecraft server

We just created a Minecraft server. Here are some resources that go deeper into configuring, managing, and promoting your server:

As a courtesy, we provide information on the use of certain third-party products, but we do not endorse or endorse third-party products directly, and we are not responsible for the functions or reliability of such products. Third-party brands and logos are registered trademarks of their respective owners. All rights reserved.

« PREV
NEXT »

No comments