@laurapaul09
Profilo
Registrato: 1 anno, 8 mesi fa
How To Install Minecraft Server On Windows 8 Hyper-V Ubuntu Server In 60s Many readers have asked us how to set up a Minecraft server. For those that do not know, Minecraft is a breakout hit in gaming selling many millions of copies yet starting from an independent developer. Minecraft's independent route is great because there is no requirement for a server to be "corporate", which can plague games like Call of Duty. That means users are free to setup their own Minecraft servers at home, colocated or elsewhere. This model is very similar in appearance to Counter-Strike scenes from 2000-2001. Today we are going to show how to install Minecraft server on Windows 8 Hyper-V Ubuntu. This setup is very simple and is ideal for hosting LAN-games. Test Configuration In order to make it as relevant to the test case, my personal workstation will be used. CPU(s): Intel Core i7-3930K Motherboard: ASUS P9X79 WS Memory: 32GB (8x 4GB) G.Skill Ripjaws X DDR3 1600 Drives: Corsair Force3 120GB, OCZ Vertex 3 120GB and 2x Samsung 840 Pro 256GB Chassis: Corsair Carbide 500R Power Supply: Corsair AX850 850w 80 Plus Gold OS: Microsoft Windows 8 Pro with Hyper-V and Ubuntu Server 12.10 One key aspect here is that the machine has a lot of very fast SSD storage. 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. MINECRAFT The major distributions come with Hyper-V integration parts, making it much easier than CentOS. 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 takes up more disk space and uses more memory to run. Since Minecraft is very memory intensive, it is best to waste memory. 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 if there is a slow Internet connection. The first step to install Minecraft server on Windows 8 Hyper-V is to install java. We will use java7 for this guide. To install Java on Ubuntu, use the following command: sudo apt-get install openjdk-7-jre-headless Here is a screenshot of what this will look like (may be slightly different if you already did sudo apt-get upgrade): 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'll need 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 Because it uses the same path, this command is significantly simplified. Bukkit also includes version numbers, which can make things a little more complicated. Here's how it all 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. You can import the virtual server and then you are ready to go on a dedicated box. Now the next step is to launch Minecraft server after it is installed. These commands are what I use most often: 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. Of course there is a slightly 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 in to the Ubuntu VM (using SSH, or the HyperV console) and open a Text Editor. I use nano a lot so the command would be: nano minecraft-server-install.sh You can now simply copy the following lines to the text editor, and save/write any 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 this is complete, one can run: sh minecraft-server-install.sh At which point the bash script will run, download and install java and Minecraft server. For those that want to do this on both Hyper-V and non Hyper-V Ubuntu installations, one can just download that script and complete installations in under 20 seconds each time. Hopefully this 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 to suggest alternatives. 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 the technology industry and has worked with numerous large hardware and storage vendors in the Silicon Valley. STH is a website that helps users find information about servers, storage, networking and other building blocks. You can post any useful information on the forums if you have it. 7 COMMENTS Yuri April 9, 2013, 5:18 AM Guys, I don’t understand the "How to do it by Captain Obvious" type of articles. What's happening to STH? Stephen Davis April 9, 2013 At 8:42 am Yuri - Sorry you are not liking the recent how-to articles. We can only afford to test and buy so much news and product. Sometimes we create articles based upon projects we are currently working on or fun activities we just completed. This is evident in Xen's articles. I am currently working on a prototype for a public cloud and am just sharing it here to help others. 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 at 10:50 Yuri. Stephen suggested that you feel free to suggest or add content that you would like. Also, it is important to note that things that seem obvious to one person may not be obvious or obvious to another. We receive many requests on this topic every week. xena April 9, 2013 at 11:40am Well +1 Yuri. As regular visitor of this site for 2 years I see a downward curve in quality or rather quality of choice of topics. We had articles about raid cards test, 4 sockets motheboards and great articles about ibm1015 last year. You also have great ebay auction articles. That's what makes you unique and attracts readers all over the world (in my case, from central eu). You make the site so low-end with topics like minecraft and memtest that people begin to wonder if they're actually on STH. Cmon Patrick, you found this site and make it very special for people from IT ranks or highend enthusiastic folks and we was very happy with information we find on you site. Now it feels like you're dumping your older readers and getting us low-quality food instead of the high-quality food we are used to. These are my thoughts... Patrick Kennedy April 9, 2013 At 1:33 pm xena, thanks for the feedback. The next two days are likely to have content that is more in line with the older content (dual LGA2011 reviews and a cool piece on projects). 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. People are always open to more exposure for their projects. Bitrix Morko, June 12, 2013, 12 :36 p.m. It wasn't all for nothing. This article was informative and 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 @ 8:30 AM. A note to future readers: To install Ubuntu in hyper-V, you can install it as Gen 2 VMs, but in order for it to boot, you must disable the "secureboot” option in the Firmware setting of the VM. 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 REPLY Please enter your comment! Please enter your name. Please enter your email here. This will save my name, email, website, and comment for the next time. Sign me up for STH's newsletter To reduce spam, this site uses Akismet. Learn how your comment data are processed. Newsletter Get the best of STH delivered weekly to your inbox. We will curate the best STH posts each week and send them directly to your inbox. Your email address: By opting-in, you agree to receive our newsletter. We use a third-party service to manage subscriptions. This allows you to unsubscribe at your convenience.
Sito web: https://diigo.com/0psdh2
Forum
Topic aperti: 0
Risposte create: 0
Ruolo forum: Partecipante