Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Install Nanny (bot)

  1. #1
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts

    Install Nanny (bot)

    Hi all,
    Today i would like to install this awesome bot in my server starting from 0. Your help is indispensable.
    So, starting from here https://github.com/voron00/Nanny/tree/cod2_english

    Instructions to run in *nix:

    Install through CPAN (http://www.cpan.org/modules/INSTALL.html) dependent modules: DBI, DBD::SQLite, LWP::Simple
    Setup every necessary parameters in nanny.cfg
    Launch in terminal. In *nix you can use nanny.sh


    The first command to write in the terminal is this?

    Code:
    cpan App::cpanminus
    There is a method to install it in a different folder? If yes, how?

    Then for install the DBI, DBD::SQLite, LWP::Simple modules, i need to write this?

    Code:
    cpanm Module::DBI
    cpanm Module::DBD::SQLite
    cpanm Module::LWP::Simple
    Also here, there is a method to install it in a different folder/? If yes, how?
    Thanks.

  2. #2
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    PHP Code:
    cpanm DBI
    cpanm DBD
    ::SQLite
    cpanm LWP
    ::Simple 
    or just

    PHP Code:
    cpan DBI
    cpan DBD
    ::SQLite
    cpan LWP
    ::Simple 
    (cpanminus is actually optional)

    If you are root they will be installed to /usr/local/lib/perl, if not root, should be in your /home/per5 dir, you proably can change that paths but idk why you need to though.
    sudo apt-get rekt

  3. The Following User Says Thank You to voron00 For This Useful Post:

    sttte93 (7th March 2017)

  4. #3
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by voron00 View Post
    PHP Code:
    cpanm DBI
    cpanm DBD
    ::SQLite
    cpanm LWP
    ::Simple 
    or just

    PHP Code:
    cpan DBI
    cpan DBD
    ::SQLite
    cpan LWP
    ::Simple 
    (cpanminus is actually optional)

    If you are root they will be installed to /usr/local/lib/perl, if not root, should be in your /home/per5 dir, you proably can change that paths but idk why you need to though.
    If i install it on a ssd, i will get more performance or no?

  5. #4
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    I don't see any connection between ssd and perl modules lol, you proably shouldn't bother about that.
    sudo apt-get rekt

  6. The Following User Says Thank You to voron00 For This Useful Post:

    sttte93 (7th March 2017)

  7. #5
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by voron00 View Post
    I don't see any connection between ssd and perl modules lol, you proably shouldn't bother about that.
    Ok. So, i wrote :

    Code:
    cpan DBI
    and this is the result :

    Click image for larger version. 

Name:	cmd.jpg 
Views:	95 
Size:	180.6 KB 
ID:	1286


  8. #6
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    PHP Code:
    sudo apt-get install make 
    sudo apt-get rekt

  9. The Following User Says Thank You to voron00 For This Useful Post:

    sttte93 (7th March 2017)

  10. #7
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by voron00 View Post
    PHP Code:
    sudo apt-get install make 
    I write that, and then :

    Code:
    cpan DBI
    Click image for larger version. 

Name:	cmd.jpg 
Views:	85 
Size:	227.6 KB 
ID:	1287

  11. #8
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by sttte93 View Post
    I write that, and then :

    Code:
    cpan DBI
    Click image for larger version. 

Name:	cmd.jpg 
Views:	85 
Size:	227.6 KB 
ID:	1287
    Ok. Maybe the answer was:
    Code:
    sudo cpan DBI
    Last edited by sttte93; 7th March 2017 at 15:07.

  12. #9
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Ok, seems running Thank you voron00.
    PS: where i can find geoip [!locate command] updated?

  13. #10
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    sudo apt-get rekt

  14. The Following User Says Thank You to voron00 For This Useful Post:

    sttte93 (7th March 2017)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •