真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

rlwrap,找回原來(lái)的那個(gè)SQL*Plus

如果你無(wú)法忍受linux下SQLPlus的蹩腳,就趕快擁抱rlwrap吧!
去GitHub下載最新版本
https://github.com/hanslub42/rlwrap/releases
rlwrap,找回原來(lái)的那個(gè)SQL*Plus

上傳到Server上解壓
[root@db01 ~]# tar -xzvf rlwrap-0.43.tar.gz
...
[root@db01 rlwrap-0.43]# ./configure; make install
...

如果出現(xiàn)如下錯(cuò)誤:
configure: checking for pty ranges...
checking for tgetent... no
checking for tgetent in -ltinfo... yes
checking for readline in -lreadline... no
configure: error:
You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build
this program!

你一定是缺少這個(gè)包:readline-devel
因?yàn)?nbsp;rlwrap="readline wrapper"

[root@db01 rlwrap-0.43]# yum install readline
Package readline-6.2-9.el7.x86_64 already installed and latest version
Nothing to do
[root@db01 rlwrap-0.43]# yum install readline*
Package readline-6.2-9.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package readline-devel.x86_64 0:6.2-9.el7 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


================================================================================
 Package                Arch           Version              Repository     Size
================================================================================
Installing:
 readline-devel        x86_64         6.2-9.el7            local         138 k


Transaction Summary
================================================================================
Install  1 Package


Total download size: 138 k
Installed size: 259 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : readline-devel-6.2-9.el7.x86_64                              1/1
  Verifying  : readline-devel-6.2-9.el7.x86_64                              1/1


Installed:
  readline-devel.x86_64 0:6.2-9.el7


Complete!


[root@db01 rlwrap-0.43]# rpm -qa | grep  readline
readline-6.2-9.el7.x86_64
readline-devel-6.2-9.el7.x86_64


再次安裝,順利通過(guò)
[root@db01 rlwrap-0.43]# ./configure; make install

最后,編輯 /home/oracle/.bash_profile,添加兩行:
alias sqlplus="rlwrap sqlplus"
alias rman="rlwrap rman"

重新登錄oracle用戶,熟悉的SQLPlus回來(lái)了~~



分享名稱:rlwrap,找回原來(lái)的那個(gè)SQL*Plus
網(wǎng)頁(yè)鏈接:http://weahome.cn/article/ipgcei.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部