在 Linux 上安裝 Oracle Database 的小經驗
Oracle Database 用就用得多。Enterprise Edition 就未安過,只是安過 Express。要安裝 Oracle,有一大堆手續。例如:加 user、改 .bash_profile、改 Kernel 參數等等,但一如其他 Linux 軟件,最煩的是 dependencies。 如果用類 CentOS Linux,最簡單的是從 Oracle 中安裝一個叫 oracle-rdbms-server-11gR2-preinstall 的套件。套件只是幾十KB,只是佢會令你安裝一些需要的套件。 # Download Repos wget –no-check-certificate https://public-yum.oracle.com/public-yum-ol6.repo -O /etc/yum.repos.d/public-yum-ol6.repo # Download GPG Key wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle # 安裝 oracle-rdbms-server-11gR2-preinstall yum install oracle-rdbms-server-11gR2-preinstall 但這個時候我不會真的安裝它,而是 cancel 後自行補安需要的套件。再把 /etc/yum.repos.d/public-yum-ol6.repo 刪除又或改為 .bak。否則,加入 Oracle Respo 後,你的 CentOS 會被安裝其他 Oracle… Read More »