GithubHelp home page GithubHelp logo

curtis-vl / dayz-epoch-linux-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denisio/dayz-epoch-linux-server

0.0 1.0 0.0 7.01 MB

A private hive DayZ Epoch server on Linux

Shell 1.52% Perl 91.83% C 6.65%

dayz-epoch-linux-server's Introduction

Dayz-Epoch-Linux-Server

A private hive DayZ Epoch 1.0.4.2a 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.4.2 (http://goo.gl/mzhHZW).

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

dayz-epoch-linux-server's People

Contributors

denern avatar denisio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.