标签:arc x86 tables centos pre tps release 2 pmf user
安装好,关闭虚拟机,压缩备份(文件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 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
3. 创建运行oracle数据库的系统用户和用户组
# su -
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
# id oracle
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系统标识
修改文件 /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-release
redhat-7
CentOS7.3 安装Oracle 11gR2 64位
标签:arc x86 tables centos pre tps release 2 pmf user
原文地址:http://www.cnblogs.com/busor/p/6364957.html