NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

How To Set Up A Minecraft Server On Linux

One of the bad things with Minecraft (if there is such a thing), except being addicted is that you can't easily "click-and-play" online with your friends. In Counter-Strike, for example, you can host a server while you play using only two mouse-clicks - but how do you do you host a Minecraft Server?



Read on to get the full walkthrough of how to set up a Minecraft Server.



The first step for setting up a Minecraft Server is getting the software (or binaries, if you'd like), which can be found here. The file you need will depend on the system you're using, but the JARfile will always work (which is the one we use). If you don’t feel comfortable using command line and are using Windows please download the easy to use EXE.



Next, we will set up the environment for our Minecraft Server. While I am currently using Ubuntu on my netbook I cannot guarantee that this will work with other types. But I'm pretty confident, so keep that in your mind. Open a terminal and type "sudo:apt-get-install openssh-server". This will install an SSH server and allow you to remotely manage the Minecraft Server via SSH. (Alternatively, you can use PuTTy to connect to Windows).



If you're like me and enjoy remote management, an FTP server is also required to transfer minecraft_server.jar to your computer. Later, you can retrieve the installation from your computer for backup purposes. Open a terminal and type "sudo:apt-get install Vsftpd". You will need to configure this. After the installation, run sudo nano /etc/vsftpd.conf and set "anonymous_enable=NO" and remove the "#" from the "#local_enable=YES and "#write_enable=YES". This will allow only certain users to connect to your computer (login using your usual name and password), and allow them to create files.



Java is required in order to use Minecraft Server and Minecraft Server. "sudo --apt-get-install sun-java6_jre" should do it. As I mentioned before, I don't know what works for you. Please leave a comment or search another way to get the runtime environment.



We're done. Open PuTTy. Enter the address and log into. Write "mkdir minecraft" to create a folder named minecraft, this is were we'll put the Minecraft Server. Log in to FileZilla or another FTP client and copy the minecraft_server.jar file to /minecraft. If you have an existing world that you wish to import, place the folder in /minecraft. To start the server, bring up the SSH once more and type "java.xmx1024M.xms1024M.java minecraft_server.jar.jar nogui". -Xmx defines the maximum RAM java (minecraft servers) can use. –Xms defines the minimum amount. However, it doesn't seem that it allocates all of it at startup. If you haven't imported one, Minecraft Server will create a new world. Feel free to check if it works by joining it.



To close the Minecraft Server, you will need to write "stop". This is important to do since it will make the server save everything to disk, although you could run "save-all" and then quit it however you like but I wouldn't recommend it. To edit the config, run "nano service.properties". This is not necessary, but it can be useful. I only changed "onlinemode" to false because I don’t feel the necessity to authenticate users. This is mostly due to the fact that I know a few friends who run a hacked edition. Some of them bought Minecraft after testing it out, so it's win-win-win for us all and win for developers.



Minecraft Server runs on port 25565 by default. However, it is possible to change the port, but users will need to enter the port number when connecting. "192.168.0.111;xxxxxx" can be accessed by using ":", followed by the port.



That's it, I think! Happy mining and crafting!
Minecraft servers

Website: https://stevelarese.com/
     
 
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.