Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
Many readers have asked us how to set up a Minecraft server. Minecraft is a big hit in the gaming world, selling millions of copies but still being developed by an independent developer. Minecraft's independence from Call of Duty is one of its greatest assets. That means users are free to setup their own Minecraft servers at home, colocated or elsewhere. The model is very similar the Counter-Strike scene between 2000 and 2001. Today we are going to show how to install Minecraft server on Windows 8 Hyper-V Ubuntu. This is an easy setup that uses little power and is great for hosting LAN games.
Test Configuration To make this as relevant as possible to the test case my personal workstation is going to be used.
CPU(s), Intel Core i7-3920K Motherboard, ASUS P9X79 WS Memory and Drives: Corsair Force3 120GB and OCZ Vertex3 120GB Drives Corsair 840 Pro 256GB Chassis Corsair Carbide 500R power supply: Corsair 850 850w 80 Plus gold OS: Microsoft Windows 8 Pro with HyperV and Ubuntu Server 12.10. Traditional rotating disks can cause a Minecraft server to hang for players during disk access.
Prerequisite: Install Ubuntu in Windows 8 HyperV. It is very simple to install Ubuntu on Windows 8 HyperV. The major distributions include Hyper-V integration components, which makes installation much faster than with CentOS or many other distributions. Use the guide on how to install Ubuntu on Windows 8 Hyper-V in a few minutes. For a Minecraft server it is suggested that one uses the x64 server version. The workstation version uses more disk space and requires additional memory to run. It is best not to waste memory because Minecraft is extremely memory-intensive.
One major note here is that one wants the Minecraft server Hyper-V data store to run on a SSD.
Install Minecraft Server on Windows 8 Hyper-V Ubuntu in 60 seconds Now for the fun part, getting a basic Minecraft server running in less than 60 seconds. It might take slightly longer for slower Internet connections.
The first step to install Minecraft server on Windows 8 Hyper-V is to install java. This guide will use java7. Use the following command to install java on Ubuntu:
sudo apt-get install openjdk-7-jre-headless
This is a screenshot showing what it will look like (may differ slightly if you have already done sudo apt-get update).
Install Minecraft on Hyper-V Ubuntu JAVA Now that the Ubuntu server has java installed, you can get the files needed to install Minecraft server. First you will want to create a directory. I like minecraft server as my directory for a simple server.
mkdir ~/minecraft-server
After this one needs to get the Minecraft Server files:
wget -O ~/minecraft-server/server.jar https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar
That command is greatly simplified because it uses the same path. Bukkit also includes version numbers, which can make things a little more complicated. This is how it looks like:
Install Minecraft on Hyper-V Ubuntu Minecraft Standard At this point one has installed Minecraft server on Windows 8 Hyper-V Ubuntu. It is possible to move the Minecraft server to another Windows 8 Pro, Windows 8 Enterprise or Windows Server 2008 R2, Windows Server 2012, or Hyper-V server machine by using this type. Just import the virtual machine and you are ready to go on a dedicated server box later.
Now the next step is to launch Minecraft server after it is installed. For this I tend to use the following commands:
cd minecraft-server
java -Xmx2048M -Xms2048M -jar server.jar nogui
That launches a 2GB of RAM minecraft server which most desktops can support. Because of the limitation of 4GB RAM, it is possible to use something like a Microsoft Surface Pro to run Hyper-V. An important factor here is that the more RAM the Hyper-V host has, the more it can allocate the the Ubuntu VM and the Minecraft server. Here's what this looks like:
Install Minecraft on Hyper-V Ubuntu Start Minecraft That's all there was and it only took about a minute to get up and running with the Minecraft server in Hyper-V on a Ubuntu VM. There's a better way.
Scripting the Minecraft Server Installation on Ubuntu While entering commands is fun, we can use a simple bash script to do the installation. Log into the Ubuntu VM by using SSH or Hyper-V console. Then open a text editor. I use nano a lot so the command would be:
nano minecraft-server-install.sh
You can now copy the following lines into your text editor and save/write changes.
#!/usr/local/bin/bash sudo apt-get install openjdk-7-jre-headless mkdir ~/minecraft-server && wget -O ~/minecraft-server/server.jar https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar
Once you are done, you can start running:
sh minecraft-server-install.sh
At which point the bash script will run, download and install java and Minecraft server. You can download the script to complete both Hyper-V and Non Hyper-V Ubuntu installations. It takes less than 20 seconds.
Conclusion Hopefully that helped. Always open to other suggestions and if we want, happy to do the same with bukkit or similar Minecraft server installations. The best thing about this installation is that it is portable because it is in Hyper-V. It can also run on many machines, since Microsoft has made Windows 8 Hyper-V available to everyone.
Feel free and open to suggestions.
TAGS minecraft Previous articleHP Moonshoot 1500 Hyperscale Computing Released Next articleASUS Z9PA-D8 Review - Dual Intel Xeon E5-2600 ATX Motherboard Patrick Kennedy https://www.servethehome.com Patrick has been running STH since 2009 and covers a wide variety of SME, SMB, and SOHO IT topics. Patrick is a consultant in IT and has worked for many large storage vendors and hardware manufacturers in Silicon Valley. STH's goal is to provide information on server, storage, networking, and other building blocks. Forum members are welcome to share any useful information. 7 COMMENTS Yuri April 9,2013 at 5:18am Guys, I don’t get the "How do you do something by Captain Obvious” type of articles. What's the deal with STH?
Stephen Davis April 9, 2013, 8 :42 a.m. Yuri – Sorry you don't enjoy the recent howto articles. There are only so many products and news we can afford to test. MINECRAFT SERVER LIST Sometimes, we create articles from projects we have been working on or something we did recently. The Xen articles are a good example of this. I have been building out a public cloud prototype and am simply documenting it here for others to benefit.
We are open to hearing your thoughts and suggestions, or if you have a specific interest in something. Join us on our forums. We have a subforum that is dedicated to main site articles ideas. http://forums.servethehome.com/servethehome-com-article-suggestions/
Patrick Kennedy April 9, 2013, 10:50 Yuri. Stephen said that you can suggest or contribute content to the site.
Also, it is important to note that things that seem obvious to one person may not be obvious or obvious to another. This topic is the subject of many requests every week.
xena April 9, 2013 At 11:40 am Well +1 to Yuri, same thougts here. Since 2002, I have been a regular visitor to this site. Over the past two years, I have seen a decrease in the quality or more accurately, the variety of topics. Year-two ago we have articles about 4 sockets motheboards, raid cards test, great articles about ibm1015 for example followed great ebay auction etc... thats what make you really special and unique and you get readers around world(in my case from central eu location). With topics like minecraft or memtest you take this site so to lowend that people start checking if they really are on STH or on some of the billion hw&sw reviews junk sites. Cmon Patrick! You found this site and made it special for people in IT ranks or high-end enthusiasts. We were very happy with the information we found on your site. But now its feel like you throw your old readers over deck and get simple stuff instead of giving us high quality food we have become accustomed to. Here are my thoughts...
Patrick Kennedy April 9, 2013 At 1:33 pm xena, thanks for the feedback. The content for the next two days will likely be more in-line than the older content (dual LGA2011 Review and a cool pieces piece.)
I started a thread here: http://forums.servethehome.com/servethehome-com-article-suggestions/1672-sth-main-site-direction-april-2013-a.html where we can continue the discussion. This type of feedback is always appreciated and is one reason why we have a dedicated public forums to this topic.
You can also join the contributors list if you have other ideas. It is always a pleasure to see people's projects get more attention.
Morko June 12, 2013 at 12:36 This article was interesting and very helpful. First I tried this http://www.smh.com.au/digital-life/computers/blogs/gadgets-on-the-go/setting-up-a-minecraft-home-server-20120823-24own.html, great tutorial but it didn't serve all angles I was looking for so yeah, thanks for the post.
Ken February 7, 2015 at 8:30 am. This is a reminder for future readers: You can install Ubuntu in HyperV as a Gen 2 virtual machine, but to make the installation work, you need to disable the "secureboot" option in the Firmware settings.
To be clear: you simply create a new VM. You choose Generation 2 to be the type of VM. However, before you start the VM, you need go into the settings. Select'require secure boots' (or another similar option). The VM will begin to boot. The install will locate and use the appropriate drivers.
This has been tested under Hyper-V both on Server 2012 R2 (Windows 8.1 running Ubuntu 14.10).
LEAVE A NOTE Please leave a comment! Please enter your name here You have entered an incorrect email address! Please enter the email address below to save your name, email and website for the next comment.
Sign me up for STH's newsletter
To reduce spam, this site uses Akismet. Learn more about how your comment data is processed.
Newsletter Get the best STH news delivered straight to your inbox every week. We will curate a selection from the best STH posts each Wednesday and deliver them directly straight to your inbox.
Your email address:
By opting in, you consent to our sending you our newsletter. We use a third party service for managing subscriptions. You can unsubscribe at any moment.
Website: https://mclijst.nl/
![]() |
Notes is a web-based application for online 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 14 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