1 There are the notes for upgrading to the mojo branch.
5 perl 5.10.1, preferably 5.14.1 or greater. This basically means running ubuntu 12.04 or later (or one of the other linux distros of similar age). The install instructions are for debian based systems.
9 sudo apt-get install cpanminus
11 curl -L https://cpanmin.us | perl - --sudo App::cpanminus
13 You will need the following CPAN packages:
15 sudo cpanm EV Mojolicious Mojo::IOLoop::ForkCall JSON JSON::XS
17 login as the sysop user.
19 Edit your /spider/local/DXVars.pm so that the bottom of the looks something like:
23 # the port number of the cluster (just leave this, unless it REALLY matters to you)
26 # your favorite way to say 'Yes'
29 # your favorite way to say 'No'
32 # the interval between unsolicited prompts if not traffic
33 $user_interval = 11*60;
38 # system files live in
39 $system = "$root/sys";
41 # command files live in
44 # local command files live in (and overide $cmd)
45 $localcmd = "$root/local_cmd";
47 # where the user data lives
48 $userfn = "$data/users";
50 # the "message of the day" file
54 @debug = qw(chan state msg cron );
58 # the port number of the cluster (just leave this, unless it REALLY matters to you)
61 # your favorite way to say 'Yes'
64 # your favorite way to say 'No'
67 # this is where the paths used to be
70 @debug = qw(chan state msg cron );
74 There may be other stuff after this in DXVars.pm, that doesn't matter. The point is to remove all the paths in DXVars.pm.
76 Now run the console program or telnet localhost and login as the sysop user.
83 sudo service dxspider stop
84 mkdir /spider/local_data
87 git checkout --track -b mojo origin/mojo
89 if you have not already done this:
91 sudo ln -s /spider/perl/console.pl /usr/local/bin/dx
92 sudo ln -s /spider/perl/*dbg /usr/local/bin
94 Now in another window run:
100 service dxspider start