Linux(CentOS)安裝Oracle_11g_r2資料庫(四)支援sqlplus上下翻頁

來源:互聯網
上載者:User

標籤:oracle資料庫

:http://down.51cto.com/data/2277765

Oracle資料庫使用時,因為不能上下翻頁之前的命令,非常不方便。所以安裝“rlwrap”來解決。

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/8C/72/wKiom1hsq5-B4X-RAAAZjtGDNlY159.png-wh_500x0-wm_3-wmp_4-s_3912229572.png" title="oracle_28.png" alt="wKiom1hsq5-B4X-RAAAZjtGDNlY159.png-wh_50" />

安裝命令,注意安裝是要在root使用者下。

# tar -xf rlwrap-0.42.tar.gz # cd rlwrap-0.42# ./configure # make && make install

編譯安裝完成

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M01/8C/6E/wKioL1hsrcfB5tOcAAAebhyIXR0497.png-wh_500x0-wm_3-wmp_4-s_4094503801.png" title="oracle_29.png" alt="wKioL1hsrcfB5tOcAAAebhyIXR0497.png-wh_50" />


在Oracle使用者的變數檔案.bash_profile檔案裡追加下面兩行。

# vi /home/oracle/.bash_profile

alias sqlplus=‘rlwrap sqlplus‘;alias rman=‘rlwrap rman‘;


生效

$ . .bash_profile




參考文章:

***2016/05/1521682.htm

http://www.cnblogs.com/pengineer/p/4351370.html



本文出自 “悟透的雜貨鋪” 部落格,請務必保留此出處http://wutou.blog.51cto.com/615096/1888972

Linux(CentOS)安裝Oracle_11g_r2資料庫(四)支援sqlplus上下翻頁

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.