NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

How To Host A Minecraft Game On A Linux Virtual Machine

Dedicating an entire Linux PC or server just to run a Minecraft game is a waste of resources. If you're looking to get a quick Minecraft server running, it's much better to host it from a Virtual machine.



There are many options for virtualizing modern computers. Oracle VM VirtualBox has the best features. It's cross-platform, easy-to-use, and it's free. We will be explaining how Oracle VirtualBox can be used to host a Minecraft server on a Linux virtual computer.



Install VirtualBox



This section will show you how to install Oracle VirtualBox. To get the app working on your Linux PC, scroll down and follow the instructions that correspond with the OS you use.



Mac/Windows



Interested in hosting your virtual Linux-powered Minecraft server on a Mac or Windows PC? VirtualBox is required in order to host your virtual Linux-powered Minecraft server on a Mac or Windows PC.



VirtualBox can be installed on a Windows and Mac computer easily. The operating systems don't require users to interact with terminals or any other similar devices. Instead, head over to the official Vbox website, find the download option for your Mac or Windows PC and download the installer file.



Once VirtualBox is downloaded, follow the instructions to install the program to your computer.
Fake it till you make it


VirtualBox for Ubuntu is available in Multiverse repository You must enable it with:



Once the repo has been added to your Ubuntu system run the update command.



Finally, install Virtualbox for Ubuntu using the apt command.



Debian



VirtualBox for Debian is available in our Contributor repository. This repo isn’t available by default so you have to enable it. Here's how to do it.



Step 1: Open up your sources file in Nano.



Step 2 - Find all lines that start with "deb." At the end of each line, add "contrib." If you are using proprietary libraries and programs, you might also want to add the line "nonfree".



Step 3: Run the update command to finalize adding the new "contrib" and "non-free" lines.



Now that "Contrib" is up and running on your Debian PC, you'll be able to install the VirtualBox app with the following Apt-get command easily.



Arch Linux



Virtualbox will work on Arch Linux only if you enable "Community” in your Pacman configuration. Are you unsure how to enable it. Follow the steps below.



Step 1 - Open Pacman.conf on Nano and scroll through it until you find the "Community” section.



Step 2: Remove the # symbol from in front of "Community" and the lines below it.



Step 3: Save Nano with Ctrl + O. Next, exit the terminal with Ctrl+X. Once you have returned to the terminal resync Pacman.



Step 4 - Once "Community” is up, you can install VirtualBox in Arch with:



Fedora



Fedora's software repositories are open source, and the developers aim to keep it that way. For this reason, you won't find the VirtualBox application. However, you can get it working if RPM Fusion is enabled.



These DNF commands can be used to enable RPM fusion.



Note: Replace X with the Fedora Release Number you are currently using.



Once RPM Fusion is up and running, you can install Virtualbox on Fedora



OpenSUSE



If you're a SUSE user, VirtualBox is very easy to install. Just open a terminal to run the following Zypper commands.



Generic Linux



VirtualBox has a standalone, downloadable binary for Linux systems that do not have VirtualBox in their software sources. To install it, head over to the download page, grab the latest release and run it to start up the installation process.



VirtualBox Ubuntu Server



Once VirtualBox is done installing, it's time to set up Ubuntu server. You can install Ubuntu server in VirtualBox by using a pre-setup appliance.



Instructions to download for Mac/PC



Navigate to the official download page. Click on "VirtualBox" tab. You can then click on "Download" to download the latest Ubuntu Server 18.04.1 LTS version.



Please do not download Ubuntu Server 18.10 instead of 18.04.1. VirtualBox's latest OSimages release does not support 18.10.



Notable: You will need 7z or a decompression program that can handle the 7z format.



Instructions for downloading Linux



Download the Ubutnu server image by running the following command;



Install the P7zip tool in order to allow your Linux system extract 7zip files. Then, extract the archive with your file-manager by right-clicking on 181064.7z, and selecting "extract."



Once you have extracted the files, open VirtualBox and click "New". Type "Ubuntu Server", as the name, and set the RAM to 2048 MB.



After setting the RAM, visit the "Hard disk page" and choose "Use a virtual hard disk file already existing." Browse for Ubuntu 18.04.1 Server 64bit.vdi and click "open" in order to assign it to your VM.



Click "create" to complete the VM creation process.



Modifying the network settings



Right-click on the "Ubuntu Server" VM in VirtualBox. To open the machine's settings, click "Settings".



Once you have reached the settings area click on "Network". Next, change "Adapter 1" to "Bridged Adapter."



Install the Minecraft Server



The VM has started to work. Now it is time for the server to go live. Start the Ubuntu Server VM by right-clicking and selecting "Start" and following the steps below.



Step 1: Login to the VM with the details below.



username: osboxes



password: osboxes.org



Step 2 - Install the Java runtime environment onto your Ubuntu server.



Step 3: Download Minecraft Server Java Edition (Java Edition) using Wget.



Step 4: Run your Minecraft server with:



Easy Minecraft Server startup



To start up your Minecraft server more easily, set up a script in the VM terminal with the commands below.



You can then run the server at any moment with:



To connect to your Minecraft server VM, you'll need to know the IP address of the machine. To find out the IP address of your Minecraft server VM, please refer to this tutorial.



Once you have the IPv4 IP Address, turn on Minecraft. Make sure your PC is connected to the same network that the VM. Click "Add server" in The Multiplayer Menu.


Homepage: https://fakeroot.net/
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.