File Needed
srss_3.1.1.zip
httpd.conf # for apache
jre-1_5_0_05-linux-i586.bin
sray311fcs-debian.patch.2007-02-02
xmgr-gdm.tar
gdm.conf-custom
10SUNWut
zsunray-init
gdm.conf
step 1.
vi /etc/apt/source.list
deb http://apt-proxy:1010/ubuntu/ feisty main restricted
deb-src http://apt-proxy:1010/ubuntu/ feisty main restricted
deb http://apt-proxy:1010/ubuntu/ feisty-updates main restricted
deb-src http://apt-proxy:1010/ubuntu/ feisty-updates main restricted
deb http://apt-proxy:1010/ubuntu/ feisty universe
deb-src http://apt-proxy:1010/ubuntu/ feisty universe
deb http://apt-proxy:1010/ubuntu/ feisty multiverse
deb-src http://apt-proxy:1010/ubuntu/ feisty multivers
Step 2.
apt-get --purge remove apache2
apt-get install slapd apache sun-java5-jre sun-java5-jdk
step 3.
./ubuntu-srss-install.sh
Restart the machine.
And apply this patch file its very important else you'll get error messgae
tconfig: fatal, Sun Ray Core Services is not installed on this host
cd / && sudo patch -p0 </path/to/sray311fcs-debian.patch.2007-02-02
step 4.
# mkdir /etc/sysconfig
# ln -s /etc/dhcp3/dhcpd.conf /etc/sysconfig/dhcpd
# ln -s /etc/dhcp3/dhcpd.conf /etc/dhcpd.conf
# ln -s /etc/init.d/dhcp3-server /etc/init.d/dhcpd
/opt/SUNWut/sbin/utadm -A 192.168.2.0
-------------------------------------------------------------------
root@srss-desktop:/opt/SUNWut/sbin# /opt/SUNWut/sbin/utadm -A 192.168.3.0
### Configuring /etc/nsswitch.conf
### Configuring Service information for Sun Ray
Selected values for subnetwork "192.168.3.0"
net mask: 255.255.255.0
no IP addresses offered
auth server list: 192.168.3.1
firmware server: 192.168.3.1
Accept as is? ([Y]/N): N
new netmask: [255.255.255.0]
Do you want to offer IP addresses for this subnet? (Y/[N]): Y
new first Sun Ray address: [192.168.3.245] 192.168.3.1
number of Sun Ray addresses to allocate: [254]
auth server list: 192.168.3.1
To read auth server list from file, enter file name:
Auth server IP address (enter <CR> to end list):
If no server in the auth server list responds,
should an auth server be located by broadcasting on the network? ([Y]/N): N
new firmware server: [192.168.3.1]
new router: [192.168.3.1]
Selected values for subnetwork "192.168.3.0"
net mask: 255.255.255.0
first unit address: 192.168.3.1
last unit address: 192.168.3.254
auth server list: 192.168.3.1
firmware server: 192.168.3.1
router: 192.168.3.1
Accept as is? ([Y]/N): Y
Step 5.
/opt/SUNWut/sbin/utadm -L on
/opt/SUNWut/sbin/utrestart
# ln -s /usr/lib/libldap.so.2 /usr/lib/libldap.so.199
# ln -s /usr/lib/liblber.so.2 /usr/lib/liblber.so.199
step 6.
/opt/SUNWut/sbin/utconfig
Continue ([y]/n)?
Enter Sun Ray admin password:
Re-enter Sun Ray admin password:
Configure Sun Ray Web Administration? ([y]/n)?
Enter port number [1660]:
Enter CGI username [utwww]:
Enable remote server administration? (y/[n])? y
Configure Controlled Access Mode? (y/[n])?
Configure this server for a failover group? (y/[n])?
Continue ([y]/n)?
# /etc/init.d/apache restart
# /etc/init.d/zsunray-init start
Test the SRSS Administration setup by viewing http://localhost:1660 in a browser.
step 7.
Commenting all IPV6 entries in /etc/hosts
sed -i -e '/ip6/s/^/#/g' /etc/hosts
Or you can comment by ur self.
Create this file.
vi /etc/modprobe.d/bad_list
and add alias net-pf-10 off
step 8.
# mkdir /tftpboot
Load the firmware images into the /tftpboot directory:
/opt/SUNWut/sbin/utfwadm -A -a -N 192.168.2.240
step 9.
included into the DHCP configuration file to update the firmware version numbering.
sudo sed -i -e 's/3\.0_51\,REV\=2004\.11\.10\.16\.18/3.1_32,REV=2005.08.24.08.55/g' /etc/dhcp3/dhcpd.conf
#grep REV /etc/dhcp3/dhcpd.conf
# SunRay firmware version: 3.1_32,REV=2005.08.24.08.55
option SunRay.NewTVer "3.1_32,REV=2005.08.24.08.55";
# /etc/init.d/dhcp3-server restart
step 10.
Ubuntu uses x.org instead of X11, the following workaround is required:
#ln -s /etc/X11/xorg.conf /etc/X11/XF86Config
To get SunRay variables added to the user's environment on login, add the 10SUNWut script
into the Xsession directory:
# cp 10SUNWut /etc/X11/Xsession.d/.
step 11.
# ln -s /usr/sbin/gdm /usr/sbin/gdm-binary
Edit this file
#vi /etc/init.d/gdm
DAEMON=/usr/sbin/gdm-binary
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --name gdm-binary $SSD_ARG --
$CONFIG_FILE >/ dev/null 2>&1 || log_end_msg 1
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name gdm-binary $SSD_ARG --
retry 30 >/dev/null 2>&1 log_end_msg 0
start-stop-daemon --stop --signal USR1 --quiet --pidfile \
$PIDFILE --name gdm-binary $SSD_ARG >/dev/null 2>&1
log_end_msg 0
# cp /etc/gdm/gdm.conf /etc/gdm/gdm.conf.back
# cp gdm.conf /etc/gdm/.
step 12.
Reboot the machine and also thin clinet ;)
for more help :- https://help.ubuntu.com/community/UbuntuOnSunRay and is also google ever green.
No comments:
Post a Comment