- 論壇徽章:
- 0
|
我的rh4安裝的時候選擇了中文,導(dǎo)致了vi 的時候出現(xiàn)亂碼,根本無法使用.
我修改了.base_profile : 在文中加了一句話:
LANG=C export LANG,
保存退出后,運行
. ./.bash_profile
同時修改/etc/sysconfig/i18n中的參數(shù)值,把中文的都改為英文
了. vi 是可以用了,但是普通用戶的tomcat卻起不來了,
出現(xiàn)的現(xiàn)象是:: 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$
我采取了恢復(fù).base_profile的方法,但還是無濟于事,
請教高手,多謝!!!還沒解決,求助
[ 本帖最后由 zhangyan@tq.cn 于 2006-12-15 19:23 編輯 ] |
|