赞
踩
centos 7上搭建原版 Minecraft 服务器,直接进入正题:
①安装jdk-1.8.0
yum install -y java-1.8.0*
mkdir /tmp/minecraft
④运行下面命令启动服务器
java -Xmx2048M -Xms1024M -jar minecraft_server.jar nogui //-Xms为最低使用内存,-Xmx为最高使用内存,nogui为以命令行开启
⑤第一次运行提示加载 eula.txt 失败
[16:36:36] [Server thread/INFO]: Loading properties
[16:36:36] [Server thread/WARN]: server.properties does not exist
[16:36:36] [Server thread/INFO]: Generating new properties file
[16:36:36] [Server thread/WARN]: Failed to load eula.txt
[16:36:36] [Server thread/INFO]: You need to agree to
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。