炯炯侠111

导航

 

 rlwrap实现sqlplus环境 方向键等使用 

 

1、解压:tar -zxvf rlwrap-0.42.tar.gz
2、cd rlwrap-0.42
3、./configure
4、make //编译
5、make install //安装
6、vi /root/.bash_profile ---root用户
/home/oracle用户下的.bash_profile文件里----Oracle用户

7、在文件中增加这句:alias sqlplus='rlwrap sqlplus'
8、source ~/.bash_profile使其生效
9、重新连接xmanager


指定安装目录:make PREFIX=/usr/local/redis install #安装到指定目录中

posted on 2017-05-25 16:47  炯炯侠111  阅读(110)  评论(0)    收藏  举报