標籤: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位