A private hive DayZ server on Linux
Perl C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
@hive/addons initial commit Oct 28, 2013
cache update addons Oct 29, 2013
cfgdayz Update cfgdayz.arma2oaprofile Nov 14, 2013
expansion/battleye update Nov 14, 2013
mpmissions initial commit Oct 28, 2013
README.md Update README.md Nov 9, 2013
database.sql update addons Oct 29, 2013
install initial commit Oct 28, 2013
object_init_data.txt update data Oct 30, 2013
restarter.pl update Nov 17, 2013
server initial commit Oct 28, 2013
server.sh initial commit Oct 28, 2013
tolower.c initial commit Oct 28, 2013
writer.pl bug fix update Dec 4, 2013

README.md

Dayz-Linux-Server

A private hive DayZ 1.8.0.3 server on Linux

Installation instructions

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

  2. Download and install newest ArmA beta patch (http://www.arma2.com/beta-patch.php).

  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 Mod 1.8.0.3 (http://se1.dayz.nu/latest/1.8.0.3/%40Client-1.8.0.3-Full.rar).

  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 "dayz" (login: "dayz", password: "dayz") and load database.sql into Mysql.
    Load vehicle objects:

    LOAD DATA INFILE 'object_init_data.txt' INTO TABLE Object_init_DATA;
    LOAD DATA INFILE 'object_init_data.txt' INTO TABLE Object_DATA;
    Or use mysqlimport:
    $ mv object_init_data.txt Object_init_DATA.txt
    $ mysqlimport -u root -p --local dayz Object_init_DATA.txt  
    $ mv Object_init_DATA.txt Object_DATA.txt
    $ mysqlimport -u root -p --local dayz Object_DATA.txt
    

    $ chmod +x install server *.sh *.pl
    $ sudo apt-get install libjson-xs-perl
    For 64-bit only:
    $ sudo apt-get install lib32stdc++6

  7. Run ./server.sh for test
    Watch the messages - they might inform you whether your installation failed.

  8. Run ./restarter.pl
    $ screen -r