当前位置:   article > 正文

centos 7上搭建原版 Minecraft 服务器_you need to agree to the eula in order to run the

you need to agree to the eula in order to run the server. go to eula.txt for

centos 7上搭建原版 Minecraft 服务器,直接进入正题:

①安装jdk-1.8.0

yum install -y java-1.8.0*

②创建mc目录

mkdir /tmp/minecraft

③下载好mc服务器的压缩包(minecraft_server.1.7.10.jar)和库文件(libraries),移动到/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
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/173112
推荐阅读
相关标签
  

闽ICP备14008679号