version 1.7, 2000/11/21 15:22:29
|
version 1.12, 2000/12/28 23:52:32
|
Line 14 system('lynx -source http://install.lon-
|
Line 14 system('lynx -source http://install.lon-
|
system('rpm -Uvh --force wget-1.5.3-6.i386.rpm'); |
system('rpm -Uvh --force wget-1.5.3-6.i386.rpm'); |
|
|
# download SupplementalRPMS and install |
# download SupplementalRPMS and install |
system('wget','-r','http://install.lon-capa.org/3.1/SupplementalRPMS'); |
system('wget','-r','-np','http://install.lon-capa.org/3.1/SupplementalRPMS'); |
system('rpm -Uvh --force install.lon-capa.org/3.1/SupplementalRPMS/*.rpm'); |
system('rpm -Uvh --force install.lon-capa.org/3.1/SupplementalRPMS/*.rpm'); |
|
|
# download remove_extra.sh and run |
# download remove_extra.sh and run |
system('wget','http://install.lon-capa.org/3.1/scripts/remove_extra.sh'); |
system('wget','-r','-np','http://install.lon-capa.org/3.1/scripts/remove_extra.sh'); |
system('sh','./remove_extra.sh'); |
system('sh','./remove_extra.sh'); |
|
|
# download FinalRPMS and install |
# download FinalRPMS and install |
system('wget','-r','http://install.lon-capa.org/3.1/FinalRPMS'); |
system('wget','-r','-np','http://install.lon-capa.org/3.1/FinalRPMS'); |
system('rpm -Uvh --force install.lon-capa.org/3.1/FinalRPMS/*.rpm'); |
system('rpm -Uvh --force install.lon-capa.org/3.1/FinalRPMS/*.rpm'); |
|
|
my $okay=0; |
my $okay=0; |
Line 39 DEV: while ($okay==0) {
|
Line 39 DEV: while ($okay==0) {
|
if (!$okay) { |
if (!$okay) { |
system('wget','http://install.lon-capa.org/3.1/scripts/remove_extra_dev.sh'); |
system('wget','http://install.lon-capa.org/3.1/scripts/remove_extra_dev.sh'); |
system('sh','./remove_extra_dev.sh'); |
system('sh','./remove_extra_dev.sh'); |
|
$template=`/bin/cat /etc/inittab`; |
|
$template=~s|id:5:initdefault:|id:3:initdefault:|; |
|
open OUT, ">/etc/inittab"; |
|
print OUT $template; |
|
close OUT; |
} |
} |
|
|
# allow entry of new access.conf parameters |
# allow entry of new access.conf parameters |
Line 211 print OUT <<END;
|
Line 216 print OUT <<END;
|
AFPD_MAX_CLIENTS=5 |
AFPD_MAX_CLIENTS=5 |
# Change this to set the machine's atalk name: |
# Change this to set the machine's atalk name: |
# ATALK_NAME=`echo \${HOSTNAME}|cut -d. -f1` |
# ATALK_NAME=`echo \${HOSTNAME}|cut -d. -f1` |
ATALK_NAME=`grep '^PerlSetVar.*lonHostID' /etc/httpd/conf/access.conf | perl -e '\$_=<>; split(/\s+/); print "LONCAPA_\$_[2]"; |
ATALK_NAME=`grep '^PerlSetVar.*lonHostID' /etc/httpd/conf/access.conf | perl -e '\$_=<>; split(/\\s+/); print "LONCAPA_\$_[2]"; |
'` |
'` |
# Set which daemons to run: |
# Set which daemons to run: |
PAPD_RUN=no |
PAPD_RUN=no |