콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

브이 라이징 – How To Setup CentOS Linux Dedicated Server

에 게시됨 05/27/202205/27/2022 에 의해 shiranai 6 댓글 ~에 브이 라이징 – How To Setup CentOS Linux Dedicated Server
  • 제목: 브이 라이징
  • 출시일:
  • 개발자: 스턴록 스튜디오
  • 발행자: 스턴록 스튜디오
V Rising에 대한 정보는 아직 불완전합니다.. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

현재, there is only a Windows version of the V Rising Server available. It is possible though to run the server on a Linux system using wine.

Introduction and prerequisites

Shortly after I bought this game and played around for a while in single player, I wanted to play together with friends. And since I already had a VPS (with CentOS installed) at my disposal I thought why not use that. So I read the official guide and found out there’s only a server execuabtle for windows. I remembered other guides I’d seen showing how to use wine to run windows executables and I decided to try with this game and it worked. So here’s my guide on how to do it. As said before and in the title I did this on a CentOS system but I guess this solution in principle would also work on other Linux distributions.

I tried to make this guide easily understandable for everyone. The only things you’d need to know is how to use the terminal and how to edit files. CentOS comes with vi as a text editor which can be used to follow this guide but an explaination on how to use vi is not part of this guide.

In this guide commands start with $,# 또는 >. Commands that start with # have to be executed when logged in as root or using sudo. Commands with $ can be executed by a regular user and commands with > are commands for the steamcmd. $, #, > are not part of the actual commands.

요구사항

In order to run the Server we will need wine and xvfb. Wine is used to execute Windows executables on LInux and we will use xvfb to create a virtual monitor, so we don’t have to have an actual monitor attached to the server.

We also need the steamcmd to download and update the server files. Install the steamcmd requirements with:

# yum install glibc.i686 libstdc++.i686 -y

The easiest way to install wine is by using the EPEL Repository, so we add it like this:

# yum install epel-release -y

Then to install wine and xvfb:

# yum install wine -y
# yum install xorg-x11-server-Xvfb -y

Installing steamcmd

Before we install steamcmd or the server, we should create a user that we will use to run steamcmd and later the game server itself. Using the root user for the steamcmd or the game server is a security risk. I’ll call this user steam but you can choose any name you like.
Create the user and log in as this new user:

# useradd steam
# su steam

We then move to home directory of the new user and create a directory in which we will install the steamcmd and another directory for the game server:

$ cd
$ mkdir steamcmd
$ cd steamcmd 
$ mkdir VRising

Now we download and extract the steamcmd:

$ curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

Installing the game server

We start the steamcmd using the script that was extracted in the previous step:

$ ./steamcmd.sh

The first time starting the steamcmd will take some time and download updates. After the updating is done we can use the steamcmd and as first step we specify the previously created directory as the install directory for the game:

> force_install_dir VRising

Before we download the server files we need to log in to steam but we can use the anonymous login:

> login anonymous

The app ID for the V Rising server is 1829350 so we can install the server like this:

> app_update 1829350

After the server has been installed type

> quit

to exit the steamcmd.

Running and configuring the game server

Move to the directory where we installed the server:

$ cd VRising

And then start the server like this:

$ export WINEARCH=win64
$ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' wine VRisingServer.exe -persistentDataPath ./save-data -logFile server.log

This will start the server and create the savegame in the directory we specified in the previous command as persistent data path, in this case the save-data folder.
Wait a bit and then close the server again by pressing Ctrl-C.

Configuration

Create the Settings folder inside the save-data directory:

$ mkdir save-data/Settings

Now we copy the default settings to this new directory:

$ cp VRisingServer_Data/StreamingAssets/Settings/*.json save-data/Settings

The Settings folder now contains two configuration files, ServerHostSettings.json for host configuration like server name, 비밀번호, ports, etc and ServerGametSettings.json for game settings like crafting rates, damage multipliers etc.

You can use your preferred text editor to edit the settings in those files.

Using systemd to control the server

We now could use the command we used before to start the server but this would require us to always keep the terminal we’re using open to keep the server running. Instead we will systemd to configure the server as service that runs in the background.

To make things easier we will first create shell script to start the server. Create a new file using a text editor of your choice with the following content:

#!/bin/bash export WINEARCH=win64 /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /usr/bin/wine VRisingServer.exe -persistentDataPath server1_saves/ -logFile server.log

Save the file as run_server.sh in directory of the game server. Make the file an excutable with this command:

$ chmod ug+x run_server.sh

This is everything we need to do as the steam user. We can now switch back to a user with root privileges using

$ 출구

Create a new file for the systemd service with the following content:

[단위]
After=network.target

[서비스]
User=steam
Group=steam
WorkingDirectory=/home/steam/steamcmd/VRising
ExecStart=/home/steam/steamcmd/VRising/run_server.sh

[설치하다]
WantedBy=multi-user.target

and save the file as

/etc/systemd/system/VRising.service

We can now use systemctl to start and stop the server. To start the server use:

# systemctl start VRising

If we want to stop the server we can use:

# systemctl stop VRising

We can also check if the process is still running:

# systemctl status VRising

Note that if the server crashes this might still show that the process is active because only the server process crashed but wine is still running.

Configuring the firewall

Now that we got the server running using systemd, the only thing left to do is to configure the firewall.

Unless you changed this in ServerHostSettings.json the game uses the udp ports 9876 그리고 9877.

Add rules for these two ports to the firewall:

# firewall-cmd --add-port=9876/udp
# firewall-cmd --add-port=9877/udp

Then we persist the new rules so the port stay open even after a restart and reload the firewall:

# firewall-cmd --runtime-to-permanent
# firewall-cmd --reload

Updating the game

Updating is simple. First shut down the server and just like when installing the game login to the user we created for the steamcmd and start the steamcmd:

# systemctl stop VRising
# su steam
$ cd ~/steamcmd
$. ./steamcmd

Login to anonymous steam profile, update the game, wait for the update to finish and close the steamcmd:

> login anonymous
> app_update 1829350
> quit

The game is now updated and we can start the server again.

# systemctl start VRising

이것이 오늘 우리가 공유하는 모든 것입니다. 브이 라이징 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. shiranai. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:브이 라이징

탐색 후

이전 게시물: Cat Cafe Manager – How to Get All Cats (What Lure to Use)
다음 게시물: How to Fix Rendezvous: Shadows of the Past Crashing, 실행 시 충돌, 및 동결 문제

댓글 (6) on “V Rising – How To Setup CentOS Linux Dedicated Server”

  1. Guaaxiinim 라고:
    06/02/2022 ~에 10:28 오후

    좋은 오후에요, meu amigo!
    Qual seria a versão do seu CentOS?

    회신하다
  2. 이스라엘 라고:
    06/08/2022 ~에 6:45 오후

    Im having a problem running the Systemctl start VRising.service, it outputs error 127 https://imgur.com/a/C5XrETN

    회신하다
    1. RandomDude 라고:
      06/11/2022 ~에 4:44 오전

      You have to seperate the lines
      예를 들어.

      #!/bin/bash
      export WINEARCH=win64 
      /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /usr/bin/wine VRisingServer.exe -persistentDataPath server1_saves/ -logFile server.log
      
      회신하다
      1. DarkMisha 라고:
        06/26/2022 ~에 12:10 오전

        도움이 되지 않는다, im still getting the same issue.

        회신하다
  3. goglgos 라고:
    06/20/2022 ~에 2:50 오후

    is it enough when running on EC 2 free tier that is 1GB memory?

    회신하다
    1. Xinguez 라고:
      07/20/2022 ~에 2:08 오후

      1 core – 2 proccess – 1GB Memory

      4 players starts to lag, that container can be used to test something… not for a multiplayer server

      회신하다

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: 브이 라이징
  • 출시일:
  • 개발자: 스턴록 스튜디오
  • 발행자: 스턴록 스튜디오
V Rising에 대한 정보는 아직 불완전합니다.. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마