Skip to content
sebauer edited this page Oct 18, 2012 · 1 revision

#summary How To install Beelzebot

Introduction

Installing Beelzebot is quite easy and done in a few minute. Be sure to check the SystemRequirements before continuing with the setup.

Step by Step Guide

  1. Get Beelzebot. If you have GIT available, just clone the repository:
    git clone https://github.com/sebauer/beelzebot.git
  2. Rename the file config.php.dist to config.php
  3. Replace all values according to your setup
  4. Optional: Set up LfsRandom script:
    1. Move randomlfs folder to a directory within the document root of your web server.
    2. Make directory randomlfs writable for the web server. On unix based systems type:
      chmod 777 randomlfs/
    3. Make all non-PHP files in the directory randomlfs writable:
      chmod 777 log used_cars used_combos used_tracks
    4. Put the URL of the LfsRandom script inside the config.php file, e.g.:
      define('LFS_RANDOM_URL', 'http://anyserver.net/randomlfs/random.php');
  5. You're done configuring Beelzebot. You can start it at your console using
    php ircbot.php
  6. Watch the output for any errors. If everything went fine, you can end the bot and restart it in background:
    nohup php ircbot.php &
    The bot will then be started in the background, any output will be written to nohup.log

Clone this wiki locally