- apt-get install ldap-utils dhcp3-server nscd gawk iputils-ping pdksh unzip alien libdb3-util libx11-6 xlibs
- Get SunRay Server Software 3.1 (srss_3.1.zip) from SUN
- Extract it to a temporary working directory with unzip srss_3.1.zip
- Execute the following snippet in a bash-shell:
for i in srss_3.1/Sun_Ray_Core_Services_3.1/Linux/Packages/* srss_3.1/Sun_Ray_Data_Store_2.1/Linux/Packages/* srss_3.1/GDM_2.4.4.7.1/Linux/Packages/* srss_3.1/Docs/Linux/Packages/*; do
alien -d "$i"
done
- Install all resulting sunw*deb-packages: dpkg -i sunw*deb
- Download and apply the following Patch: cd / && patch -p0 </path/to/sray31fcs-debian.patch
- Put the init-script into /etc/init.d, and run chmod 755 /etc/init.d/zsunray-init && update-rc.d zsunray-init defaults 99 20
- Now you need a current java in /etc/opt/SUNWut/jre. Simply run /path/to/srss_3.1/Supplemental/Java_Runtime_Environment/Linux/j2re-1_4_2_07-linux-i586.bin in /etc/opt/SUNWut/ and mv j2re* jre
- The libgdbm.so.2 included with Debian Sarge is to old, but SRSS works fine with libgdbm.so.3 linked to libgdbm.so.2:
apt-get remove libgdbmg1
apt-get install libgdbm3
ln -s libgdbm.so.3 /usr/lib/libgdbm.so.2
rm -f /var/opt/SUNWut/ndbm/*
- SRSS 3.1 needs an exported hmac_md5-function, which is only available from in the old sasl1-library. You can get this by manually installing libsasl7_1.5.28-6.4_i386.deb: dpkg -i libsasl7_1.5.28-6.4_i386.deb
- Download xkbinstall and execute it: /bin/sh xkbinstall
- You can now configure the server with /opt/SUNWut/sbin/utconfig and /opt/SUNWut/sbin/utadm and finally start it with /etc/init.d/zsunray-init start
- For dhcp to work you need to include the SunRay dhcp-config in your /etc/dhcp3/dhcpd.conf. Example:
include "/etc/opt/SUNWut/net/dhcp/SunRay-interface-eth2";
If this does not work, try a fully-fledged /etc/dhcp3/dhcpd.conf instead: Example dhcpd.conf
- You also need to manually assign the IP-addresses in /etc/network/interfaces (If you don't want to use only LAN-mode). Example (only sunray-interconnect):
auto eth2
iface eth2 inet static
address 192.168.30.6
netmask 255.255.255.128
network 192.168.30.0
broadcast 192.168.30.127
- For firmware-download to work, you need a tftp-server: apt-get install atftpd
- On Debian Sarge: If you have no /etc/X11/XF86Config, but a XF86Config-4, simply do ln -s XF86Config-4 /etc/X11/XF86Config
- On Debian Etch (aka testing) you need to do the following: ln -s xorg.conf /etc/X11/XF86Config; ln -s /etc/X11/rgb.txt /usr/X11R6/lib/X11/; ln -s /usr/share/X11/XKeysymDB /usr/X11R6/lib/X11/XKeysymDB
- To get the SunRAY variables (for example $SUN_SUNRAY_TOKEN) set upon login, put 10SUNWut into /etc/X11/Xsession.d/
- We use wdm to manage our logins, if you wish to do the same, get xmgr-wdm.tar, extract it to /opt/SUNWut/lib/xmgr and do the following:
wget http://ftp.de.debian.org/debian/pool/main/w/wdm/wdm_1.28-1_i386.deb
dpkg -i wdm_1.28-1_i386.deb
cd /etc/opt/SUNWut
rm xmgr
ln -s /opt/SUNWut/lib/xmgr/wdm xmgr
The wdm included in debian sarge (wdm < 1.28-1) is currently broken with regard to use on a sunray server, so you should install the version currently in unstable (see the wget above). If this has migrated to testing you can simply install it with apt-get install wdm.
- Now finally copy wdm-config to /etc/X11/wdm and restart wdm.