Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2440739
  • 博文数量: 367
  • 博客积分: 10016
  • 博客等级: 上将
  • 技术积分: 3555
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-04 15:12
个人简介

MEI SHENME

文章分类

全部博文(367)

文章存档

2009年(2)

2008年(1)

2007年(2)

2006年(362)

我的朋友

分类:

2006-09-21 10:52:49

041Q: solaris 8对文件名的长度有限制吗?
A:
有,255Byte。
042Q: 怎样在Solaris OS 查看已经安装的字符集
A:
locale -a
043Q: 如何给装好的 Solaris添加中文字库?
A:
安装solaris 的第三张language盘
044Q: 改时区的命令应该怎么写呢
A:
vi /etc/default/init
vi /etc/TIMEZONE
reboot

先把/etc/TIMEZONE改了。
把这两行
# TZ=xxxxx
# export TZ
写到
./etc/profile 里
在有用户登录就改过来了
045Q: /var/adm下wtmp*的文件是干什么的东东?
/var/adm>; find . -size +2000 -exec ls -tl {} \;
-rw-rw-r-- 1 adm adm 870330672 1月 19 17:55 ./wtmp
-rw-rw-r-- 1 adm adm 2147483647 12月 25 10:09 ./wtmpx
我看以前的这个wtmpx太大了,想删掉可以吗?
A:
历史日志,应该是清空,cat /dev/null>;/var/adm/wtmpx,或直接删除,系统会自动重建。

Displaying a Record of Login Activity
Use the last command to display a record of all logins and logouts with the most recent activity at the top of the output. The last command reads the binary file /var/adm/wtmpx, which records all logins, logouts, and reboots.

Displaying Users on the Local System
The who command displays a list of users currently logged in to the local
system. It displays each user’s login name, the login device (TTY port),
the login date and time. The command reads the binary file
/var/adm/utmpx to obtain this information and information about where
the users logged in from.

046Q: 关于显卡的4个问题
1  在sparc下安装显卡,是不是不用装driver? 还是说和显卡的品牌有关?因为小弟在sunblade 100上直接插上PGX显示卡就可以用。
2  Elite3D系列显示卡的文件位置是/dev/fbs/ifb0 ;Creator和Creator 3D系列显示卡的文件位置是/dev/fbs/ffb0 但是PGX显示卡和PGX32显示卡的文件是什么?
3  从哪里可以看到显卡的类型和品牌?
4  另外小弟现在用的是sun blade 100,没有外接显卡,用的是板载,我看到/dev/fbs/下只有一个文件:m640,而且打不开,怎么回事?
A:
如果你安装系统时选择OEM安装就不用装驱动,也有例外,比如EXPRT 3D还得装驱动。
prtdiag能看见显示卡,其他的查硬件命令也可以。
/dev/fbs下面都是连接文件。
想知道更多的关于显卡,可以去docs.sun.com查起详细的安装和配置资料。
047Q: 怎么配置双显卡,双屏幕
A:
是要做双屏幕吗?
修改/usr/dt/config/Xservers在最后一行增加 :
-dev /dev/fb0 -dev /dev/fb1
呵呵,应该是注掉最后一行,打开倒数第二行,然后加上第二个显示器的物理名。
048Q: 关于设置显卡分辨率的问题
用m64config将颜色设为24位时,在g2界面下运行应用程序,出现提示探测不到显卡,用m64config将颜色设为8位时,在g2界面下运行同样应用程序,界面颜色变得很差,应用程序界面随即关闭。
小妹是新手,不知道是不是显卡的原因,问题出字哪里?
A:
The maximum resolution that is available with 24 bits per pixel depends on the amount of memory installed on the PGX card. For 2-MB PGX cards, the maximum available resolution is 800x600. For 4-MB cards, it is 1152x900. For 8-MB cards, it is 1920x1080. If there is not enough memory for the specified combination of resolution and depth, m64config displays an error message and exits.

你可以将分辨率设低一点:
# /usr/sbin/m64config -res 1280x1024x76
然后再试着修改色深:
# /usr/sbin/m64config -depth 24
查看M64 hardware configuration:
# /usr/sbin/m64config -prconf
或者恢复缺省值:
# /usr/sbin/m64config -defaults
049Q: 重新安装系统时能否不覆盖原来的分区?
因为我有个硬盘的s7有些重要文件,但我又要在这个硬盘上安装新系统,此时能保留s7但又要安装成功吗?请高手出手,好象aix能做到这一点。
A:
安装的时候有个preserve的步骤,注意一下就可以了,选中要保留的s7!
050Q: Csh中的source .cshrc ,source 是什么意思?
A:
source是csh的内部命令,source .cshrc是让.cshrc里面的环境变量生效。

阅读(2192) | 评论(0) | 转发(0) |
0

上一篇:Solaris FAQ (4)

下一篇:Solaris FAQ (6)

给主人留下些什么吧!~~