[Dxspider-support] Spider install in windows
Henk Remijn PA5KT
pa5kt at remijn.net
Wed Oct 3 21:53:57 CEST 2007
I just did a spider install in Windows.
Took about one hour:
Download the latest Activeperl version from
http://www.activestate.com/Products/ActivePerl/Download.html.
I downloaded v5.8.8.
Install the package.
Reboot.
Open command prompt.
Add packages:
ppm install net-telnet
ppm install timedate
ppm install db_file
Download the latest spider cvs from
http://www.dxcluster.org/download/CVSlatest.tgz.
Extract the software to C:\ (Dont use another directory, make it working
first then you can always change things).
Installation:
My cluster call is PA5KT-5.
My link node is PA5KT-15. (This node needs to know you are a spider
cluster: set/spider pa5kt-5).
From command prompt:
C:\spider>mkdir local
C:\spider>mkdir local_cmd
C:\spider>copy c:\spider\perl\DXVars.pm.issue c:\spider\local\DXVars.pm
1 file(s) copied.
C:\spider>cd local
(I use write instead of notepad because write handles the cr/lf of the
files properly).
C:\spider\local>write DXVars.pm
Change the following lines in the DXVars.pm:
# this really does need to change for your system!!!!
# use CAPITAL LETTERS
$mycall = "PA5KT-5";
# your name
$myname = "Henk";
# Your 'normal' callsign (in CAPTTAL LETTERS)
$myalias = "PA5KT";
Save the file.
C:\spider\local>copy ..\perl\Listeners.pm .
1 file(s) copied.
C:\spider\local>write Listeners.pm
Remove the # in front of the line:
["0.0.0.0", 7300],
Save the file.
C:\spider\local>cd ..\perl
C:\spider\perl>perl create_sysop.pl
C:\spider\perl>perl cluster.pl
cluster
DXSpider V1.54, build 0.162 started
Copyright (c) 1998-2007 Dirk Koopman G1TLH
loading prefixes ...
US Database not loaded
loading band data ...
loading user file system ...
starting listeners ...
Internal port: localhost 27754 using IntMsg
External Port: 0.0.0.0 7300 using ExtMsg::login
load badwords: Ok
Starting Dupe system
Read in Messages
Read in Aliases
Start WWV
Start WCY
Starting DX Spot system
Start Protocol Engines ...
DXChannel PA5KT-5 created (1)
reading existing message headers ...
load badmsg: Ok
load forward: Ok
load swop: Ok
reading cron jobs ...
cron: reading /spider/cmd/crontab
cron: adding 1 0 * * 3 DXUser::export("$main::data/user_asc")
cron: adding 5 0 * * * DXDebug::dbgclean()
cron: adding 0 3 * * * Spot::daily()
reading database descriptors ...
doing local initialisation ...
orft we jolly well go ...
queue msg (0)
We are running....
Open another command prompt:
Create a connect script:
C:\>cd \spider\connect
C:\spider\connect>copy con pa5kt-15
timeout 60
connect telnet www.remijn.net 7530
'login:' 'pa5kt-5'
^Z
1 file(s) copied.
Make sure on pa5kt-15 your cluster node is configured as a spider node
(set/spider pa5kt-5).
telnet localhost 7300
login: pa5kt
Hello Henk, this is PA5KT-5 in Goes
running DXSpider V1.54 build 0.162
Cluster: 1 nodes, 1 local / 1 total users Max users 1 Uptime 0 00:01
PA5KT de PA5KT-5 3-Oct-2007 1922Z dxspider >
set/spider pa5kt-15
PA5KT-15 created as DXSpider style Node
PA5KT de PA5KT-5 3-Oct-2007 1924Z dxspider >
PA5KT de PA5KT-5 3-Oct-2007 1935Z dxspider >
connect pa5kt-15
connection to PA5KT-15 started
PA5KT de PA5KT-5 3-Oct-2007 1936Z dxspider >
DX de F8DGY: 28009.0 LOOKING beam sa 1937Z
DX de IS0PGF: 10105.6 9U0A 53 1937Z
And voila, we have a running cluster.
Some finetuning:
Go to another command prompt.
Edit the crontab so your connection is restored after connection is lost:
cd c:\spider\local_cmd
C:\spider\local_cmd>copy con crontab
0,5,10,15,20,25,30,35,40,45,50,55 * * * * start_connect('pa5kt-15')
unless connected('pa5kt-15')
^Z
1 file(s) copied.
C:\spider\local_cmd>
In the telnet window disconnect the cluster
disconnect pa5kt-15
And then within 5 minutes the connection is automagically restored.
More information about the Dxspider-support
mailing list