otrdiena, augusts 16, 2005

SunRay serveris uz Fedora 2

Fiksēju lietas, ko darīju, lai palaistu SunRay serveri uz Fedora 2.
Istalēju tātad..

tips – serveris
serveri, ko vajag:
apache
tftp
dhcp
.. tad vēl vajag gcc, X logus, gnomi,
un lietojumprogrammas lietotājiem :)

SunRay server 3 beta

Doma tāda, ka defaultā instalācija ir pielāgota RH enterprise un SuSE. 2. Fedorai daži headeri ir citās vietās, kā arī sakarā ar 2.6 kerneli ir nelielas atšķirības.
Vārdu sakot – te hīts no .bash_history.

rpm -e sendmail
rpm -e sendmail mutt fetchmail mdadm
ls
mkdir install
cd install
scp XX.XX.XX.XX:/home/spats/Xinstall/sunrayx86/srss_3.0.tar.Z .
tar -xvzf srss_3.0.tar.Z
cd srss_3.0
ls
mozilla README.html
./utinstall
(šajā brīdī sākās “carnival of errors”)
yum install ksh (ups – sun skripti ir ksh)
yum install pdksh
ls
ls Docs/
yum install xpdf
xpdf Docs/Linux_Install.pdf &
ls
cd Supplemental/
ls
cd Java_Runtime_Environment/
ls
cd Linux/
ls
./j2re-1_4_2_03-linux-i586.bin
ls
ls /opt
mv j2re1.4.2_03 /opt/
cd ../../../
ls
./utinstall
tail /var/log/utinstall.2004_10_27_12\\:37\\:51.log
rpm -q gcc
yum install gcc
./utinstall
(sākās vēl smagāks erroru karnevāls)
tail /var/log/utinstall.2004_10_27_12\\:43\\:44.log
cat /var/log/utinstall.2004_10_27_12\\:43\\:44.log
yum install kernel-source
./utinstall
yum install kernel-headers
cd /lib/modules/2.6.5-1.358smp/build/include/linux/
ls
(ilgi meklējam un bakstam source failiem pareizās atrašanās vietas un/vai taisam symlinkus)
find / modversions.h | grep modversions
find / mach_mpspec.h | grep mach_mpspec.h
...
vim /lib/modules/2.6.5-1.358smp/build/include/asm/mpspec.h
./utinstall
vim /lib/modules/2.6.5-1.358smp/build/include/asm/smp.h
./utinstall
reboot
find / modversions.h | grep modversions
cd /lib/modules/2.6.5-1.358smp/build/include/linux/
ln -s ../config/modversions.h
pwd
cd ..
cd asm
ls
ls smp.h
find / mach_mpspec.h | grep mach_mp
ln -s ../asm-i386/mach-generic/mach_mpspec.h
find / mach_mpspec.h | grep mach_mpspec
find / mach_apicdef.h | grep mach_apicdef.h
cd install
ls
cd srss_3.0
ls
xpdf Docs/Linux_Install.pdf
cd /opt/SUNWut/sbin/
ls
./utadm -a eth1
./utpolicy
./utcard
ls
./utcard
ls
./utconfig
reboot
/etc/init.d/httpd start
cd /opt/SUNWut/sbin/
./utconfig
/etc/init.d/httpd restart
/etc/init.d/httpd stop
yum install dhcp
cat utadm | less
ifconfig
cat utadm | less
system-config-network
/etc/init.d/network restart
./utadm -a eth1
vim /etc/X11/xorg.conf
reboot
{enablējam XDMCP login screen->settings->XDMCP}

update:
Šķiet ka xdmcp tomeer nevajag
noderiigas konandas ir:
/opt/SUNWut/sbin/utconfig -u
/opt/SUNWut/sbin/utconfig
/opt/SUNWut/sbin/utpolicy
/etc/init.d/utsvc stop
/etc/init.d/utsvc start

kā TO dara uz Debian

Kā pietjūnēt GNOMI

SunRay FAQ

Nav komentāru: