Ooo the beauty of Linux based proprietary thin clients... One of the best parts is that operating systems get updated, and SRSS doesn't. So re-installing/updating SRSS can be a bit of a moving target. So here are notes from my latest install.
Dependencies and prerequisites
- yum install glib dhcp openldap-clients openldap tftp-server libXp openmotif22 openssl compat-libstdc++-33 libusb-devel compat-openldap gdbm.i386 openldap-devel pdksh libXfont
- yum groupinstall "Development Tools"
- wget http://pkgs.repoforge.org/htop/htop-1.0.1-1.el5.rf.x86_64.rpm
- yum install htop-1.0.1-1.el5.rf.x86_64.rpm (ok, not really required, but helpful on gauging load easily)
- wget ftp://mirror.switch.ch/pool/3/mirror/centos/5.8/os/i386/CentOS/glib-1.2.10-20.el5.i386.rpm
- yum install glib-1.2.10-20.el5.i386.rpm --nogpgcheck -y
- cd /usr/lib
- ln -sf libldap-2.3.so.0.2.31 libldap.so.199
- ln -sf libgdbm.so.2.0.0 libgdbm.so.3
- ln -sf liblber-2.3.so.0.2.31 liblber.so.199
- extract the included java jdk in suplemental to opt,
- sh jre-6u13-linux-i586.bin
- follow the instructions
- when done, move the resulting installed dir to /opt/java
- extract the included tomcat, and place the resulting file structure at /opt/apache-tomcat
Network set up
Very important, you can lose hours, if you don't do this part!
The infamous "Can't contact LDAP server" error during the ./utconfig step, is always always a problem with your hosts file. No matter how many times I do this set up somehow I always make some sort of error here. Hostname hygiene is key here.
- the hostname in /etc/sysconfig/network. . .
- an entry in your /etc/hosts file with the ip address of your primary interface and the same hostname is KEY!
- Make sure"localhost.localdomain" line in /etc/hosts until after the full process is completed.
- Make sure that the 127.0.0.1 localhost entry exists, utadmin will not work without this (shot myself in the foot with this one a while ago)
- Make sure there are correct entries in DNS as well. SRSS uses hostnames extensively.
Some small optimizations...
- chkconfig iptables off
- chkconfig ip6tables off
- chkconfig bluetooth off
Thanks! Been having problems with SRSS 4.2 and the tomcat/admin stuff working. All flying now. I'm not sure if it was the missing "yum" stuff or the java being put in /opt/java, but it's going now. Thanks again!
ReplyDeleteYour more than welcome...
DeleteThe next frontier is getting this working on Centos 6.X...
Hope to do that over the Christmas holidays...