• 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 BSD

Setup Minecraft On FreeBSD 10

How VPS by How VPS
September 1, 2019
in BSD
0
0
SHARES
47
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Install Basic Tools
  2. Install Java
  3. Download and Setup Minecraft
  4. Security Note
  5. Want to contribute?


This article assumes you have a Vultr VPS with 2 CPU and 2GB of ram. Please change any settings accordingly to your VPS type. This article also uses Minecraft 1.8, so please change accordingly if you wish to use something different.

Install Basic Tools

You may want to install wget, nano, and screen by running the following command:

pkg install screen nano wget

Install Java

Install OpenJDK 7 by running the following command:

pkg install java/openjdk7

Once it is done, run the following command to verify the installation of OpenJDK 7:

java -version 

If you see the following, then you can proceed to the next step:

openjdk version "1.7.0_71"
OpenJDK Runtime Environment (build 1.7.0_71-b14)
OpenJDK 64-Bit Server VM (build 24.71-b01, mixed mode)

Download and Setup Minecraft

Run the following commands to download Minecraft:

cd ~
mkdir mcserver
cd mcserver
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8/minecraft_server.1.8.jar –no-check-certificate

Once it is downloaded, you will want to create a file called eula.txt and populate it with eula=true. This is applicable to any server after version 1.7.9. By creating this file, you agree with the Mojang EULA which can be found here.

Next, create a file called startup.sh and populate it with the following:

java -Xmx1500M -Xms750M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -jar  minecraft_server.1.8.jar nogui

Save the file and run the following command to start the server:

screen sh startup.sh

If all is successful, you will be able to connect to the IP address of your VPS with the Minecraft game client. You have just setup Minecraft on FreeBSD 10.

Security Note

It is recommended to create a new user specifically for your server to make sure that the Minecraft server does not have root access. Giving a server or application root access poses a security risk. To create a new user, run adduser and follow everything being prompted, but make sure that when it asks about the shell, to choose nologin as a security measure for this user. Once completed, enter into your server directory and run the following command (Change “minecraft” with the username and group you have created):

chown -R minecraft:minecraft .

This will change the owner of the content of that directory to minecraft. Next, run the following command to start the server:

screen su -m minecraft -c "sh startup.sh"

This will start your server as the user minecraft. If everything is successful, the server will be running.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Installing Fuel CMS on FreeBSD 12.0

Next Post

How to Install Couch CMS 2.0 on a FreeBSD 11 FAMP VPS

Next Post

How to Install Couch CMS 2.0 on a FreeBSD 11 FAMP VPS

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