![]() The whitelist entry will restrict who can connect to your server. The seed is customisable and you can type pretty much whatever you want in there – I got that one from the internet because it has a village nearby. I’ll cover the port further down this post – it’s super important. But in short, the level name is the name of the directories that Minecraft will create to store your world. The full description of all this stuff is on the Minecraft WIKI here. Here’s mine, with all the entries I changed in bold. We just needed it to create the files which we’re now going to edit. Java -Xmx1024M -Xms1024M -jar minecraft_server.jar noguiĪnd after it’s calmed down (a minute or so, maximum), type “stop” at the console to stop it again. We need to start the server briefly to get the defaults created for us. Sudo apt-get install oracle-java7-installer Enter the following commands in a terminal on your server : sudo add-apt-repository ppa:webupd8team/java ![]() Installation these days is a breeze, via WebUpd8’s PPA. I’ve heard reports that the default Java instance in the Ubuntu repositories will work, but I prefer to use the “official” version. I’m hopefully going to write a later article on CraftBukkit, but for the moment, this guide will work with either version. If you want to use those, you’ll need to download the CraftBukkit edition of the server jar file, which is usually located here. ![]() Note that this is the stock minecraft server, so you won’t be able to use any of the thousands of add-ons available on the internet. For the moment, stick that file into the root of your Games Directory. What you’re downloading is just a “jar” file – pretty useless at this point. Download Minecraftįire onto your server and browse on over to download section and download the linux server edition (at the time of writing, it’s the bottom link – it’s the jar file, NOT the exe file). Choose a directory path that works for you. My installation uses ~/Apps/Games/Minecraft. The bulk of your files for running the server will live in here. So, bottom line, this guide will assume that your server has a desktop. I’ve experienced a few little foibles around that in the past and given that my hardware is halfway-decent, I’ll take the performance hit of running the full desktop. ![]() And yeah, you can use the server edition and add a desktop – if that works for you, great. Sure, there’s a server edition, but I like the convenience of dealing with the desktop. For my server, I use Ubuntu 12.04 LTS desktop edition. To start with, you’ll need an Ubuntu installation. On the other hand, if you have any doubts about what’s written here, you probably shouldn’t be putting a Minecraft server publicly on the internet… just saying. ![]() It’s pretty much step by step, so hopefully I won’t be making too many wild assumptions about your ability. Finally, a little tweaking of the Minecraft parameters to ensure that your server isn’t “griefed” by passers-by. This guide will deal with installing Minecraft on Ubuntu 12.04, hardening the install a little, then opening up the necessary ports for making your server available on the internet. There are a few guides out there on the internet, but since I run a few Minecraft servers myself, I thought I’d catalogue the process here for prosperity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |