Installation of iroffer mod Dinoex under Linux as a User Installation Steps



Download 7.86 Kb.
Date31.07.2017
Size7.86 Kb.
#25304

Installation of iroffer mod Dinoex under Linux as a User

Installation Steps


  1. We change into the users HOME directory.

cd

  1. We create and an extra directory for iroffer.

mkdir iroffer cd iroffer/

  1. Gettting the sources of the program.

wget http://iroffer.dinoex.net/iroffer-dinoex-3.30.tar.gz

  1. Extract the sources.

tar -xvzf iroffer-dinoex-3.30.tar.gz

  1. We configure the sources for our Linux version.

cd iroffer-dinoex-3.30 ./Configure -curl -geoip -ruby

  1. Should "Configure" report some errors, we have to retry after installing the missing packages.
    Sufficient under Debian:

sudo aptitude install make sudo aptitude install gcc sudo aptitude install libc-dev sudo aptitude install libcurl4-openssl-dev sudo aptitude install libgeoip-dev sudo aptitude install libssl-dev sudo aptitude install ruby1.8-dev sudo aptitude install ruby1.8 sudo aptitude install libruby-extras

  1. We build the program.

make

  1. Now we copy the program to the right place.

cp -p iroffer .. cp *.html .. cp -r htdocs ../

  1. We start with the "sample.config.

cp sample.config ../mybot.config cd .. chmod 600 mybot.config

  1. Only the bot needs to have write permissions here.

chmod 700 .

  1. We create a password for the admin-chat.

./iroffer -c mybot.config

  1. We add the directories to the configuration file "mybot.config".
    "adminhost" should be set to your hostmask. We activate the internal webserver. The directories for the files is added and we uses it also for uploads.
    mybot.config should include:

http_port 8000 http_dir htdocs filedir /home/bot/files uploaddir /home/bot/files

(replace 'bot' with your own login)



  1. We create the directory for the files.

cd .. mkdir files

Here we can upload the files with FTP or with XDCC later.



  1. We create a startup script.

cd ..

then


nano -w start-iroffer.sh

then


vim start-iroffer.sh

Here we add:

#!/bin/sh cd /home/bot/iroffer ./iroffer -b /home/bot/iroffer/mybot.config

(replace 'bot' with your own login)



  1. Make the script executeable.

chmod +x start-iroffer.sh

  1. Start.

sh start-iroffer.sh

Now the bot should run and connect.

Download 7.86 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page