Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.28 KB

README.md

File metadata and controls

57 lines (43 loc) · 2.28 KB

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