- Get SunRay Server Software 3.1alpha (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_220.127.116.11.1/Linux/Packages/* srss_3.1/Docs/Linux/Packages/*; do
alien -d "$i"
- Install all resulting sunw*deb-packages: dpkg -i sunw*deb
- Download and apply the following Patch: cd / && patch -p0 </path/to/sray31-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
- apt-get install ldap-utils dhcp3-server nscd gawk iputils-ping pdksh
- Now you need a current java in /etc/opt/SUNWut/jre. Simply run /path/to/srss_3.0/Supplemental/Java_Runtime_Environment/Linux/j2re-1_4_2_03-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. libldap.so.2 needs to depend on this old sasl-version, so simply put this libldap.so.2 from Debian Woody into /opt/SUNWut/lib. This seems to be enough to get the software working.
- 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:
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):
iface eth2 inet static
- For firmware-download to work, you need a tftp-server: apt-get install atftpd
- If you have no /etc/X11/XF86Config, but a XF86Config-4, simply do
ln -s XF86Config-4 /etc/X11/XF86Config
- 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:
dpkg -i wdm_1.28-1_i386.deb
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.