以下の内容はhttps://yohei-a.hatenablog.jp/entry/20200828/1598575936より取得しました。


Amazon Linux 2 に Oracle Instant Client をインストール

Amazon Linux 2 に Oracle Instant Client (11.2.0.4) をインストールしたメモ。

$ cat /etc/system-release
Amazon Linux release 2 (Karoo)
$ uname -r
4.14.186-146.268.amzn2.x86_64

ダウンロード・インストール

  • rpm をインストール
sudo rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
sudo rpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm

設定

  • ~/.bash_profile に以下を追記
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/usr/lib/oracle/11.2/client64/bin/
export PATH
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
  • ~/.bash_profile を読み込む
$ source ~/.bash_profile

Oracle Database に接続する

$ sqlplus scott/tiger@db1.yohei-a.jp:1521/orcl



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20200828/1598575936より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14