OS: Ubuntu 9.04, 64bit, Server edition (can be freely downloaded), Debian 5 or 6 works as well.
Hardware: 64bit VMWare Server 2.0 guest machine with 3GB memory, 50GB of HDD and 2 CPUs.
Notice:This installation guide is describing installation on OS and HW, which IS NOT officially
supported by IBM. For officially supported configurations see IBM web pages
I assume that all the commands are run with root privileges.
The goal is to have the most recent versions of RTC, RRC and RQM installed on one server and integrated as on C/ALM solution. LDAP will be installed and used by the tools to let the users have one login and password for all tools. phpLdapAdmin will be used for easy LDAP administration.
apt-get install slapd ldap-utils phpldapadmin
dc=rtc,dc=fi,dc=muni,dc=cz as the base DN)
dpkg-reconfigure slapd
/tmp/initial.ldif and fill it with the following content
dn: ou=people,dc=rtc,dc=fi,dc=muni,dc=cz
ou: people
objectClass: top
objectClass: organizationalUnit
dn: uid=jan.stastny, ou=people, dc=rtc, dc=fi, dc=muni, dc=cz
sn: Šťastný
cn: Jan Šťastný
userPassword: {SSHA}P+oqjdnSDhgVDWjDzub+VI+geqZ4WXor
description: Batch imported user
mail: jan.stastny@example.com
objectClass: inetOrgPerson
dn: ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
ou: JazzGroups
objectClass: top
ObjectClass: organizationalUnit
dn: cn=JazzAdmins,ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
cn: JazzAdmins
objectClass: top
ObjectClass: groupOfNames
member: uid=jan.stastny, ou=people, dc=rtc, dc=fi, dc=muni, dc=cz
dn: cn=JazzUsers,ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
cn: JazzUsers
objectClass: top
ObjectClass: groupOfNames
member: uid=jan.stastny, ou=people, dc=rtc, dc=fi, dc=muni, dc=cz
dn: cn=JazzDWAdmins,ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
cn: JazzDWAdmins
objectClass: top
ObjectClass: groupOfNames
member: uid=jan.stastny, ou=people, dc=rtc, dc=fi, dc=muni, dc=cz
dn: cn=JazzGuests,ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
cn: JazzGuests
objectClass: top
ObjectClass: groupOfNames
member:
dn: cn=JazzProjectAdmins,ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz
cn: JazzProjectAdmins
objectClass: top
ObjectClass: groupOfNames
member:
ldapadd -xv -D "cn=admin,dc=rtc,dc=fi,dc=muni,dc=cz" -W -f /tmp/initial.ldif
cn=admin,dc=rtc,dc=fi,dc=muni,dc=cz
and password you created during slapd installation to log in.
RTC is easiest to install as it is distributed as a ZIP file.
jazz folder to /opt/rtc
so that ls of /opt/rtc looks like this:
root@rtc:/opt# ls -l /opt/rtc
total 680
-rw-r--r-- 1 root root 12747 2009-12-11 13:14 help.css
-rw-r--r-- 1 root root 7043 2009-12-11 13:14 ibmidwb.css
-rw-r--r-- 1 root root 58790 2009-12-11 13:14 install_server_cs.html
-rw-r--r-- 1 root root 58027 2009-12-11 13:14 install_server_de.html
-rw-r--r-- 1 root root 56678 2009-12-11 13:14 install_server_es.html
-rw-r--r-- 1 root root 60849 2009-12-11 13:14 install_server_fr.html
-rw-r--r-- 1 root root 48345 2009-12-11 13:14 install_server.html
-rw-r--r-- 1 root root 54066 2009-12-11 13:14 install_server_it.html
-rw-r--r-- 1 root root 50883 2009-12-11 13:14 install_server_ja.html
-rw-r--r-- 1 root root 45854 2009-12-11 13:14 install_server_ko.html
-rw-r--r-- 1 root root 61234 2009-12-11 13:14 install_server_pt_BR.html
-rw-r--r-- 1 root root 37872 2009-12-11 13:14 install_server_zh_HK.html
-rw-r--r-- 1 root root 38262 2009-12-11 13:14 install_server_zh.html
-rw-r--r-- 1 root root 37872 2009-12-11 13:14 install_server_zh_TW.html
drwxr-xr-x 3 root root 4096 2009-12-11 16:08 repotools
drwxr-xr-x 18 root root 4096 2010-02-06 16:25 server
db2 create database JAZZ using codeset UTF-8 territory en PAGESIZE 8192
/etc/init.d/rtc containing this:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: RTC
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Rational Team Concert at boot time
# Description: Rational Team Concert startup script
### END INIT INFO
prog=rtc
rtchome=/opt/rtc/server
RETVAL=0
start() {
echo -n $"Starting $prog: "
${rtchome}/server.startup
RETVAL=$?
echo
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
${rtchome}/server.shutdown
RETVAL=$?
echo
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 10
start
;;
*)
echo $"Usage: $prog {start|stop|restart}"
RETVAL=3
esac
exit $RETVAL
chmod u+x /etc/init.d/rtc
update-rc.d rtc defaults
/etc/init.d/rtc start
//db2.fi.muni.cz:50002/JAZZ:user=db2inst3;password={password};
cp /opt/rtc/server/tomcat/conf/server.xml /opt/rtc/server/tomcat/conf/server-backup.xml
/opt/rtc/server/tomcat/conf/server.xml and remove this piece of code:
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"
digest="SHA-1"
digestEncoding="UTF-8"/>
<Realm className="org.apache.catalina.realm.JNDIRealm"
debug="9"
connectionURL="ldap://localhost:389"
userBase="ou=people,dc=rtc,dc=fi,dc=muni,dc=cz"
userSearch="(uid={0})"
userSubtree="true"
roleBase="ou=JazzGroups,dc=rtc,dc=fi,dc=muni,dc=cz"
roleSubtree="false"
roleSearch="(member={0})"
roleName="cn"
/>
/etc/init.d/rtc restart
All rights reserved, Initiative RTC4U, 2011 ©