2011年3月20日 星期日

Sun Ray 使用

telnet  192.168.1.1 (主機)
/etc/init.d/dtlogin  stop
/etc/init.d/dtlogin  start


Sun Ray Server 安裝

#cd  /cdrom/cdrom0

#./utinstall
yes

2011年3月4日 星期五

Sun Ultra Sparc 更新 OBP

#cd  /net/192.168.1.1/flashprom

copy zip檔
解開後查看README

copy  flash*latest   /
chmod  755  /flash-update*

重開機至OK mode

OK  boot  disk  /flash-update-Ultra510-latest

Sun Ultra Sparc 查看OBP版本

OBP: Open Boot PROM

#/usr/sbin/prtconf -v  or

OK  .version

2011年3月2日 星期三

Solaris 利用 format 檢查硬碟是否壞軌

#format

format -> analyze

analyze  ->  read

yes [Enter]

Solaris 硬碟格式化

#format

format -> partition

partition -> print  ,  label

partition -> quit

format -> label

quit


#newfs  -i  4096  /dev/rsd3c
#mount

Solaris 檢查硬碟

執行 fsck 時, 先 umount 一些 partition

fsck 並不能完全修復檔案

在 fsck 後發現有問題的檔案

先丟到 lost+found

然後檢查此檔案

可 cp 或 mv 回原來位置救回

2011年3月1日 星期二

從 Solaris 上用詭異的方法安裝 Windows 系統到一般電腦

前同事教的

用 cat

忘了是從 Solaris 系統連到 Linux 系統中 cat 到 Windows 還是從 Linux 系統連到 Solaris 系統中 cat 到 Windows

cat  ./os.gz  | ssh  [要安裝的IP]   "zcat  ->  /dev/hda"

這方法可行, 但是速度很慢, 尤其一次要裝10台以上電腦時會瘋掉, 還不如直接用ghost還快