•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
    • Status
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

如何托管一个专门的Minecraft服务器?

  • Home
  • Client
  • Qa Forum
  • 如何托管一个专门的Minecraft服务器?

Posted By: Tyler | 1 Replies | Last Reply On: Jun 08, 2017 07:29:01

我想主持一个专门的Minecraft服务器。您可以提供的任何指导或步骤开始?

Psychz - Shrirang

Votes: 0Posted On: Jun 08, 2017 07:29:01
 

The following steps will guide you on how to host your own dedicated Minecraft server.

 

Setting up a Minecraft server on Ubuntu 12.0

Now, it is highly recommended to set up the server under different username rather than "root". But you can still set up under "root", however, it is not secure.

Optional:

1. To add a new user in Ubuntu, use the "adduser command (You must login as "root")

 

sudo adduser new_user_name

Type in the password and confirm. Press enter followed by Y. Your new user has been created


2. Now you need to assign root privileges to this user in order to set up the installation

Open the sudoers file with the following command:

 

sudo /usr/sbin/visudo

Adding the user’s name and the same permissions as root under the user privilege specification will grant them the sudo privileges.

# User privilege specification

 

root ALL=(ALL:ALL) ALL
new_user_name ALL=(ALL:ALL) ALL

Press ‘cntrl + x’ to exit the file and then ‘Y’ to save it.

 

Installing pre-requisites

Run a quick update on "apt-get". This is to download all of the server requirements.

 

sudo apt-get update


Install the Java on the server

java -version

(This will give you the version currently installed. In case you don’t have Java installed, you will get a message that says "java: command not found".

You can, then, download java through apt-get:

 

sudo apt-get install default-jdk


INSTALLING MINECRAFT SERVER

1. First create a new directory named "minecraft"

 

mkdir minecraft

 

2. switch to the directory

 

cd minecraft


3. Now, in that directory, you need to download the latest version of Minecraft Server Software

 

wget https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar


4.  Once the file is downloaded you may rename it.

 

mv minecraft_server.1.10.2.jar minecraft_server.jar


5. Now we can start the server

 

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

 

6.The first run has created "eula.txt" file which we now need to edit to accept EULA(End User Legal Agreement). Type following command.

 

sed -i.orig 's/eula=false/eula=true/g' eula.txt


7.Now you may run it again.

 

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui


The server should start now and you can type the IP address of your server to connect.

 

Was this reply helpful?

Related topics

  • 英特尔至强与i7处理器:如何决定
  • 英国专用服务器与Plesk
  • 用PayPal平衡购买服务器
  • 什么科学的Linux是和它的特点
  • 专用服务器出售
  • 专用服务器价格比较
  • 专用服务器与共享服务器
  • Why Gaming Companies are Choosing Bare Metal Servers
  • Reference Architecture - Active-Active Configuration (Using CDN)
  • Psychz Networks expands to Spain, Australia, and Singapore!
  • Network
  • Installing MariaDB on Centos 7
  • GDPR, Data Processing Agreement (DPA) and Standard Contractual Clauses (SCCs)
  • Dallas Dedicated Servers: Why Centralized Hosting Delivers Better Performance Across the USA
  • Create SRV Record
Copyright © 2026 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
  • Catalog
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
  • Status
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801