本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - wy_19921005
- liyihz2008
- gengyun12
- e_e
- hbxflihua
- luxurioust
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- qepwqnp
- 解宜然
- gashero
- sichunli_030
- cuityang
- vipbooks
- fantaxy025025
- wallimn
- ssydxa219
- gdpglc
- javashop
- ranbuijj
- jickcai
- hanbaohong
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- 淡看人生
- java-007
- zhangyi0618
- AVI
- laiyangdeli
- liunancun
- xpenxpen
- 龙哥IT
- nychen2000
- lemonhandsome
- ouanui
- conkeyn
- jveqi
- panshunchang
- MagicLee
- wjianwei666
- tanling8334
最新文章列表
远程ssh连接linux配置oracle的sqlplus环境变量
在SSH Secure Shell中执行sqlplus命令如果找不到,那即使没有配置oracle的环境变量。
配置方法如下:
找到当前用户root目录下的.bash_profile文件(注:这种配置环境变量方式只对当前用户有效,可用cd ~ 命令进入root目录)
设置oracle的环境变量:如下
PATH=$PATH:$HOME/bin:$ORACLE_BASE:$ORACLE_HO ...
远程ssh连接linux中文乱码
解决方案:
使用linux,在用户根目录(/root)下有一个.bash_profile配置文件,该配置只对当前用户有效.
使用ls -a命令可以查看到该文件.使用vi编辑器打开该文件后,在其中加入
LANG=zh_CN.GBKexport LANG
保存退出后
执行source .bash_profile 或者重新连接SSH即可正常显示中文.