--- doc/install/redhat7.3/install.pl 2003/01/07 20:46:19 1.16 +++ doc/install/redhat7.3/install.pl 2003/01/12 19:07:28 1.19 @@ -2,7 +2,7 @@ # The LearningOnline Network # Red Hat 7.3 installation script # -# $Id: install.pl,v 1.16 2003/01/07 20:46:19 matthew Exp $ +# $Id: install.pl,v 1.19 2003/01/12 19:07:28 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -261,7 +261,8 @@ my @php_rpms = ("php-imap-4.1.2-7", "asp2php-0.76.2-1", "php-ldap-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"); foreach my $php_rpm (@php_rpms) { @@ -361,9 +362,9 @@ print_and_log("\n"); ## Set up mysql ## print_and_log("Setting mysqld to start on boot up.\n"); -system("chkconfig --add mysqld"); -system("chkconfig mysqld on"); -&writelog(`chkconfig --list mysqld`); +system("/sbin/chkconfig --add mysqld"); +system("/sbin/chkconfig mysqld on"); +&writelog(`/sbin/chkconfig --list mysqld`); writelog("mysql links created successfully\n"); writelog(`/etc/rc.d/init.d/mysqld start`); @@ -412,22 +413,23 @@ close MYSQL; print_and_log("\n"); ## -## Modify the firewall, if it exists +## Remove the firewall. ## -#system("chkconfig ipchains off"); -#system("/etc/init.d/ipchains stop"); -#system("chkconfig iptables on"); -#system("/etc/init.d/iptables start"); - -#"-A input -s 0/0 -d 0/0 8080 -p tcp -y -j ACCEPT", -#"-A input -s 0/0 -d 0/0 5663 -p tcp -y -j ACCEPT" - +system("/sbin/chkconfig ipchains off"); +system("/etc/init.d/ipchains stop"); +system("/sbin/chkconfig iptables off"); +system("/etc/init.d/iptables stop"); + +# 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 5663 -p tcp -y -j ACCEPT" +# Someday we will deal with iptables, too. Soon. ## ## Set up httpd ## print_and_log("Setting httpd to start on boot up.\n"); -system("chkconfig httpd on"); +system("/sbin/chkconfig httpd on"); ## ## Copy our (probably lousy) httpd.conf to its rightful place