Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php on line 202

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php on line 314

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php on line 454

Deprecated: Function split() is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/auth.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php:202) in /home/pistos/sites/purepistos.net/wiki/inc/auth.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/pistos/sites/purepistos.net/wiki/inc/parserutils.php:202) in /home/pistos/sites/purepistos.net/wiki/inc/actions.php on line 128
Reby:Installation-on-Ubuntu [wiki.purepistos.net]

wiki.purepistos.net

[[Reby:Installation-on-Ubuntu]]

Trace: » Installation-on-Ubuntu

You are here: Home » Reby » Installation-on-Ubuntu

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login


Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 44

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 236

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 290

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 323

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/handler.php on line 560

Deprecated: Function split() is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/metadata.php on line 276

Deprecated: Assigning the return value of new by reference is deprecated in /home/pistos/sites/purepistos.net/wiki/inc/parser/xhtml.php on line 980

(Original guide written by Scumie (EFNet))

Install Ubuntu Packages

To install Ruby under Ubuntu or Debian, you need to get several packages. You can use a command like this:

$ sudo apt-get install ruby ruby1.8 ruby1.8-dev rdoc ri irb

Install RubyGems

Obtain RubyGems and install it manually. You can get a tarball here. Then untar it:

$ tar zxvf rubygems-0.9.0.tgz 

And install it:

$ cd rubygems-0.9.0/
$ sudo ruby setup.rb

Install Rubyful Soup

For the websearch.rb Reby script, you will need to get this gem:

$ sudo gem install rubyful_soup

It will prompt you about a dependency; just answer yes.

Install required dependency htmltools? Yn 

Install Reby

$ cd /home/username/eggdrop/scripts
$ wget http://purepistos.net/eggdrop/reby/reby-0.7.4.tar.gz
$ tar zxvf reby-0.7.4.tar
$ mv reby-0.7.4 reby

Configure Reby

$ cd reby
$ cp reby.conf.sample reby.conf
$ nano reby.conf

Edit the file to suit, including host, port, eggdrop username and password. Exit your editor and save. In Nano: Ctrl o; ctrl x.

Configure Eggdrop for Reby

Edit eggdrop.conf and comment out the following lines (by adding a # symbol in front of them):

unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set

Restart your eggdrop.

Start the Reby Daemon

$ cd /home/username/eggdrop/scripts/reby
$ ruby reby.rb

Check reby.log for errors. Type !reby in your IRC channel to test it.

Further Help

Further documentation and files can be found here. Reby's home channel is #mathetes on the FreeNode IRC network (irc.freenode.net).