LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 795|回复: 4

第一次用debian.有好多不明白的地方.请兄弟们帮帮忙!谢谢!

[复制链接]
发表于 2006-3-1 10:13:30 | 显示全部楼层 |阅读模式
问题一:
Linux xlincn 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

每次登入就有这个东东.不知是什么意思.怎么可以消除.

问题二:
xlincn:/etc# locale                                                        
locale: Cannot set LC_CTYPE to default locale: No such file or directory   
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory     
LANG=zh_CN                                                                 
LC_CTYPE="zh_CN"                                                           
LC_NUMERIC="zh_CN"                                                         
LC_TIME="zh_CN"                                                            
LC_COLLATE="zh_CN"                                                         
LC_MONETARY="zh_CN"                                                        
LC_MESSAGES="zh_CN"                                                        
LC_PAPER="zh_CN"                                                           
LC_NAME="zh_CN"                                                            
LC_ADDRESS="zh_CN"                                                         
LC_TELEPHONE="zh_CN"                                                      
LC_MEASUREMENT="zh_CN"                                                     
LC_IDENTIFICATION="zh_CN"                                                  
LC_ALL=   

出现了这样的错误
locale: Cannot set LC_CTYPE to default locale: No such file or directory   
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory  
无法搞定

问题三.
关机开机再次运行locale
xlincn:~# locale         
LANG=POSIX               
LC_CTYPE="OSIX"         
LC_NUMERIC="OSIX"      
LC_TIME="OSIX"         
LC_COLLATE="OSIX"      
LC_MONETARY="OSIX"      
LC_MESSAGES="OSIX"      
LC_PAPER="OSIX"         
LC_NAME="OSIX"         
LC_ADDRESS="OSIX"      
LC_TELEPHONE="OSIX"     
LC_MEASUREMENT="POSIX"   
LC_IDENTIFICATION="POSIX"
LC_ALL=



谢谢大哥们帮忙
发表于 2006-3-1 10:30:29 | 显示全部楼层
顶........
回复 支持 反对

使用道具 举报

发表于 2006-3-1 10:35:28 | 显示全部楼层
不会...帮顶....
回复 支持 反对

使用道具 举报

发表于 2006-3-1 10:43:46 | 显示全部楼层
第一个不是什么问题,是你登陆后的提示而已
第二个是 locale 的问题,用 [php]dpkg-reconfigure locales[/php] 来设定 locale 即可。
回复 支持 反对

使用道具 举报

发表于 2006-3-1 10:51:03 | 显示全部楼层
第一个问题是可以消除的。很简单,只要看看/etc/motd文件就明白怎么回事了。
motd就是message of the day。里面你可以随便写什么,也可以什么都不写。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表