source: trunk/gsdl/Install.sh@ 1465

Last change on this file since 1465 was 1465, checked in by sjboddie, 24 years ago

* empty log message *

  • Property svn:executable set to *
  • Property svn:mime-type set to application/octet-stream
File size: 18.5 KB
Line 
1#!/bin/sh
2
3## install.sh -- install Greenstone
4
5cmd_cp="cp"
6cmd_cpr="cp -r"
7cmd_chmod="chmod"
8cmd_mkdir="mkdir -p"
9cmd_ln="ln -s"
10cmd_mv="mv"
11cmd_rm="rm -i"
12cmd_rmr="rm -r"
13
14thisdir=`pwd`
15cd ..
16cd_dir=`pwd`
17cd "$thisdir"
18
19# script must be run from within cdrom/unix directory
20if [ ! -f "${thisdir}/install.sh" ]; then
21 echo "install.sh must be run from the directory in which it resides"
22 echo "Greenstone was not installed"
23 exit 1
24fi
25
26# check that various important directories are on the cd
27if [ ! -d "${cd_dir}/gsdl" ]; then
28 echo
29 echo "ERROR: Could not locate ${cd_dir}/gsdl"
30 echo "Greenstone was not installed"
31 exit 1
32fi
33if [ ! -d "${cd_dir}/Unix/bin/linux" ]; then
34 echo
35 echo "ERROR: Could not locate ${cd_dir}/Unix/bin/linux"
36 echo "Greenstone was not installed"
37 exit 1
38fi
39
40
41# install to /usr/local by default if user is "root", otherwise
42# default to users home directory
43gsdlos=`uname | tr A-Z a-z`
44if [ "$gsdlos" = "linux" ]; then
45 logname=`whoami`
46else
47 logname=""
48fi
49if [ "$logname" = "" ]; then
50 logname=`logname`
51fi
52gsdlhome="/home/${logname}"
53if [ "$logname" = "root" ]; then
54 gsdlhome="/usr/local"
55fi
56
57# get gsdlhome
58echo
59echo "This script will install Greenstone on your system. Please read"
60echo "the INSTALL file that resides in the same directory as this script"
61echo "before installing."
62echo
63echo "Note that when prompted for input, hitting \"enter\" will select"
64echo "the default (given in square brackets [] at the end of each question)."
65echo
66echo "Note also that install.sh prints out information on any commands"
67echo "it runs on your system in the form \"--> install.sh: [command]\"."
68echo
69echo "It is assumed throughout this installation procedure that you"
70echo "have a webserver installed on your system."
71echo
72echo "Continue? [y]"
73printf "%s" "> "
74read ans
75if [ "$ans" != "" ] && [ "$ans" != "y" ]; then
76 echo "Greenstone was not installed"
77 exit 0
78fi
79
80echo
81echo "Enter directory to install Greenstone into. A gsdl directory"
82echo "will be created in this directory. [${gsdlhome}]"
83printf "%s" "> "
84read ans
85if [ "$ans" != "" ]; then
86 gsdlhome="$ans"
87fi
88
89if [ ! -d "$gsdlhome" ]; then
90 echo "Warning: The ${gsdlhome} directory does not exist."
91 echo "Create it? [y]"
92 printf "%s" "> "
93 read ans
94 if [ "$ans" = "" ]; then
95 ans="y"
96 fi
97 if [ "$ans" = "y" ]; then
98 echo "--> install.sh: [$cmd_mkdir \"$gsdlhome\"]"
99 $cmd_mkdir "$gsdlhome"
100 if [ ! -d "$gsdlhome" ]; then
101 echo "ERROR: failed to create $gsdlhome directory"
102 echo "Greenstone was not installed"
103 exit 1
104 fi
105 else
106 echo "Greenstone was not installed"
107 exit 0
108 fi
109fi;
110
111
112# from now on $gsdlhome includes the "/gsdl"
113gsdlhome="${gsdlhome}/gsdl"
114
115echo "--> install.sh: [$cmd_mkdir \"${gsdlhome}\"]"
116$cmd_mkdir "$gsdlhome"
117if [ ! -d "$gsdlhome" ]; then
118 echo "ERROR: failed to create $gsdlhome directory"
119 echo "Greenstone was not installed"
120 exit 1
121fi
122
123# create initial uninstall.sh
124cd "$gsdlhome"
125echo "#!/bin/sh" > uninstall.sh
126echo "" >> uninstall.sh
127echo "echo \"remove ${gsdlhome} directory? [y]\"" >> uninstall.sh
128echo "read ans" >> uninstall.sh
129echo "if [ \"\$ans\" = \"\" ] || [ \"\$ans\" = \"y\" ]; then" >> uninstall.sh
130echo " $cmd_rmr \"$gsdlhome\"" >> uninstall.sh
131echo "fi" >> uninstall.sh
132$cmd_chmod u+x uninstall.sh
133cd "$thisdir"
134
135echo
136echo "If this installation fails or is cancelled, run the uninstall"
137echo "script (${gsdlhome}/uninstall.sh) to clean up the partial"
138echo "installation."
139echo "Continue? [y]"
140printf "%s" "> "
141read ans
142if [ "$ans" != "" ] && [ "$ans" != "y" ]; then
143 echo "Greenstone was not installed"
144 exit 0
145fi
146
147echo
148echo "Installing Greenstone directory structure to ${gsdlhome}"
149# copy gsdl directory across
150echo "--> install.sh: [$cmd_cpr \"${cd_dir}/gsdl/\"* \"$gsdlhome\"]"
151$cmd_cpr "${cd_dir}/gsdl/"* "$gsdlhome"
152
153# copy setup shell scripts across too
154echo "--> install.sh: [$cmd_cp \"${cd_dir}/src/Unix/setup.\"* \"$gsdlhome\"]"
155$cmd_cp "${cd_dir}/src/Unix/setup."* "$gsdlhome"
156
157# create the tmp directory
158echo "--> install.sh: [$cmd_mkdir \"$gsdlhome/tmp\"]"
159$cmd_mkdir "$gsdlhome/tmp"
160
161
162# which collections do we want
163cd "${cd_dir}/collect"
164files=*
165first="yes"
166for file in $files
167do
168 if [ "$first" = "yes" ]; then
169 echo
170 echo "The Greenstone demonstration collection has been installed. Would you"
171 echo "like to install any other collections from the installation cd-rom? [y]"
172 read ans
173 if [ "$ans" != "" ] && [ "$ans" != "y" ]; then
174 break
175 fi
176 first="no"
177 fi
178
179 echo
180 echo "Install the $file collection? [y]"
181 printf "%s" "> "
182 read ans
183 if [ "$ans" = "" ] || [ "$ans" = "y" ]; then
184 echo "--> install.sh: [$cmd_cpr \"${cd_dir}/collect/$file\" \"${gsdlhome}/collect\"]"
185 $cmd_cpr "${cd_dir}/collect/$file" "${gsdlhome}/collect"
186 fi
187done
188
189# set permissions
190echo
191echo "Setting permissions ..."
192echo "--> install.sh: [$cmd_chmod -R u+rw \"$gsdlhome\"]"
193$cmd_chmod -R u+rw "$gsdlhome"
194# gsdl/etc needs to be globally writable
195echo "--> install.sh: [$cmd_chmod a+w \"$gsdlhome/etc\"]"
196$cmd_chmod a+w "$gsdlhome/etc"
197
198# should gsdl/collect and gsdl/tmp be globally writable?
199echo
200echo "In order for end-user collection building to be enabled the"
201echo "Greenstone cgi program must be able to write to the"
202echo "${gsdlhome}/collect and ${gsdlhome}/tmp directories."
203echo "On most systems this means they must be globally writable."
204echo "Make these directories globally writable? [y]"
205printf "%s" "> "
206read ans
207if [ "$ans" = "" ] || [ "$ans" = "y" ]; then
208 echo "--> install.sh: [$cmd_chmod a+w \"$gsdlhome/collect\"]"
209 $cmd_chmod a+w "$gsdlhome/collect"
210 echo "--> install.sh: [$cmd_chmod a+w \"$gsdlhome/tmp\"]"
211 $cmd_chmod a+w "$gsdlhome/tmp"
212fi
213
214# binaries or source code?
215compile="yes"
216if [ "$gsdlos" = "linux" ]; then
217 echo
218 echo "You may either install pre-compiled, statically linked linux [b]inaries"
219 echo "or install and [c]ompile the Greenstone source code"
220
221 found=no
222 while [ "$found" = "no" ]; do
223 echo "Enter \"[b]\" or \"c\""
224 printf "%s" "> "
225 read ans
226 if [ "$ans" = "" ]; then
227 ans="b"
228 fi
229 if [ "$ans" = "b" ]; then
230 compile="no"
231 # install binaries
232 echo
233 echo "Installing linux binaries"
234 echo "--> install.sh: [$cmd_cpr \"${cd_dir}/Unix/bin/linux\" \"${gsdlhome}/bin\" ]"
235 $cmd_cpr "${cd_dir}/Unix/bin/linux" "${gsdlhome}/bin"
236 echo "--> install.sh: [$cmd_chmod a+x \"${gsdlhome}/bin/linux/\"*]"
237 $cmd_chmod a+x "${gsdlhome}/bin/linux/"*
238 echo "--> install.sh: [$cmd_chmod -R u+rw \"${gsdlhome}/bin/linux\"]"
239 $cmd_chmod -R u+rw "${gsdlhome}/bin/linux"
240
241 # move library executable to cgi-bin
242 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/bin/linux/library\" \"${gsdlhome}/cgi-bin\"]"
243 $cmd_mv "${gsdlhome}/bin/linux/library" "${gsdlhome}/cgi-bin"
244
245 found="yes"
246 elif [ "$ans" = "c" ]; then
247 found="yes"
248 fi
249 done
250fi
251
252if [ "$compile" = "yes" ]; then
253 # install source
254 echo
255 echo "Installing source code"
256 echo "--> install.sh [$cmd_cpr \"${cd_dir}/src/lib\" \"$gsdlhome\"]"
257 $cmd_cpr "${cd_dir}/src/lib" "$gsdlhome"
258 echo "--> install.sh [$cmd_cpr \"${cd_dir}/src/packages\" \"$gsdlhome\"]"
259 $cmd_cpr "${cd_dir}/src/packages" "$gsdlhome"
260 echo "--> install.sh [$cmd_cpr \"${cd_dir}/src/src\" \"$gsdlhome\"]"
261 $cmd_cpr "${cd_dir}/src/src" "$gsdlhome"
262 echo "--> install.sh [$cmd_cpr \"${cd_dir}/src/Unix/\"* \"$gsdlhome\"]"
263 $cmd_cpr "${cd_dir}/src/Unix/"* "$gsdlhome"
264
265 # compile it
266 echo "--> install.sh: [cd $gsdlhome]"
267 cd "$gsdlhome"
268 echo "configuring ..."
269 echo
270 echo "--> install.sh: [./configure]"
271 ./configure
272 echo "compiling ..."
273 echo
274 echo "--> install.sh: [make]"
275 make
276 echo "installing ..."
277 echo
278 echo "--> install.sh: [make install]"
279 make install
280 echo "--> install.sh: [cd $thisdir]"
281 cd "$thisdir"
282
283 # check that things compiled ok
284 if [ ! -f "${gsdlhome}/cgi-bin/library" ]; then
285 echo
286 echo "ERROR: Compilation failed"
287 echo "Greenstone was not installed successfully"
288 echo "Run the uninstall script (${gsdlhome}/uninstall.sh)"
289 echo "to clean up the partial installation."
290 exit 1
291 fi
292fi
293
294
295# try to find out hostname
296if [ "$gsdlos" = "linux" ]; then
297 hostname=`hostname -f`
298 if [ "$hostname" = "" ]; then
299 hostname=`hostname -i`
300 fi
301fi
302if [ "$hostname" = "" ]; then
303 hostname=`hostname`
304fi
305if [ "$hostname" = "" ]; then
306 hostname="your-computer-name"
307fi
308
309
310# get cgi-bin directory
311echo
312echo
313echo "Greenstone needs a valid cgi executable directory (normally called"
314echo "cgi-bin on unix systems) from which to run."
315echo "This may be either:"
316echo " 1. The default Greenstone cgi-bin directory (${gsdlhome}/cgi-bin)."
317echo " If you use the Greenstone default you will need to configure"
318echo " your webserver to treat this directory as a cgi executable"
319echo " directory. For the Apache webserver you use the ScriptAlias"
320echo " directive to do this."
321if [ "$logname" != "root" ]; then
322echo " Note that you will probably need help from your system"
323echo " administrator to reconfigure your webserver."
324fi
325echo " 2. An existing cgi-bin directory. Normally a cgi-bin directory"
326echo " is created when your webserver is installed. Typically, this"
327echo " might be /home/httpd/cgi-bin, or /usr/local/apache/cgi-bin, or"
328echo " /var/lib/apache/cgi-bin."
329if [ "$logname" != "root" ]; then
330 echo " Many systems also allow individual users to have their own"
331 echo " cgi-bin in /home/username/public_html/cgi-bin."
332fi
333
334echo
335echo "Enter cgi executable directory [${gsdlhome}/cgi-bin]"
336printf "%s" "> "
337read ans
338if [ "$ans" = "" ]; then
339 cgi_bin="${gsdlhome}/cgi-bin"
340else
341 cgi_bin="$ans"
342fi
343
344remind_cgi="no"
345remind_cgi_nomove="no"
346if [ "$cgi_bin" = "${gsdlhome}/cgi-bin" ]; then
347 # default gsdl cgi-bin, do nothing
348 echo
349 echo "You have chosen to use the default Greenstone cgi-bin directory."
350 echo "Don't forget to configure your webserver to treat $cgi_bin"
351 echo "as a cgi executable directory."
352 remind_cgi="yes"
353else
354 # external cgi-bin
355 if [ ! -d "$cgi_bin" ]; then
356 echo "Warning: The ${cgi_bin} directory does not exist."
357 echo "Create it? [y]"
358 printf "%s" "> "
359 read ans
360 if [ "$ans" = "" ] || [ "$ans" = "y" ]; then
361 echo "--> install.sh: [$cmd_mkdir \"$cgi_bin\"]"
362 $cmd_mkdir "$cgi_bin"
363 if [ -d "$cgi_bin" ]; then
364 echo "Don't forget to configure your webserver to treat $cgi_bin"
365 echo "as a cgi executable directory."
366 remind_cgi="yes"
367 else
368 echo "ERROR: failed to create $cgi_bin directory"
369 echo "Greenstone installation failed."
370 echo "Run the uninstall script (${gsdlhome}/uninstall.sh)"
371 echo "to clean up the partial installation."
372 exit 1
373 fi
374 fi
375 fi
376
377 if [ ! -w "$cgi_bin" ]; then
378 echo
379 echo "Unable to write to $cgi_bin directory. You will need"
380 echo "to copy the contents of ${gsdlhome}/cgi-bin"
381 echo "to $cgi_bin after this installation is completed."
382 remind_cgi_nomove="yes"
383 else
384 # install cgi-bin stuff (update the uninstall script first)
385 cd "$gsdlhome"
386 echo "#!/bin/sh" > uninstall.sh
387 echo "" >> uninstall.sh
388 echo "$cmd_rm \"${cgi_bin}/GSDLHOME.pm\"" >> uninstall.sh
389 echo "$cmd_rm \"${cgi_bin}/gsdlsite.cfg\"" >> uninstall.sh
390 echo "$cmd_rm \"${cgi_bin}/library\"" >> uninstall.sh
391 echo "$cmd_rm \"${cgi_bin}/webpage_buildcol.pl\"" >> uninstall.sh
392 echo "$cmd_rm \"${cgi_bin}/webpage_buildstatus.pl\"" >> uninstall.sh
393 echo "$cmd_rm \"${cgi_bin}/webpage_delcol.pl\"" >> uninstall.sh
394 echo "$cmd_rm \"${cgi_bin}/webpage_editcol.pl\"" >> uninstall.sh
395 echo "$cmd_rm \"${cgi_bin}/webpage_mkcol.pl\"" >> uninstall.sh
396 echo "echo \"remove ${gsdlhome} directory? [y]\"" >> uninstall.sh
397 echo "read ans" >> uninstall.sh
398 echo "if [ \"\$ans\" = \"\" ] || [ \"\$ans\" = \"y\" ]; then" >> uninstall.sh
399 echo " $cmd_rmr \"$gsdlhome\"" >> uninstall.sh
400 echo "fi" >> uninstall.sh
401 $cmd_chmod u+x uninstall.sh
402 cd "$thisdir"
403
404 echo
405 echo "Installing Greenstone cgi programs in $cgi_bin"
406 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/GSDLHOME.pm\" \"$cgi_bin\"]"
407 $cmd_mv "${gsdlhome}/cgi-bin/GSDLHOME.pm" "$cgi_bin"
408 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/gsdlsite.cfg\" \"$cgi_bin\"]"
409 $cmd_mv "${gsdlhome}/cgi-bin/gsdlsite.cfg" "$cgi_bin"
410 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/library\" \"$cgi_bin\"]"
411 $cmd_mv "${gsdlhome}/cgi-bin/library" "$cgi_bin"
412 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/webpage_buildcol.pl\" \"$cgi_bin\"]"
413 $cmd_mv "${gsdlhome}/cgi-bin/webpage_buildcol.pl" "$cgi_bin"
414 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/webpage_buildstatus.pl\" \"$cgi_bin\"]"
415 $cmd_mv "${gsdlhome}/cgi-bin/webpage_buildstatus.pl" "$cgi_bin"
416 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/webpage_delcol.pl\" \"$cgi_bin\"]"
417 $cmd_mv "${gsdlhome}/cgi-bin/webpage_delcol.pl" "$cgi_bin"
418 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/webpage_editcol.pl\" \"$cgi_bin\"]"
419 $cmd_mv "${gsdlhome}/cgi-bin/webpage_editcol.pl" "$cgi_bin"
420 echo "--> install.sh: [$cmd_mv \"${gsdlhome}/cgi-bin/webpage_mkcol.pl\" \"$cgi_bin\"]"
421 $cmd_mv "${gsdlhome}/cgi-bin/webpage_mkcol.pl" "$cgi_bin"
422 fi
423fi
424
425# web address of cgi-bin
426web_cgi="http://${hostname}/cgi-bin"
427echo
428echo "Please enter the web address of the $cgi_bin"
429echo "directory. Typically this might be http://localhost/cgi-bin,"
430echo "or http://127.0.0.1/cgi-bin, or http://your-computer-name/cgi-bin,"
431echo "or http://nnn.nnn.nnn.nn/cgi-bin. [http://${hostname}/cgi-bin]"
432printf "%s" "> "
433read ans
434if [ "$ans" != "" ]; then
435 web_cgi="$ans"
436fi
437
438# get public_html directory
439echo
440echo
441echo "In order for Greenstone to run, the $gsdlhome"
442echo "directory and all it contains must be accessible from the web."
443echo "To make this happen you may either:"
444echo " 1. Configure your webserver so that $gsdlhome"
445echo " is itself accessible from the web."
446if [ "$logname" != "root" ]; then
447echo " Note that you will probably need help from your system"
448echo " administrator to reconfigure your webserver."
449fi
450echo " 2. Provide an existing web accessible directory from which"
451echo " a symbolic link will be made to $gsdlhome."
452echo " When your server was installed a web accessible directory"
453echo " will have been created (the Apache webserver uses the"
454echo " DocumentRoot directive to define this directory). Typically"
455echo " this directory might be /home/httpd/html, or /usr/local/apache/html,"
456echo " or /var/lib/apache/html."
457if [ "$logname" != "root" ]; then
458 echo " Many systems also allow individual users to have their own"
459 echo " web accessible directory in /home/username/public_html."
460fi
461echo " Note that your web server will need to be configured to allow"
462echo " symbolic links from within this directory. For the Apache"
463echo " server that means this directory must be configured with"
464echo " the SymLinksIfOwnerMatch or FollowSymLinks option (most Apache"
465echo " installations are configured this way by default)."
466echo
467echo "Enter web accessible directory [${gsdlhome}]"
468printf "%s" "> "
469read ans
470if [ "$ans" = "" ]; then
471 public_html="$gsdlhome"
472else
473 public_html="$ans"
474fi
475
476remind_ph="no"
477remind_ph_nolink="no"
478if [ "$public_html" = "$gsdlhome" ]; then
479 # no link
480 echo
481 echo "You have chosen to make the main Greenstone directory accessible"
482 echo "from the web. Don't forget to configure your webserver to make"
483 echo "$gsdlhome accessible after the completion of this"
484 echo "installation."
485 remind_ph="yes"
486else
487 # external public_html
488 # create link to gsdl (and update uninstall.sh)
489 if [ -w "$public_html" ]; then
490 cd "$gsdlhome"
491 echo "#!/bin/sh" > uninstall.sh
492 echo "" >> uninstall.sh
493 echo "$cmd_rm \"$public_html/gsdl\"" >> uninstall.sh
494 echo "$cmd_rm \"${cgi_bin}/GSDLHOME.pm\"" >> uninstall.sh
495 echo "$cmd_rm \"${cgi_bin}/gsdlsite.cfg\"" >> uninstall.sh
496 echo "$cmd_rm \"${cgi_bin}/library\"" >> uninstall.sh
497 echo "$cmd_rm \"${cgi_bin}/webpage_buildcol.pl\"" >> uninstall.sh
498 echo "$cmd_rm \"${cgi_bin}/webpage_buildstatus.pl\"" >> uninstall.sh
499 echo "$cmd_rm \"${cgi_bin}/webpage_delcol.pl\"" >> uninstall.sh
500 echo "$cmd_rm \"${cgi_bin}/webpage_editcol.pl\"" >> uninstall.sh
501 echo "$cmd_rm \"${cgi_bin}/webpage_mkcol.pl\"" >> uninstall.sh
502 echo "echo \"remove ${gsdlhome} directory? [y]\"" >> uninstall.sh
503 echo "read ans" >> uninstall.sh
504 echo "if [ \"\$ans\" = \"\" ] || [ \"\$ans\" = \"y\" ]; then" >> uninstall.sh
505 echo " $cmd_rmr \"$gsdlhome\"" >> uninstall.sh
506 echo "fi" >> uninstall.sh
507 $cmd_chmod u+x uninstall.sh
508 cd "$thisdir"
509
510 echo "--> install.sh: [cd \"$public_html\"]"
511 cd "$public_html"
512 echo "--> install.sh: [$cmd_ln \"$gsdlhome\" gsdl]"
513 $cmd_ln "$gsdlhome" gsdl
514 echo "--> install.sh: [cd \"$thisdir\"]"
515 cd "$thisdir"
516 else
517 echo
518 echo "Unable to write to $public_html directory. You will need"
519 echo "to create a link called gsdl from $public_html to"
520 echo "$gsdlhome after this installation is completed."
521 old_ph=$public_html
522 remind_ph_nolink="yes"
523 fi
524 public_html="${public_html}/gsdl"
525fi
526
527
528# get httpprefix
529echo
530echo "Enter the web address of the $public_html directory."
531echo "This may be a relative url (e.g. \"/gsdl\") or a"
532echo "complete url (e.g. \"http://${hostname}/gsdl\") [/gsdl]"
533printf "%s" ">"
534httpprefix="/gsdl"
535read ans
536if [ "$ans" != "" ]; then
537 httpprefix="$ans"
538fi
539
540# edit gsdlsite.cfg
541cd "$cgi_bin"
542sed "s|\(gsdlhome *\)[^ ]*|\1${gsdlhome}|" gsdlsite.cfg > tmp123.txt && $cmd_mv tmp123.txt gsdlsite.cfg
543sed "s|#*\(httpprefix *\)[^ ]*|\1${httpprefix}|" gsdlsite.cfg > tmp123.txt && $cmd_mv tmp123.txt gsdlsite.cfg
544sed "s|\(httpimg *\)[^ ]*|\1${httpprefix}/images|" gsdlsite.cfg > tmp123.txt && $cmd_mv tmp123.txt gsdlsite.cfg
545
546echo
547echo
548echo "Greenstone installation completed successfully."
549if [ "$remind_cgi" = "yes" ]; then
550 echo " * Don't forget to configure your webserver to treat"
551 echo " $cgi_bin as a cgi executable directory."
552fi
553if [ "$remind_cgi_nomove" = "yes" ]; then
554 echo " * Don't forget to move the contents of ${gsdlhome}/cgi-bin"
555 echo " to $cgi_bin"
556fi
557if [ "$remind_ph" = "yes" ]; then
558 echo " * Don't forget to configure your webserver to treat"
559 echo " $gsdlhome as a web accessible directory."
560fi
561if [ "$remind_ph_nolink" = "yes" ]; then
562 echo " * Don't forget to create a link called gsdl from $old_ph"
563 echo " to ${gsdlhome}."
564fi
565echo "You may remove Greenstone from your system at any time by running"
566echo "the ${gsdlhome}/uninstall.sh script."
567echo "Access Greenstone by pointing a web browser at"
568echo " ${web_cgi}/library"
569echo "Access administration pages by pointing a web browser at"
570echo " ${web_cgi}/library?a=status"
571echo "Access end-user collection building by pointing a web browser at"
572echo " ${web_cgi}/library?a=collector"
573echo
574
575exit 0
Note: See TracBrowser for help on using the repository browser.