01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Starting <strong>the</strong><br />

installation<br />

Select<br />

components<br />

154<br />

��<br />

��<br />

��<br />

ous section (See Chapter 2). Now we need to teach Windows <strong>the</strong><br />

most important UNIX commands. This chore is performed by a<br />

software package called Cygwin, which luckily also offers <strong>the</strong> option<br />

of setting up <strong>the</strong> Perl interpreter and RCS.<br />

10.3.1<br />

Setting up Cygwin<br />

You will find <strong>the</strong> latest version of Cygwin as of this printing, Version<br />

1.5.12-1, on <strong>the</strong> CD included with this book. Since <strong>the</strong> package<br />

is composed of a large collection of individual programs, we have<br />

only included those programs relevant to TWiki on <strong>the</strong> CD.<br />

Note: Of course, you can also directly download <strong>the</strong> latest Cygwin<br />

files from <strong>the</strong> site http://www.cygwin.com (see Appendix A). However,<br />

<strong>the</strong> following installation instructions refer to <strong>the</strong> CD version.<br />

To set up <strong>the</strong> program, start <strong>the</strong> file setup.exe. After an introduction,<br />

you will be asked for <strong>the</strong> source of <strong>the</strong> installation. To install from<br />

<strong>the</strong> CD, select “Install from local directory.” Next, you must indicate<br />

<strong>the</strong> installation directory. We have selected c:\cygwin, and <strong>the</strong><br />

following path information relates to that directory. Fur<strong>the</strong>rmore,<br />

make sure that <strong>the</strong> “Default text file type” is set to “Unix.” This prevents<br />

any subsequent complications in TWiki when uploading files.<br />

Cygwin should be set up for all users. In <strong>the</strong> next step, you will be<br />

asked to enter a directory in which <strong>the</strong> installation files are stored.<br />

Enter [CD drive]\cygwin.<br />

Now you will see a selection window in which you can determine<br />

<strong>the</strong> components that are to be installed. In <strong>the</strong> first line that begins<br />

with “All,” click on <strong>the</strong> word “Default.” “Install” should now appear<br />

<strong>the</strong>re, and all subsequent entries should also be set to “Install” (see<br />

Fig. 10.2).<br />

Click on Continue. The required files will now be copied to <strong>the</strong><br />

installation directory and set up. Lastly, you can indicate whe<strong>the</strong>r<br />

you would like to have icons placed on your desktop and/or start<br />

menu. This completes <strong>the</strong> automatic installation of Cygwin.<br />

10 Installing TWiki

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!