version 1.18, 2003/01/08 02:48:01
|
version 1.20, 2003/04/30 20:59:57
|
Line 147 END
|
Line 147 END
|
print <<"END"; |
print <<"END"; |
******************************************************************** |
******************************************************************** |
|
|
Welcome to LON-CAPA 0.6.0 |
Welcome to LON-CAPA |
|
|
This script will install the base software that LON-CAPA needs to |
This script will install the base software that LON-CAPA needs to |
run properly. |
run properly. |
Line 261 my @php_rpms = ("php-imap-4.1.2-7",
|
Line 261 my @php_rpms = ("php-imap-4.1.2-7",
|
"asp2php-0.76.2-1", |
"asp2php-0.76.2-1", |
"php-ldap-4.1.2-7", |
"php-ldap-4.1.2-7", |
"php-devel-4.1.2-7", |
"php-devel-4.1.2-7", |
"php-4.1.2-7"); |
"php-4.1.2-7", |
|
"php-pgsql-4.1.2-7"); |
|
|
&print_and_log("Removing php packages"); |
&print_and_log("Removing php packages"); |
foreach my $php_rpm (@php_rpms) { |
foreach my $php_rpm (@php_rpms) { |
Line 416 print_and_log("\n");
|
Line 417 print_and_log("\n");
|
## |
## |
system("/sbin/chkconfig ipchains off"); |
system("/sbin/chkconfig ipchains off"); |
system("/etc/init.d/ipchains stop"); |
system("/etc/init.d/ipchains stop"); |
system("/sbin/chkconfig iptables on"); |
system("/sbin/chkconfig iptables off"); |
system("/etc/init.d/iptables start"); |
system("/etc/init.d/iptables stop"); |
|
|
# Someday we will add these to /etc/sysconfig/ipchains. |
# Someday we will add these to /etc/sysconfig/ipchains. |
# "-A input -s 0/0 -d 0/0 8080 -p tcp -y -j ACCEPT", |
# "-A input -s 0/0 -d 0/0 8080 -p tcp -y -j ACCEPT", |