• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Fedora

Install a Minecraft Server on Fedora 26

How VPS by How VPS
December 1, 2019
in Fedora
0
0
SHARES
40
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
  2. Requirements
  3. Preparation
  4. Configuration
  5. Notes
  6. Want to contribute?

Using a Different System?

  • Install a Minecraft Server on CentOS 7

Are we missing a guide for your target system? Request one, or submit your own!


In this tutorial, I will guide you through setting up a Minecraft server on a high-performance SSD VPS at Vultr. You will learn how to set up a Minecraft server on Fedora 26 x64.

Requirements

  • Any SSH client.
  • 1GB RAM VPS server with Fedora 26 x64 installed.

Preparation

First, login to your new Fedora server at Vultr and install the required software.

ssh [email protected]  

Install Java 1.8:

[root@vultr ~]# yum install java-1.8.0-openjdk  
...
Is this ok [y/N]: y

Install screen:

[root@vultr ~]# yum install screen
...
Is this ok [y/N]: y

Open the Minecraft server port (25565) in firewalld:

firewall-cmd --zone=public --permanent --add-port=25565/tcp
firewall-cmd --reload

For security reasons, let’s create a user to run your Minecraft server under. If anyone finds a vulnerability in the server, they will not be able to gain root access on your server.

adduser mcserver
# set a secure password.
passwd mcserver
# this allows you to run screen while su'd from root for the next step
chown mcserver `tty`

Configuration

Lets switch user to mcserver and install Minecraft server! Change the URL accordingly to the newest version of Minecraft.

su - mcserver
mkdir minecraft
cd minecraft
wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar
chmod +x minecraft_server.jar
screen
echo "eula=true" > eula.txt
# start your Minecraft server
java -Xmx768M -Xms768M -jar minecraft_server.jar nogui

Congratulations, your Minecraft server is now up and running on a high-performance SSD VPS server!

Notes

To install on a 768MB VPS, follow the same commands above but change the last java command to:

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

If you require more players (and thus more RAM) you just launch a larger instance and then simply subtract 256M from the amount of RAM your instance has allocated. For example, a 4096M instance would launch with -XmX3840M -Xms3840M.

If you want a private server, you can specify player names that are allowed to join. To do this, first, start your server:

java -Xmx768M -Xms768M -jar minecraft_server.jar nogui

Wait for it to finish loading.

...
[Server thread/INFO]: Preparing spawn area: 1%
[Server thread/INFO]: Preparing spawn area: 36%
[Server thread/INFO]: Preparing spawn area: 92%
[Server thread/INFO]: Done (3.496s)! For help, type "help" or "?"

Type the following commands into the console.

whitelist on
whitelist add <username>
whitelist add <username2>
....

Enter your friend’s user name instead of <username>. You can add as many of them as you would like. After this, you will see the following output:

[Server thread/INFO]: Turned on the whitelist
[Server thread/INFO]: Added <username> to the whitelist

If you want to turn whitelist off, simply type whitelist off.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

How to Install Redaxscript 3.2 CMS on a Fedora 26 LAMP VPS

Next Post

Installing Akaunting on Fedora 28

Next Post

Installing Akaunting on Fedora 28

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet