A little experience with Minecraft (MC) server on Debian Linux

Source: Internet
Author: User
Tags scp command

I like Minecraft this game, used to do mclauncher own server to play, and now want to play with the small partners, just I also have a fanless low-power small server (Http://blog.csdn.net/advancejar), About this small server will be in what is worth buying approval after the post to send this article.


Server version: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686

SSH client: F-Secure

Minecraft version 1.7.10, server and client versions to be unified

Network status: PPPoE dial, direct access to the public IP address, if there is no public IP address, please map the port to the public network through the router

Server-side download: I use a bucket server, originally with the original server, but 1.7.4 official client download is too slow, and finally down the 1.7.10 bucket server file

1.7.4 's original server download

Wget-o Minecraft_server.jar Https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar

1.7.10 Bucket server please download here (Bucket server more professional than the original server function)

http://www.400gb.com/file/84736674, download and use F-Secure SSH file function to the server

Client Download: Http://pan.baidu.com/s/1c06dgTa (official website: http://www.mcsky.net/), with the mclauncher,1.7.10 just have integration, so the server has been changed along with


Steps

1. Updating the operating system

sudo apt-get update

Update the latest files for the operating system


2.java

Run Java-version first to see if there is a version output, if you do not have this command, such as a hint, you need to do the following

In order for SSH stability to not affect the installation server, it is recommended to install screen

sudo apt-get install screen

Screen-r MC

sudo apt-get install DEFAULT-JDK

Intermediate JDK installation can be long through crtl+a and then +d interrupt ssh, to restore the time Screen-ls can view your screen

[Email protected]:~$ screen-ls
There is a screens on:
3851.MC (02/07/15 21:15:02) (Detached)

Can be restored to this screen by Screen-r 3851 or Screen-r MC.


3. Download the server

Create a Directory

CD ~

mkdir Minecraft

cd Minecraft


In the http://www.400gb.com/file/84736674 download server side, with F-secure SSH file after download to the server, of course, you can use the SCP command or through the FTP service, all roads to pass.

If you want to experience the original: Wget-o Minecraft_server.jar Https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar



4. Turn on the server and modify a property

Run Server command

Java-xmx1024m-xms1024m-jar Minecraft_server.jar Nogui



You downloaded the client, the client download: Http://pan.baidu.com/s/1c06dgTa (official website: http://www.mcsky.net/)

Connect directly to your server via Mutiplayer (the server requires a public IP or a router-mapped port), it is not connected, and a parameter needs to be modified

In the MC directory, nano server.properties the online-mode=false to this.

Disconnecting SSH when the server is turned on shuts down the MC server and requires

Screen-r MC

To recover, screen-ls can view your screen

[Email protected]:~$ screen-ls
There is a screens on:
3851.MC (02/07/15 21:15:02) (Detached)

Can be restored to this screen by Screen-r 3851 or Screen-r MC.

So you can disconnect ssh, no problem.

A little experience with Minecraft (MC) server on Debian Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.