在进入下一步之前,我们还需要配置java环境,这是启动Mc服务器所必需的 mc对应版本所需java版本 为了方便,我们可以同时安装多个版本的Java,来应对各种环境(但我不建议你那么做) sudoaptinstallopenjdk-8-jdksudoaptinstallopenjdk-11-jdksudoaptinstallopenjdk-17-jdksudoaptinstallopenjdk-21-jdk 安装完成后,输入以下...
Note:We’ll be usingUbuntu Desktop 21.10 for Raspberry Piin this tutorial, and recommend you follow along with Ubuntu Desktop 21.10 on whatever device you use. Of course, you’ll also need another PC or laptop withMinecraft Java Editioninstalled so you can connect to your server once you’ve...
在你创建的Minecraft文件夹里面,输入screen -R mc创建一个新窗口,进入窗口后直接输入java -jar server.jar nogui让服务器下载依赖文件并尝试第一次生成世界,等待时间较长 (这里的server.jar指的是最开始下载并重命名后的的服务端启动器文件) 不出意外的话你会卡在这个界面,这里最后一句显示我们需要同意一个许可 ...
wgethttp://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar-O minecraft_server.jar 要运行服务器,请使用以下命令,请注意,此命令基于您拥有 1GB RAM 的 VPS: java -Xms512M -Xmx512M -jar minecraft_server.jar nogui 该命令将失败,但这样做会创建一个名为 eula.txt 的...
java -version openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing) 创建Minecraft 用户 出于安全原因,Minecraft 不应在 root 用户下运行。我们将创建一个具...
java-version 代码语言:javascript 代码运行次数:0 运行 AI代码解释 openjdk version"11.0.7"2020-04-14OpenJDK RuntimeEnvironment(build11.0.7+10-post-Ubuntu-3ubuntu1)OpenJDK64-Bit ServerVM(build11.0.7+10-post-Ubuntu-3ubuntu1,mixed mode,sharing) ...
A server with a fresh installation of Ubuntu 18.04, a non-root user with Step 1 — Installing the Necessary Software Packages and Configure the Firewall With your server initialized, your first step is to installJava; you’ll need it to run Minecraft. By default, Ubuntu 18.04 does not prov...
Launch your copy of Minecraft Java Edition and selectMultiplayerin the menu. Next, you will need to add a server to connect to, so click on theAdd Serverbutton. In theEdit Server Infoscreen that shows up, give your server a name and type in the IP address of your server. This is the...
1. 安装JAVA 运行Minecraft需要java17的版本,检查Linux java版本 java -version Bash Copy 如果没有安装java,可以一键安装 sudoaptinstallopenjdk-17-jre-headless Bash Copy 2. MCSManager安装 使用官网的下载命令脚本,直接下载安装,安装脚本只支持 Ubuntu/Centos/Debian/Arch 等主流 x86_64 位操作系统。
JavaHotSpot(TM)64-BitServerVM(build24.80-b11,mixedmode) Deployment Server I'm using here is a roommate before on a Windows server has been equipped with good news,It is no longer a separate download,The server packagescpTo the vps can extract。