#Generated by Kickstart Configurator #System language lang en_US.UTF-8 #Language modules to install langsupport --default en_US.UTF-8 en_US.UTF-8 #System keyboard keyboard us #System mouse mouse none #System timezone timezone --utc America/New_York #Root password rootpw --iscrypted $1$BG8gxB65$nVPdKjsO7.NHkikMwHntR. #Reboot after installation reboot #Use text mode install text #System bootloader configuration bootloader --location=mbr #Install Red Hat Linux instead of upgrade install #Use FTP installation media url --url http://66.118.190.30/redhat/9/en/os/i386 #Clear the Master Boot Record zerombr yes #Clear all partitions from the disk clearpart --all --initlabel #Disk partitioning information: none, manual #Use DHCP networking network --device eth0 --bootproto dhcp #System authorization information auth --useshadow --enablemd5 #Firewall configuration firewall --disabled #Do not configure the X Window System skipx %packages @ Administration Tools @ Development Tools @ Editors @ Kernel Development @ Network Servers @ Server Configuration Tools @ System Tools @ Text-based Internet @ Web Server ncftp mc expect perl-DBD-MySQL perl-DBI mysql nc dtach lynx mysql-server perl-CGI php php-mysql php-devel -bind -caching-nameserver -ypbind -yp-tools -ypserv -redhat-config-bind -kernel-source -ethereal -tux -sendmail -postfix -mutt -fetchmail -webalizer %post echo > /etc/resolv.conf echo "search " >> /etc/resolv.conf echo "nameserver 127.0.0.1" >> /etc/resolv.conf echo "#IPADDR=" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "#NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "#GATEWAY=" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "#NETWORK=" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "#BROADCAST=" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "#IPADDR_START=" >> /etc/sysconfig/network-scripts/ifcfg-eth0-range0 echo "#IPADDR_END=" >> /etc/sysconfig/network-scripts/ifcfg-eth0-range0 echo "#CLONENUM_START=1" >> /etc/sysconfig/network-scripts/ifcfg-eth0-range0 echo "#NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0-range0 echo "#BROADCAST=" >> /etc/sysconfig/network-scripts/ifcfg-eth0-range0 ##### ## BEGIN INTERWORX ##### # install interworx # # replace curl rpm -Uvh http://66.118.190.30/redhat/iworx/9/contrib/curl-ssl-7.10.4-2.i386.rpm rpm -Uvh --force http://66.118.190.30/redhat/iworx/9/contrib/curl-ssl-devel-7.10.4-2.i386.rpm ## perl zip libs rpm -ivh http://66.118.190.30/redhat/9/en/os/i386/RedHat/RPMS/perl-Compress-Zlib-1.16-11.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/perl-Archive-Zip-1.06-1.noarch.rpm ## standard RPMs rpm -Uvh http://66.118.190.30/redhat/iworx/9/contrib/httpd-2.0.40-21.5.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/httpd-devel-2.0.40-21.5.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/httpd-manual-2.0.40-21.5.iworx.i386.rpm rpm -ivh http://66.118.190.30/redhat/iworx/9/contrib/rrdtool-1.0.39-1.7.2.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/yum-2.0.4-1.noarch.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/awstats-5.7-1.noarch.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/webalizer-2.01_10-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/analog-5.32-1.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/proftpd-1.2.8p-1.iworx.i386.rpm ## iworx RPMs rpm -ivh http://66.118.190.30/redhat/iworx/9/contrib/mod_watch-4.3-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/daemontools-toaster-0.76-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/daemontools-toaster-doc-0.76-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/ucspi-tcp-toaster-0.88-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/ucspi-tcp-toaster-doc-0.88-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/qmail-toaster-1.03-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/qmail-toaster-doc-1.03-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/vpopmail-toaster-5.4.0-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/vpopmail-toaster-doc-5.4.0-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/qmail-pop3d-toaster-1.03-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/courier-imap-toaster-2.1.2-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/courier-imap-toaster-doc-2.1.2-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/contrib/djbdns-1.05-1.iworx.i386.rpm rpm -ivh http://66.118.190.30/redhat/iworx/9/stock/interworx-1.7.1-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/stock/interworx-siteworx-1.7.1-1.iworx.i386.rpm \ http://66.118.190.30/redhat/iworx/9/stock/interworx-nodeworx-1.7.1-1.iworx.i386.rpm rmdir /home/interworx/var/lib/mysql # Turn on some basics chkconfig --level 345 httpd on chkconfig --level 345 mysqld on chkconfig --level 345 proftpd on chkconfig --level 345 iworx on chkconfig --level 345 smtp off chkconfig --level 345 pop3 off chkconfig --level 345 pop3-ssl off chkconfig --level 345 imap4 off chkconfig --level 345 imap4-ssl off chkconfig --level 345 djbdns off # Turn on quotas for / sed s/"LABEL=\/.*\/.*ext3.*defaults.*1 1"/"LABEL=\/\t\t\t\/\t\t\text3\tdefaults,usrquota,grpquota\t1 1"/ \ /etc/fstab > /etc/fstab.1 mv -f /etc/fstab.1 /etc/fstab mount -o remount / quotacheck -cugvmf -F vfsv0 / rm -f /root/anaconda.ks.cfg rm -f /root/install.log* # Fix Startup Scripts chkconfig --level 3 autofs off chkconfig --level 3 gpm off chkconfig --level 3 iptables off chkconfig --level 3 isdn off chkconfig --level 3 kudzu off chkconfig --level 3 netfs off chkconfig --level 3 nfslock off chkconfig --level 3 ntpd on chkconfig --level 3 pcmcia off chkconfig --level 3 portmap off chkconfig --level 3 rawdevices off chkconfig --level 3 rhnsd off chkconfig --level 3 sgi_fam off chkconfig --level 3 xfs off chkconfig --level 3 xinetd on echo "Banner /etc/issue.net" >> /etc/ssh/sshd_config