免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1208 | 回复: 0
打印 上一主题 下一主题

Solaris学习笔记FAQ实用技巧 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-06 09:25 |只看该作者 |倒序浏览

1.不能在/home下创建目录.
Solaris的用户目录应该创建在/export/home下,不建议直接使用/home.
这是因为Solaris的/home目录是由automounter控制的,只有automounter可以在这个目录下创建文件。如果不希望automounter管理/home目录,可以在删除/etc/auto_master文件中包含"/home"的那行,并且运行automount -v让设置生效,当然reboot也可以。
-----------------------------------------------------

2.怎么让Solaris默认不启动X window?
关闭X window自动启动
# /usr/dt/bin/dtconfig -d

# /usr/dt/bin/dtconfig --help
Usage:
CDE configuration utility
/usr/dt/bin/dtconfig -d        (disable auto-start)
/usr/dt/bin/dtconfig -e        (enable auto-start)
/usr/dt/bin/dtconfig -kill     (kill dtlogin)
/usr/dt/bin/dtconfig -reset    (reset dtlogin)
/usr/dt/bin/dtconfig -p        (printer action update)
/usr/dt/bin/dtconfig -inetd    (inetd.conf /usr/dt daemons)
/usr/dt/bin/dtconfig -inetd.ow (inetd.conf /usr/openwin daemons)
-----------------------------------------------------------------
3.修改LANG.
修改文件
/etc/default/init
同样可以修改timezone.和CMASK.
样例
TZ=PRC
CMASK=022
LANG=zh_CN.GB18030
----------------------------------
4.PATH变量
/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin





本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18586/showart_335222.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP