84 chkconfig --list httpd 85 chkconfig httpd on 86 chkconfig mysqld on 87 /etc/init.d/httpd start 88 /etc/init.d/mysqld start 89 mysqladmin -u root password ***** /* below failed, so login and use grants */ 90 mysqladmin -u root@localhost password ***** 91 mysql -u root -p >grant all on *.* to root@'%' IDENTIFIED by '*****' with grant option; >quit; exit /* as user again */ 100 cd /home/me 101 mkdir rt3 102 cd ./rt3 103 wget http://www.tlviewer.org/rt3/fileset 104 wget -i fileset /* now super user in same directory */ su 105 rpm --import RPM-GPG-KEY-mpryor /* with a 10Mb/s cable this step takes less than 5 minutes (9.9 MB) */ 106 yum localinstall -y *.rpm 107 tail -n 70 /var/log/yum.log 108 history /* not sure this is needed any longer */ groupadd rt useradd -g rt -c "RT User" -d /dev/null -s /sbin/nologin rt /* setup config before restarting httpd */ 119 nano /etc/rt3/RT_SiteConfig.pm /* pull (^C) in a known working template and tailor for new env. */ perl -c /etc/rt3/RT_SiteConfig.pm /etc/rt3/RT_SiteConfig.pm syntax OK 120 /etc/init.d/httpd restart 123 /etc/init.d/mysqld restart /* services should start without error; if they don't, then check logs. */ 125 tail /var/log/httpd/error_log /* if errors, edit config again, then rerun perl syntax check */ 126 nano /etc/rt3/RT_SiteConfig.pm /* note that config was done before db init! */ 127 rt-setup-database --help 130 rt-setup-database --action init --dba root --prompt-for-dba-password /* made error so drop and try again */ 132 rt-setup-database --action drop --dba root --prompt-for-dba-password 133 /etc/init.d/mysqld restart 134 rt-setup-database --action init --dba root --prompt-for-dba-password 135 /etc/init.d/mysqld restart 136 /etc/init.d/httpd restart /* now login to the rt3 site in firefox and change the root password! */