Installation UNIX - m-unkel/OHSystem GitHub Wiki

Installation Guide - UNIX OS

Download/Install needed header, libraries & files

First we need to install the needed headers:

  • For Ubuntu or debian:

apt-get install screen bzip2 tar build-essential g++ libmysql++-dev wget unzip libbz2-dev libgmp3-dev git libboost-all-dev gcc-4.7 g++-4.7

  • For CentOS:

yum install screen bzip2 tar build-essential g++ libmysql++-dev wget unzip libbz2-dev libgmp3-dev git libboost-all-dev gcc-4.7 g++-4.7

Now we can clone the project and install it:

  • clone the project:

cd /home

git clone [email protected]:m-unkel/ohsystem.git

  • copy now the folder ohsystem/openstats to your web folder and follow the install guide until you finished this.

  • now install the bot by following this commands:

cd /home/OHSystem/ghost/src/utils/bncsutil/src/bncsutil

make

make install

cd /home/OHSystem/ghost/src/utils/StormLib/stormlib

make

make install

cd /home/OHSystem/ghost/src

make

  • create new directory for the bot root

mkdir /home/bot

  • copy the bot to the bot root direction:

cp /home/OHSystem/ghost/src/ghost++ /home/bot

  • copy default config to bot root directory:

cp /home/OHSystem/ghost/config/* /home/bot

  • go to bot root directory

cd /home/bot

  • now the bot can be configured by modifying the default.cfg, after this you can start and let the bot running in the background:

screen -dmS bot ./ghost++