• 24小时客服在线
  • info@qimumu.top

手把手教你搭饥荒专用服务器(二)—环境配置及基本使用

3月 7, 2020 服务器相关, 饥荒

位置导航:首页服务器相关 / 饥荒


一、游戏环境配置

1、打开WINSCP,将上节内容下载的go.sh和swap.sh文件拖入到你的服务器/root目录下。

附:WINSCP基本操作演示(点击图片可放大)

2、打开putty,登录页面介绍如下:

登陆之后输入默认用户名root,回车,输入你的密码,注意此时密码不会显示在屏幕上,输入完回车即可登录。

登录成功后,输入ls(英文字母l,不是数字1),回车,查看第一步上传的两个文献有没有成功。

输入以下代码,给两个脚本提升权限

chmod 777 go.sh swap.sh //注意空格

输入以下代码,开启交换分区(2G内存以上的忽略这一步)

./swap.sh

输入以下代码,自动下载运行环境

./go.sh

大概要下载2G左右的环境包,包含Steam运行环境和饥荒运行环境,需要5min-30min(一般阿里云5min 腾讯云6min 其他云服务商的不敢保证)出现以下界面说明环境搭建成功!

二、开关服等基本操作

1、开服

①输入./go.sh,回车,打开饥荒一键端架设器

②选择2,回车,这里首先要输入你想创建的房间名,我们以A为例, 按照提示操作即可 。pvp为是否允许玩家对战,暂停为世界无人时是否自动暂停(建议开,不开容易在你离线的时候被熊獾拆家)

③到了要输入令牌的时候,这就是上一节提到的User TOKEN,把你保存到txt里面的复制粘贴过来即可(注意不能使用ctrl+v粘贴,putty默认右键粘贴)

④输入之后回车,会有一长串日志信息滚动,这说明你的世界正在创建。出现“Sim Paused”的时候,说明地上已经创建完成,此时同时按下ctrl + A + D三个键,将地上信息放入后台,此时日志信息再次滚动,此时为正在生成洞穴。

⑤再次出现“Sim Paused”的时候,说明两个世界已经创建成功!进入游戏,搜索你创建的房间名,可以搜索到,并且有了“专用服务器”标志,恭喜你,创建成功!!

注:此时创建的世界是全资源默认无MOD纯净档,世界及MOD设置移步 手把手教你搭饥荒专用服务器(三)—MOD及其他高级设置
如需将本地存档上传转为专用服务器存档移步 手把手教你搭饥荒专用服务器(四)—本地存档转专用存档

2、关服

①输入./go.sh运行一键端,输入3,回车,可以看到地下地上两个进程

②关闭地上进程,则输入Master前面对应的数字,12075,回车,此时会出现地上的日志信息,同时按下Ctrl+C即可关闭

③地下同理,再次运行go.sh一键端,重复上面的步骤,输入Caves前面对应的数字12239,回车,Ctrl+C

【可能出现的问题】

问题:可能有些同学误操作导致启动不完全,输入世界对应的进程号之后回车却显示“There is no screen to be resumed matching xxxxx(xxxxx是指你的进程号)”

解决办法:输入以下命令,回车,再重新使用一键端操作即可即可

screen -d xxxxx     //这里的xxxxx指的是你无法关闭的那个进程

3、更新

Steam或游戏更新时,需要关闭服务器,已将更新模块合入一键端内,直接运行go.sh,使用功能1即可


声明:本资料仅供学习交流,严禁使用于任何商业用途,由此产生的版权纠纷本站不负任何责任!
如需转载,请注明出处:www.qimumu.top

友情链接:

手把手教你搭饥荒专用服务器(一)—服务器准备工作

手把手教你搭饥荒专用服务器(二)—环境配置及基本使用

手把手教你搭饥荒专用服务器(三)—MOD及其他高级设置

手把手教你搭饥荒专用服务器(四)—本地存档转专用存档

作者 木木

《手把手教你搭饥荒专用服务器(二)—环境配置及基本使用》有5个想法
  1. I wanted to put you the very little remark to be able to thank you the moment again on your pretty tactics you have provided on this page. This has been simply strangely open-handed with you to offer unhampered precisely what many people would’ve offered for sale for an ebook to help make some money on their own, particularly seeing that you might have tried it in case you desired. Those strategies in addition worked to become good way to know that some people have the identical keenness really like my personal own to realize much more when considering this matter. I believe there are several more pleasant sessions up front for people who scan your site.

  2. I’m also commenting to let you be aware of of the excellent discovery my cousin’s child enjoyed checking your blog. She discovered a wide variety of details, most notably how it is like to have a marvelous coaching heart to get many more effortlessly fully understand certain complicated matters. You actually did more than my desires. I appreciate you for displaying such great, healthy, educational and also cool guidance on that topic to Evelyn.

  3. I intended to compose you a bit of note in order to give many thanks again about the amazing advice you’ve contributed above. It’s generous of people like you giving easily all a few individuals could have advertised as an e-book in making some bucks for their own end, and in particular considering that you could have done it if you considered necessary. The advice additionally acted as a easy way to be aware that many people have a similar desire just as mine to figure out a good deal more around this condition. Certainly there are a lot more enjoyable instances ahead for folks who browse through your blog.

  4. I precisely desired to say thanks again. I’m not certain the things I could possibly have created in the absence of the actual creative concepts discussed by you concerning my concern. It absolutely was a depressing concern for me personally, but considering a new professional fashion you handled it forced me to cry for delight. I’m grateful for the assistance and as well , expect you comprehend what a powerful job that you are carrying out educating men and women by way of a web site. I am certain you’ve never come across all of us.

发表评论

邮箱地址不会被公开。 必填项已用*标注