当前位置: 首页 > 图文教程 > 操作系统 > Solaris > 修改solaris的默认语言

Solaris
给Solaris打补丁 保护系统安全
solaris 9 .0基本安全设置
soalris系统安装软件包
Solaris 基础知识
在solaris10上如何设置adsl拨号连接
忘记solaris root密码的解决办法
Solaris 10安装和配置SSH
solaris网络和IP设置基础
SUN常用系统维护命令
Solaris8安装OPENSSH方法
Solaris 10 OS 快速安裝配置 Apache + Mysql + php
solaris中添加删除磁盘和分区
Solaris系统下使用u盘和移动硬盘
solaris下VNC的安裝方法
solari9.0下图形界面相关知识
Solaris 10.0 cvs的安装方法
Solaris 10 Openssh安装和配置
solaris 10下安装java+tomcat
修改solaris的默认语言
solaris系统下更改IP地址

Solaris 中的 修改solaris的默认语言


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 158 ::
收藏到网摘: n/a

安装solaris时用了中文版,用ssh连接中文会出现乱码情况,所以修改solaris默认语言为英文模式

#chmod u+w /etc/default/init
#vi /etc/default/init
$ cat init
#
# Copyright 1992, 1999-2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)init.dfl   1.7     02/12/03 SMI"
#
# This file is /etc/default/init.  /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not.  To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables.  value may
# be enclosed in double quotes (") or single quotes (').
#
TZ=PRC
CMASK=022
LANG=EN //使用英文字体
#LANG=zh_CN.UTF-8  //原来默认的中文,注解掉

保存重启