Add changes to the installation manual for Windows users from K1XX
[spider.git] / html / installation-5.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5  <TITLE>The DXSpider Installation Manual v1.50: Microsoft Windows Installation</TITLE>
6  <LINK HREF="installation-6.html" REL=next>
7  <LINK HREF="installation-4.html" REL=previous>
8  <LINK HREF="installation.html#toc5" REL=contents>
9 <link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">
10 </HEAD>
11 <BODY>
12 <A HREF="installation-6.html">Next</A>
13 <A HREF="installation-4.html">Previous</A>
14 <A HREF="installation.html#toc5">Contents</A>
15 <HR>
16 <H2><A NAME="s5">5. Microsoft Windows Installation</A></H2>
17
18 <H2><A NAME="ss5.1">5.1 Introduction</A>
19 </H2>
20
21 <P><B>IMPORTANT:</B> 
22 <P>What you'll be left with once you've followed these instructions
23 is (hopefully) a working DX Spider v1.50 system that is capable
24 of accepting or originating "internet" connections, plus inbound
25 and outbound AX.25 and TCP/IP radio connections.
26 <P>On the other hand, you may have an enquiring mind, or better yet,
27 may be looking for a useful way of connecting your current
28 (perhaps) AK1A cluster "to the internet" via some networking
29 mechanism (BPQEther, etc) or other. I won't be producing
30 instructions for the latter case, because I don't have an AK1A to
31 play with. But someone might ...
32 <P>Whatever, this document is intended to get you started with DX
33 Spider in a Microsoft Windows &trade; environment. It's not
34 intended to teach you anything other than how to perform a
35 minimum configuration of a DX Spider installation and have it
36 able to connect across "the internet" to other DX Clusters, while
37 accepting inbound TELNET and radio connections.
38 <P>
39 <H2><A NAME="ss5.2">5.2 The requirements</A>
40 </H2>
41
42 <P>The very first things you're going to need are (in order of
43 importance):-
44 <P>
45 <UL>
46 <LI>A cup of good, strong tea</LI>
47 <LI>A supported Windows platform with an internet connection so you can
48 download the necessary software bits and bobs directly to it. There are other ways, but this is preferable.</LI>
49 <LI>Another cup of good, strong tea</LI>
50 <LI>If all goes according to plan, about an hour to spare</LI>
51 <LI>Plenty of good, strong tea</LI>
52 </UL>
53 <P>
54 <H2><A NAME="ss5.3">5.3 The system</A>
55 </H2>
56
57 <P>The platform I used to generate these instructions was a
58 "vanilla" Microsoft Windows Me 4.90.3000 system, with a 700MHz
59 AMD Athlon processor and 96 Mb memory. I've also personally
60 verified that it runs on my laptop (Pentium 266MHz, 32 Mb memory,
61 Windows 98 SE v4.10.2222 A) and a computer that I assembled from
62 a random pile of junk (AMD K6-2 333MHz, 64 Mb memory, Windows 98
63 v4.10.1998). As a result, I have reason to believe that what I'm
64 about to describe will perform equally on any 32-bit MS Windows
65 environment with 32 Mb of memory.
66 <P>Because of the changes that have recently been made to the core
67 "cluster.pl" module and the introduction of a very lightweight
68 "winclient.pl", I have a sneaking suspicion that this will now
69 run on any platform that has reasonably complete support for
70 Perl. Is there someone out there with both an enquiring mind and
71 (say) a Macintosh, for instance?
72 <P>Please bear in mind, though, that my instructions relate solely
73 to how to get this going under a Microsoft Windows environment,
74 and I have zero intention of trying to make them say otherwise.
75 <P>
76 <H2><A NAME="ss5.4">5.4 Perl</A>
77 </H2>
78
79 <P>Install your chosen Perl environment. Unless you have a very good
80 reason for not doing so, I strongly suggest that you use
81 ActivePerl v5.6. For my testing &amp; development, I used build 623.
82 (A recent installation used the newer ActivePerl v5.6.1, build
83 633 without any noticable difficulty.)  You can get this from:
84 <A HREF="http://www.activestate.com/Products/ActivePerl/Download.html">http://www.activestate.com/Products/ActivePerl/Download.html</A><P>The link takes you to an initial page of System Requirements and
85 Software Prerequisites.  If you do not have it already installed, 
86 you can download and install the Windows Installer 2.0 for a Win98
87 installation.  Be forewarned, you will have to reboot your PC at the
88 completion of the installer's installation.  
89 <P>If you already have the installer on your PC, simply click on the 
90 Next arrow at the bottom of the page.  Two clicks will finally get
91 you to the actual download page.  The MSI version of Build 633 is 
92 now 8.6MB in size, so make that a big cup of tea or coffee if you're
93 on a slow dial-up connection.
94 <P>During installation, please ensure that you do choose the options
95 to "Add Perl to the PATH environment variable" and "Create Perl
96 file extension association"; it will make your life so much
97 easier. Once the installation is finished, be sure to reboot your
98 PC. You probably won't be told anywhere else that this needs to
99 be done now, but it does. Really.
100 <P>Once you've rebooted, open a "DOS box" (Start > Run > command
101 might do it, if you can't find it elsewhere) and from wherever it
102 lands, type PERL -v &lt;ENTER&gt; (it's better if that's a lower-case
103 'v', because an upper-case 'V' means something else. You should
104 be rewarded with some interesting information about your Perl
105 installation. If you're not, you must go back to the beginning
106 and discover what went wrong and fix it. It's pointless to
107 proceed unless this simple check is passed. Assuming it did work,
108 you may now move on.
109 <P>
110 <H2><A NAME="ss5.5">5.5 Additional packages</A>
111 </H2>
112
113 <P>Some extensions ("packages") need to be added to the base Perl
114 distribution, and we'll do this next. If you're using the Perl I
115 recommended, and don't know any better for yourself, then just
116 blindly following these instructions will work just fine. If that
117 didn't describe you, then you're on your own.
118 <P>Visit the following URL:
119 <P>
120 <A HREF="http://www.activestate.com/PPMPackages/zips/6xx-builds-only/">http://www.activestate.com/PPMPackages/zips/6xx-builds-only/</A><P>and download the following files:-
121 <P>
122 <BLOCKQUOTE><CODE>
123 <PRE>
124 Data-Dumper.zip
125 Net-Telnet.zip
126 TimeDate.zip
127 Time-HiRes.zip
128 DB_File.zip
129 </PRE>
130 </CODE></BLOCKQUOTE>
131 <P>If this is a new installation, now would also be a good time to 
132 install a copy of WinZip on your PC.  Make yourself a convenient 
133 directory to unpack all of these zip files into (I put mine in 
134 "D:\ppm>" but "C:\ppm" works just as well.) and do the following 
135 (the bits you type in are blue ).  You can upzip all of the files into
136 the same directory.  When prompted, simply overwrite the Readme file 
137 from each zip package.  Note that where these files land will be 
138 directly related to where you chose to install your ActivePerl 
139 (mine, as you can probably guess from what follows, went into "D:\Perl"):-
140 <P>
141 <BLOCKQUOTE><CODE>
142 <PRE>
143 D:\ppm>ppm install Data-Dumper.ppd
144 Installing package 'Data-Dumper.ppd'
145 Installing D:\Perl\site\lib\auto\Data\Dumper\Dumper.bs
146 Installing D:\Perl\site\lib\auto\Data\Dumper\Dumper.dll
147 Installing D:\Perl\site\lib\auto\Data\Dumper\Dumper.exp
148 Installing D:\Perl\site\lib\auto\Data\Dumper\Dumper.lib
149 Installing D:\Perl\html\site\lib\auto\Data\Dumper\Dumper.html
150 Installing D:\Perl\site\lib\Data\Dumper\Dumper.pm
151 Writing D:\Perl\site\lib\auto\Data\Dumper\Dumper.packlist
152 D:\ppm>
153 </PRE>
154 </CODE></BLOCKQUOTE>
155 <P>I'm not going to bother you with exhaustive details of the rest
156 of them, but suffice it to say you need to:
157 <P>
158 <BLOCKQUOTE><CODE>
159 <PRE>
160 ppm install DB_File.ppd
161 ppm install Net-Telnet.ppd
162 ppm install TimeDate.ppd
163 ppm install Time-HiRes.ppd
164 </PRE>
165 </CODE></BLOCKQUOTE>
166 <P>If all that seemed to work OK, time to move along. Before anyone
167 who is familiar with PPM tells me that we didn't need to download
168 and keep those files locally, I knew that. I also knew that PPM
169 is sometimes awkward to configure via firewalls, and that
170 sometimes the repositories don't always work the way we'd hope. I
171 do it that way because it suits me.
172 <P>
173 <H2><A NAME="ss5.6">5.6 Getting Spider</A>
174 </H2>
175
176 <P>Get the current version of the DX Spider distribution. This needs
177 to be v1.50 or later. You've got two ways (currently) of getting
178 this; either get a CVS update from sourceforge (if you don't know
179 what this is, then it isn't for you) or get the latest "official"
180 release from:
181 <P>
182 <A HREF="http://www.dxcluster.org/download/index.html">http://www.dxcluster.org/download/index.html</A><P>or if you want the lastest snapshot of CVS version (which is produced 
183 every night):-
184 <P>
185 <A HREF="http://www.dxcluster.org/download/CVSlatest.tgz">http://www.dxcluster.org/download/CVSlatest.tgz</A><P>This is generally the best one to go for as it is completely up to
186 date. However, there is always the very slight chance that it might
187 unstable. Generally, there will be a note on the website if this is 
188 the case. 
189 <P>
190 <P>The only difference between "CVSlatest.tgz" and the latest
191 "official" release version is that it is more up to date. <B>Do not confuse 
192 the "CVSlatest.tgz" file with "Downloading from Sourceforge with CVS" - they
193 are two quite different things.</B>  "Downloading from Sourceforge with CVS" is
194 explained in a section within the Admin manual.
195 <P>
196 <P>If you go down the CVS route (ie installing WinCVS as explained in the Admin
197 manual and downloaded from sourceforge), then everything will be nicely
198 installed on your local disk. If you got the CVSlatest.tgz file, unzip 
199 (
200 <A HREF="http://www.winzip.com">winzip</A>) it to "C:\".  
201 This is an important point since paths are included within the .tgz 
202 file.  Make sure you unzip to the root directory of whichever drive you use...
203 "C:\" or "D:\" or .., not "C:\spider."  If you double click on CVSlatest.tgz, 
204 WinZip should open with a dialogue box that says the Archive contains a single
205 file (CVSlatest.tar) and asks whether WinZip should decompress it to a 
206 temporary fold and then open it.  Say "Yes" and then you will get the typical 
207 Classical WinZip listing of files ready for extraction.  Remember, extract 
208 them to your desired root directory ("C:\" or "D:\" or ...).  The following 
209 examples assume that you put it on drive "C:\", for convenience.
210 <P>
211 <HR>
212 <A HREF="installation-6.html">Next</A>
213 <A HREF="installation-4.html">Previous</A>
214 <A HREF="installation.html#toc5">Contents</A>
215 </BODY>
216 </HTML>