Gaming: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
=VRising dedicated server Debian11= | |||
==Install Prerequisites== | |||
Add non-free and contrib to /etc/apt/sources.list after main | Add non-free and contrib to /etc/apt/sources.list after main | ||
Line 13: | Line 15: | ||
Add winehq repo for Debian | Add winehq repo for Debian | ||
echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/winehq.list | <pre>sudo echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/winehq.list</pre> | ||
Download | Download apt key | ||
wget -nc https://dl.winehq.org/wine-builds/winehq.key | <pre>wget -nc https://dl.winehq.org/wine-builds/winehq.key</pre> | ||
Add key | Add key | ||
sudo apt-key add winehq.key | <pre>sudo apt-key add winehq.key</pre> | ||
<pre>sudo dpkg --add-architecture i386</pre> | |||
<pre>sudo apt update</pre> | |||
sudo | <pre>sudo apt install winehq-stable winetricks steamcmd:i386</pre> | ||
create user steam | |||
<pre>useradd steam -m -s /bin/bash</pre> | |||
Install the allfonts winepackage as user steam with winetricks | |||
login as user steam | |||
<pre>su - steam</pre> | |||
<pre>winetricks allfonts</pre> | |||
==Install VRising dedicated server== | |||
Run steamcmd to install the server software | |||
steamcmd | <pre>steamcmd</pre> | ||
Steam>login anonymous | you will now get a Steam> prompt | ||
In the Steam> prompt login as anonymous | |||
<pre>login anonymous</pre> | |||
First, tell SteamCMD to use windows as the platform, as there's currently a Windows version of VRising Server currently: | |||
<pre>Steam>@sSteamCmdForcePlatformType windows</pre> | |||
Optional: If you want to install the server to a specific directory in the /home/steam folder: | |||
Steam> | <pre>Steam>force_install_dir ./<name of folder></pre> | ||
Proceed with the installation app_update and steamID | |||
<pre>Steam> app_update 1829350</pre> | |||
When the server software is finished with the installation, exit steamcmd with pressing ctrl + c | |||
To logout from steam user, press ctrl + d | |||
==Headless wine== | |||
we need to make wine headless | |||
setup headless wine | setup headless wine | ||
source: https://superuser.com/questions/902175/run-wine-totally-headless | source: https://superuser.com/questions/902175/run-wine-totally-headless | ||
https://steamcommunity.com/sharedfiles/filedetails/?id=862024047 | https://steamcommunity.com/sharedfiles/filedetails/?id=862024047 |
Revision as of 18:46, 17 June 2022
VRising dedicated server Debian11
Install Prerequisites
Add non-free and contrib to /etc/apt/sources.list after main
change line:
deb http://deb.debian.org/debian bullseye main
with
deb http://deb.debian.org/debian bullseye main non-free contrib
Add winehq repo for Debian
sudo echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/winehq.list
Download apt key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
Add key
sudo apt-key add winehq.key
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install winehq-stable winetricks steamcmd:i386
create user steam
useradd steam -m -s /bin/bash
Install the allfonts winepackage as user steam with winetricks
login as user steam
su - steam
winetricks allfonts
Install VRising dedicated server
Run steamcmd to install the server software
steamcmd
you will now get a Steam> prompt In the Steam> prompt login as anonymous
login anonymous
First, tell SteamCMD to use windows as the platform, as there's currently a Windows version of VRising Server currently:
Steam>@sSteamCmdForcePlatformType windows
Optional: If you want to install the server to a specific directory in the /home/steam folder:
Steam>force_install_dir ./<name of folder>
Proceed with the installation app_update and steamID
Steam> app_update 1829350
When the server software is finished with the installation, exit steamcmd with pressing ctrl + c
To logout from steam user, press ctrl + d
Headless wine
we need to make wine headless setup headless wine source: https://superuser.com/questions/902175/run-wine-totally-headless https://steamcommunity.com/sharedfiles/filedetails/?id=862024047