Skip to content

ajurna/Dayz-Epoch-Linux-Server

 
 

Repository files navigation

Dayz-Epoch-Linux-Server

A private hive DayZ Epoch 1.0.5.1 server on Linux

Installation instructions

  1. The following programs must be installed on your Linux system: screen, gcc, perl, mysql.

  2. Download and install ArmA beta patch (http://www.arma2.com/downloads/update/beta/ARMA2_OA_Build_108074.zip).

  3. 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/

  4. Download and install DayZ Epoch Mod 1.0.5.1 (http://goo.gl/IN1Pt1).

  5. 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
  6. Create database "epoch" (login: "dayz", password: "dayz") and load "database.sql" into Mysql.
    Load v1.0.5.1 db update "v1051update.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;
    mysql> source v1051update.sql;
  7. 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

  8. Run ./epoch.sh for test
    Watch the messages - they might inform you whether your installation failed!

  9. 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" !

About

A private hive DayZ Epoch server on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Perl 91.9%
  • C 6.6%
  • Shell 1.5%