oracle19c解决sqlplus输入界面乱码无法删除的问题。

solve sqlplus garbled code

Notes:system is oracle linux8,oracle is 19.3

# in the sqlplus interface .
when you  type ctrl+c  ,it will stay in the input interface. 
and you can't delete the 'ctre+c'  use any key like backsapce.
so you should install the file below and follow the instructions below.

first: install the readline-devel

#in your linux with oracle installed.
yum -y install readline-devel

second:install rlwrap

download the plugin online. bacause it can’t find easily, so you can download it throw github if you’ve already install the git in your windows pc.

download it from github

# create a new folder ,right-click in the folder to open gitbash.
git clone git@github.com:hanslub42/rlwrap.git
#transfer this rlwrap folder to your linux system with the oracle19c installed.

# In linux system.Enter  the rlwrap  folder.
 	# if  there has a file named configure.issue the following command
 	  ./configure
 	# if there no 'configure'.
 Open the file named INSTALL  with  'vim ',then you see some tips like the following command.
 	this can help you recreate the configure file.
autoreconf  --install
# issue the command
  autoreconf  --install
#when it recreated,then issue the following command.
	./configure

next step

# issue the commond below
	make
	make all

#  vim the '/etc/home/oracle/.bash_profile  add  the below  scripts
	 	 alias sqlplus='rlwrap sqlplus'  
   		alias rman='rlwrap rman'     
        alias lisnrctl='rlwrap lsnrctl'  

# then reboot your linux.the problems is solved.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值