A private hive DayZ Epoch 1.0.4.2a server on Linux
-
The following programs must be installed on your Linux system: screen, gcc, perl, mysql.
-
Download and install ArmA beta patch (http://www.arma2.com/downloads/update/beta/ARMA2_OA_Build_108074.zip).
-
Copy the whole "ArmA 2: Operation Arrowhead" directory from Windows to server Linux-directory.
ArmA2 directory should contain subdirectories "Addons", "Dta", "Expansion", etc.
Example: pack with PKZIP (WinZip, PowerArchiver, etc.) on Windows and unpack with "unzip" on Linux.
DO NOT use upper case letters in the ArmA2 directory name (or in any files that the server uses like missions or mods):
GOOD: "/home/bob/arma2arrowhead"
BAD: "/home/bob/ArmA2ArrowHead"
http://rutor.org/torrent/240581/ -
Download and install DayZ Epoch Mod 1.0.4.2 (http://goo.gl/mzhHZW).
-
Run ./install
Watch the messages - they might inform you whether your installation failed! Double check that all directories were renamed to lower case. Remove any .dll files you might still find (in battleye, expansion and expansion/battleye directories).
When adding mission .pbo's or mods remember to run ./tolower again or manually change the filenames to lowercase.
ANY uppercase letter in a filename will crash the server!$ for x in *; do mv $x `echo $x | tr [A-Z] [a-z]`; done
-
Create database "epoch" (login: "dayz", password: "dayz") and load "database.sql" into Mysql.
Load v1.0.4.2 db update "v1042update.sql" and "v1042a_update.sql" into Mysql.$ mysql -u root -p mysql mysql> create database epoch; mysql> GRANT ALL PRIVILEGES ON epoch.* TO 'dayz'@'localhost' IDENTIFIED BY 'dayz'; mysql> use epoch; mysql> source database.sql; mysql> source v1042update.sql; mysql> source v1042a_update.sql;
-
Install the required packages:
$ sudo apt-get install libjson-xs-perl
$ sudo apt-get install libdbd-mysql-perl
For 64-bit only:
$ sudo apt-get install lib32stdc++6 -
Run ./epoch.sh for test
Watch the messages - they might inform you whether your installation failed! -
Run ./restarter.pl
$ screen -r
Press Ctrl+A+D to detach the screen.
Please do not forget that the production server must run by "restarter.pl" !