CentOS7.3 安裝Oracle 11gR2 64位

來源:互聯網
上載者:User

標籤:arc   x86   tables   centos   pre   tps   release 2   pmf   user   

參考:CentOS7安裝oracle 11gR2   Linux(CentOS 7.0)安裝Oracle11g R2 0 VMWare 12 安裝CentOS7.3  安裝好,關閉虛擬機器,壓縮備份(檔案2G大小) 1. 關閉安全措施# service iptables stop    // 暫時關閉防火牆,重啟系統後會自動開啟# chkconfig iptables off   // 永久關閉防火牆 (7.3 不用iptables,用firewalld)# sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config // 關閉Selinux# systemctl status firewalld.service    //查看防火牆狀態# systemctl stop firewalld.service      //關閉防火牆# systemctl disable firewalld.service  //禁止使用防火牆(重啟也是禁止的) 2. 安裝oracle資料庫所需要的軟體包  Oracle Database Package Requirements for Linux x86-64   作業系統: Oracle Linux 7 and Red Hat Enterprise Linux 7# yum install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh# yum install libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat   另:# yum install kernel-headers numactl-devel glibc-headers glibc-common unixODBC-devel elfutils-libelf elfutils-libelf-devel# yum install glibc-static elfutils-libelf-devel-static libstdc++-static unixODBC libgomp    安裝pdksh ?  RPM find for pdksh  3. 建立運行oracle資料庫的系統使用者和使用者組# su -# groupadd oinstall# groupadd dba# useradd -g oinstall -G dba oracle# passwd oracle# id oracle  為啥要建立oinstall使用者組及dba組? 4. 建立oracle資料庫安裝目錄# su -# mkdir -p /data/oracle                       /oracle資料庫安裝目錄# mkdir -p /data/oraInventory             /oracle資料庫設定檔目錄# mkdir -p /data/database                  /oracle資料庫軟體包解壓目錄# cd /data# chown -R oracle:oinstall /data/oracle   /設定目錄所有者為oinstall使用者組的oracle使用者# chown -R oracle:oinstall /data/oraInventory# chown -R oracle:oinstall /data/database  5. 修改OS系統標識   oracle預設不支援CentOS系統安裝: Oracle Database 11g Release 2 的OS要求  CentOS7.0.1611 基於 RHEL7.3  修改檔案 /etc/redhat-release# su -# cat /proc/version# cat /etc/redhat-release# mv /etc/redhat-release /etc/redhat-release.bak# vi /etc/redhat-release# cat /etc/redhat-releaseredhat-7

CentOS7.3 安裝Oracle 11gR2 64位

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.