[LON-CAPA-cvs] cvs: modules /raeburn newzaphod.txt
raeburn
lon-capa-cvs@mail.lon-capa.org
Mon, 28 Mar 2005 22:52:25 -0000
raeburn Mon Mar 28 17:52:25 2005 EDT
Added files:
/modules/raeburn newzaphod.txt
Log:
Install notes/tweaks to get services running under Apache 2/mod_perl 1.99 on the zaphod replacement. Covers: bugzilla, fom, cvsweb, request tracker, ftp, mailman, freetds, mrtg, retrospect.
Index: modules/raeburn/newzaphod.txt
+++ modules/raeburn/newzaphod.txt
zaphod migration to FC3/Apache2/mod_perl 1.99
Installed FC3 -- minimal installation + Mysql and Apache.
Target: Mod_perl 1.99, Apache 2; Mysql 4.1
Copy files and directories from old zaphod.
bugzilla
still at 2.16.3
added dag.repo to /etc/yum.repo.d
yum install perl-GD (DAG repository)
ran perl -MCPAN -e 'shell'
install Bundle::Bugzilla
install Chart::Base
replace /usr/bonsaitools/perl with symlink to /usr/bin/perl
add DirectoryIndex index.cgi to
<Directory> directive in /etc/httpd/conf.d/bugzilla.conf
fom
No changes required
mailman
updated from 2.0.8 to 2.1.5
created group mailman
./configure --prefix=/home/mailman --with-mail-gid=mail --with-cgi-gid=apache
--with-mailhost
--with-urlhost
bin/check_perms -f to fix permissions.
had to chmod to 664 for files in /home/mailman/logs to get this to work
rt
had to upgrade to RT 3.4.0
Some commands to run to update database tables.
changed /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Connection.pm version number from 1.00 to 0.01
changed /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Util.pm from 1.02 to 0.01
changed /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/URI.pm from 1.00 to 0.01
changes to /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
seems confused about whether its running Apache2, based on the mod_perl value it is getting back.
modify /usr/local/rt3/share/html/Elements/Header
replace -- <td colspan=2><a href="http://bestpractical.com"><img src="<%$RT::LogoURL%>/bplogo.gif" alt="" width="230" height="50"></a></td>
with
<td colspan=2><a href="http://loncapa.org"><img src="<%$RT::RTLogoURL%>" alt="" width="75" height="51"></a></td>
cvsweb.conf - eliminate the -T directive.
had to do this for mail delivery to work
ln -s /usr/local/rt3/bin/rt-mailgate /etc/smrsh/rt-mailgate
upgraded MySQL to 4.1, removed Fedora 3.23 rpms:
rpm -e --nodeps mysql-server-3.23.58-9 mysql-3.23.58-9
got MYSQL-server, MYSQL-client and MYSQL-shared-compat ("Dynamic client libraries (including 3.23.x libraries)") from www.mysql.com Installed rpms
have to run command to fix grant tables
mysql_fix_privilege_tables --password=root_password
Now have to start using service start mysql
no /etc/init.d/mysqld any longer.
cvsweb
added fedora-extras.repo to /etc/yum.repos.d
(contains):
[fedora-stable]
name=Fedora.us Extras (Stable)
baseurl=http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.stable
http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.stable
http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/2/RPMS.stable
http://download.fedora.us/fedora/fedora/$releasever/2/RPMS.stable
gpgcheck=1
also required
rpm --import http://www.fedora.us/FEDORA-GPG-KEY
yum install cvsweb
changed /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Log.pm version number from 1.01 to 0.01 to get this to work
cvs
have to scp both /home/cvs and /var/cvs
cvspserver
ftpmirror
yum install proftpd
had to configure /etc/proftpd.conf
have to create separate user ftpmirror so that /etc/passwd for ftpmirror can be left with /etc/ftponly as login shell.
add entry to /etc/sysconfig/iptables so that traffic is allowed on port 21
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
edit /etc/sysconfig/iptables-config so
IPTABLES_MODULES="ip_conntrack_ftp"
automatically loads required kernel module on reboot or iptables restart
retrospect
rpm -Uvh retroclient-60.rpm
set password
freetds
yum install gcc-c++
freetds-0.62.4 ./configure --prefix=/usr/local/freetds --with-tdsver=4.2
DBD::Sybase 1.04. Modify $sybase_dir = '/usr/local/freetds'
copied /usr/local/freetds_0.61.2/lib/libct.so.1.0 to /usr/local/lib/libct.so.1.0
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
/usr/local/freetds/interfaces -
ESDev1
query tcp tds4.2 35.8.113.193 1433
ESDB1
query tcp tds4.2 35.8.113.194 1433
msudata
query tcp tds4.2 35.8.113.7 1433
mrtg
yum install mrtg
edit /etc/cron.d/mrtg
had to edit /home/msuremot/bin/mrtgcron.pl to set LANG=C rather than UTF-8 so mrtg will run
Now reads open(PIPE,"env LANG=C /usr/bin/mrtg /home/msuremot/etc/$cmd|");
homegrown scripts
change /usr/local/bin/perl to /usr/bin/perl in scripts in /var/www/cgi-bin
and /home/helpdesk/bin/authkerb.pl
copied /usr/lib/perl5/site_perl/5.6.1/Apache/LON to /usr/lib/perl5/site_perl/5.8.5/Apache/LON
copied /usr/lib/perl5/5.6.1/MSU/Support.pm to /usr/lib/perl5/site_perl/5.8.5/Apache/MSU/Support.pm
used CPAN to install Crypt:PasswdMD5, Crypt::DES, Crypt::CBC
yum install perl-Crypt-SSLeay
Many changes to scripts in LON for compatibility with mod_perl 1.99.
Found a perl-krb4.rpm on zaphod.
/etc/krb.conf
/etc/realms.conf ???
Used CPAN to install File::Cache and something else.
Added startup.pl in /home/apache/httpd-2.0/perl/startup.pl
Referred to in /etc/httpd/conf/httpd.conf
Installed java run time:
from j2re-1_4_2_07-linux-i586-rpm.bin from java.sun.com