服务器 频道

网管经验谈:SCO OpenServer实用技巧

    【IT168 报道】装系统、填序列号、注册,这些都不用说了吧,这个版里的人九成都会做。不过,SCO OpenServer有两个小问题需要注意,否则会带来使用的不便。

     一般服务器都是挂到中心机房的,所以装好之后大家都尽量不到现场操作,那就需要在shutdown -g0 -i6 -y 后系统能尽快重起。远程访问最简单的就是SecureCRT,如果需要GUI,可以在本地装Xwin32或Exceed,把服务器的GUI界面抓过来。注:X Server架构是有图形显示的叫 Server,输出屏幕活动的业务服务器反而是X Client,这一点跟Win32的正好相反。

    以OSR 5.0.7为例,按照Enterprise模式装完后,虽然Autoboot默认是"Y",但是等待时间实在太长,需要缩短时间。如果你在SCO的GUI里面操作,开启ScoTerm的时候,会发现字体很小,伤害视力,每次都要进到Options --> Font Size 里面选“10 by 20”,才可以得到满意的效果。

    通过在Google搜索“ScoTerm Font”并且跟踪相关的页面,然后分析Unix fonts 的位置和名称,终于圆满解决了问题。以下资料是在 SCO里写的,全英,我想大家应该可以看懂。说明:{}里的内容是注解。

bash-2.03# cd /etc/default bash-2.03# vi boot {you may add a new line below the item AUTOBOOT, just like this way} {now you can reboot your PC, SCO will perform autoboot in 6 seconds} AUTOBOOT=YES TIMEOUT=6 ----------------------------------------------------------------------- bash-2.03# cd /usr/lib/X11/app-defaults bash-2.03# more ScoTerm bash-2.03# cd /usr/lib/X11/app-defaults/msg bash-2.03# more ScoTerm bash-2.03# cd /usr/lib/X11/app-defaults/font bash-2.03# more FontDefaults bash-2.03# cd /usr/lib/X11/fonts/misc bash-2.03# more fonts.alias {all font including normal--16 can work but only some are beautiful} {ibm850 is Western Europe DOS, ibm852=Eastern, ibm858=(ibm850+Euro)} bash-2.03# cd /usr/lib/X11/sco/startup bash-2.03# vi ScoTerm ! ! Fonts ! ! Codeset specific ! #if WIDTH < 1024 ScoTerm*Ansi*font: fixed ScoTerm*Ansi*boldFont: fixed #else ScoTerm*Ansi*font: ibm850-8x16 ScoTerm*Ansi*boldFont: ibm850-8x16 #endif {after update the code, logout session and login with a new session} {start scoterm, you will see default window is the same as 10 by 20} ----------------------------------------------------------------------- Reference Website: http://www.phpx.com/man/dhtmlcn/charsets/charset4.html Microsoft Internet Explorer 5 Charset Inventory http://cvs.sourceforge.net/viewcvs.py/tidy/tidy/src/streamio.c?rev=1.29 /* Mapping for OS/2 Western character set CP 850 ** (chars 128-255) to Unicode. */ static const uint IBM2Unicode[128] = { } /* For OS/2,Java users, map Unicode back to IBM858 (IBM850+Euro). */ static void EncodeIbm858( uint c, StreamOut* out ) { }
  注:本文经作者wwashington授权IT168服务器频道刊登,原文链接:http://bbs.boletips.com/blbbs/viewthread.php?tid=166&extra=page%3D3
0
相关文章