Infernales/Sandbox – User
Jump to navigation
Jump to search
Infernales (talk | contribs) No edit summary |
Infernales (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
===<u>'''Run DayZ server.'''</u>=== | ===<u>'''Run DayZ server.'''</u>=== | ||
{{Feature|warning|Don't forget to [https://community.bistudio.com/wiki/DayZ:Server_Configuration configure] the server before running!}} | |||
===='''<u>Run DayZ server without mods:</u>'''==== | ===='''<u>Run DayZ server without mods:</u>'''==== | ||
<syntaxhighlight> | |||
сd /home/your_username/servers/dayz-server/ | |||
./DayZServer -config=serverDZ.cfg -port=2301 -BEpath=battleye -profiles=profiles -dologs -adminlog -netlog -freezecheck | |||
</syntaxhighlight> | |||
===='''<u>Run DayZ server with mods:</u>'''==== | ===='''<u>Run DayZ server with mods:</u>'''==== | ||
In this example, there will still be two mods: Community Framework and Community Online Tools.<syntaxhighlight> | |||
сd ~/servers/dayz-server/ | |||
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1559212036 ~/servers/dayz-server/1559212036 | |||
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1564026768 ~/servers/dayz-server/1564026768 | |||
find ~/servers/dayz-server/steamapps/workshop/content/221100/ -depth -exec perl-rename -v 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \; | |||
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1559212036/keys/* ~/servers/dayz-server/keys/ | |||
./DayZServer -config=serverDZ.cfg -port=2301 "-mod=1559212036;1564026768;" -BEpath=battleye -profiles=profiles -dologs -adminlog -netlog -freezecheck | |||
</syntaxhighlight> |
Revision as of 09:41, 8 February 2024
Downloading SteamCMD.
Debian:
sudo apt-get install lib32gcc-s1
RHEL:
sudo yum install glibc.i686 libstdc++.i686
Arch Linux:
sudo pacman -Syy glibc lib32-glibc nano
After installing these packages, do the following:
mkdir -p ~/servers/steamcmd && cd ~/servers/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
Downloading DayZ server.
Downloading DayZ server without mods.
Public branch:
~/servers/steamcmd/steamcmd.sh +force_install_dir ~/servers/dayz-server/ +login your_login +app_update 223350 +quit
Experimental branch:
~/servers/steamcmd/steamcmd.sh +force_install_dir ~/servers/dayz-server/ +login your_login +app_update 1042420 +quit
Downloading DayZ server with mods.
For example, let's install two mods on a public branch: Community Framework and Community Online Tools:
~/servers/steamcmd/steamcmd.sh +force_install_dir ~/servers/dayz-server/ +login yout_login +app_update 223350 +workshop_download_item 221100 1559212036 +workshop_download_item 221100 1564026768 +quit
Run DayZ server.
Run DayZ server without mods:
сd /home/your_username/servers/dayz-server/
./DayZServer -config=serverDZ.cfg -port=2301 -BEpath=battleye -profiles=profiles -dologs -adminlog -netlog -freezecheck
Run DayZ server with mods:
In this example, there will still be two mods: Community Framework and Community Online Tools.
сd ~/servers/dayz-server/
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1559212036 ~/servers/dayz-server/1559212036
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1564026768 ~/servers/dayz-server/1564026768
find ~/servers/dayz-server/steamapps/workshop/content/221100/ -depth -exec perl-rename -v 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \;
ln -s ~/servers/dayz-server/steamapps/workshop/content/221100/1559212036/keys/* ~/servers/dayz-server/keys/
./DayZServer -config=serverDZ.cfg -port=2301 "-mod=1559212036;1564026768;" -BEpath=battleye -profiles=profiles -dologs -adminlog -netlog -freezecheck