- apt-get install libldap2 libldap-2.3-0 ldap-utils dhcp3-server nscd gawk iputils-ping pdksh unzip alien libdb3-util libgdbm3 libx11-6 libfreetype6 libsasl2 libxt6 zlib1g gdm devscripts xkb-data-legacy
- Get SunRay Server Software 4.0 (srss_4.0.zip) from SUN (included in Sun Ray Software 4 09/07)
- Extract it to a temporary working directory with unzip srss_4.0.zip
- Execute the following snippet in a bash-shell:
for i in srss_4.0/Sun_Ray_Core_Services_4.0/Linux/Packages/* srss_4.0/Sun_Ray_Data_Store_3.0/Linux/Packages/* srss_4.0/GDM_2.4.4.7.2/Linux/Packages/* srss_4.0/Docs/Linux/Packages/* srss_4.0/Kiosk_Mode_4.0/Linux/Packages/*; do
alien -d "$i"
done
- As /usr/X11R6/bin is a symlink in Debian Etch, it should not be included as a directory in the sunwutu-package. To rebuild the package with the content from /usr/X11R6/bin moved to /usr/bin execute: SUNWUTU="`echo sunwutu_*`"; echo 'mv usr/X11R6/bin usr/; rmdir usr/X11R6' | deb-reversion -k bash "${SUNWUTU}" move Xnewt to /usr/bin && rm "${SUNWUTU}"
- Install all resulting sunw*deb-packages: dpkg -i sunw*deb
- Download and apply the following Patch: cd / && patch -p0 </path/to/sray40fcs-debian.patch.2007-09-29 (4.0 updates from Meik Hellmund)
- Put the init-script into /etc/init.d, and run chmod 755 /etc/init.d/zsunray-init && update-rc.d zsunray-init defaults 99 01
- Now you need the correct java in /etc/opt/SUNWut/jre. Run /path/to/srss_4.0/Supplemental/Java_Runtime_Environment/Linux/jre-1_5_0_11-linux-i586.bin in /etc/opt/SUNWut/ and mv jre1.5* jre
- Download xkbinstall-etch.2007-02-02 and execute it: /bin/sh xkbinstall-etch.2007-02-02 (Update 2007-02-02: Added tweaks by Meik Hellmund)
- Create the DHCP sysconfig file which is used by the Sunray Server Software: mkdir -p /etc/sysconfig; echo -e "DHCPD_CONF_INCLUDE_FILES\nDHCPD_INTERFACE" >/etc/sysconfig/dhcpd
- If you have no /etc/lsb-release file generate it on Debian with: echo "DISTRIB_ID=Debian" >/etc/lsb-release
- If you have not already configured the DHCP-server on your machine for other clients, you should empty the current config, so the Sun Ray Server Software adds its entries to a clean config and not the debian example one: mv /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.sample; touch /etc/dhcp3/dhcpd.conf. If you have already configured the dhcp-server, make a backup-copy of your old config, just in case.
- Create the LDAP compatibility symlinks with: rm -f /etc/opt/SUNWut/utctl.run; /etc/init.d/utsyscfg start
- On a new install you can now configure the server with /opt/SUNWut/sbin/utconfig and /opt/SUNWut/sbin/utadm (see the manual).
- If you have upgraded your Sunray Server Software by installing the new package versions without purging the old ones, you now have to migrate your old configuration by running cd /opt/SUNWut/sbin; ./utconfig -s silent to take advantage of the new software features. You do not need to run utadm and utconfig again.
- For dhcp to work, the utdam script should have added some lines to your /etc/dhcp3/dhcpd.conf and restarted the dhcp-server. Example:
include "/etc/opt/SUNWut/net/dhcp/SunRay-options";
include "/etc/opt/SUNWut/net/dhcp/SunRay-interface-eth2";
If this did not happen, 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
- As Debian Etch uses X.Org instead of XFree86, 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
- The gdm-scripts need to be modified to support the gdm found in Debian: sed -i 's|gdm-binary|gdm|' /opt/SUNWut/lib/xmgr/gdm/*
- To get the SunRAY variables (for example $SUN_SUNRAY_TOKEN) set upon login, put 10SUNWut into /etc/X11/Xsession.d/
- An /etc/gdm/gdm.conf for SunRAYs could look like this one: gdm.conf.
- Remember: After (re-)starting GDM, you also need to restart the SunRAY server software with: /etc/init.d/zsunray-init stop; /etc/init.d/zsunray-init start
- You are now ready to start the Sun Ray Server Software with: /etc/init.d/zsunray-init start
Please also have a look at