- 论坛徽章:
- 0
|
我的rh4安装的时候选择了中文,导致了vi 的时候出现乱码,根本无法使用.
我修改了.base_profile : 在文中加了一句话:
LANG=C export LANG,
保存退出后,运行
. ./.bash_profile
同时修改/etc/sysconfig/i18n中的参数值,把中文的都改为英文
了. vi 是可以用了,但是普通用户的tomcat却起不来了,
出现的现象是:: command not found
-bash: /home/work/.bash_profile: line 40: syntax error: unexpected end of file
-bash-3.00$ source .bash_profile
: command not found
-bash: .bash_profile: line 40: syntax error: unexpected end of file
-bash-3.00$
我采取了恢复.base_profile的方法,但还是无济于事,
请教高手,多谢!!!还没解决,求助
[ 本帖最后由 zhangyan@tq.cn 于 2006-12-15 19:23 编辑 ] |
|