目录
1、将安装包拷贝到安装机器,指定目录
2、关闭防火墙
[root@localhost install]# systemctl stop firewalld.service
[root@localhost install]# systemctl disable firewalld.service
3、安装依赖包
yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*i686 compat-libstdc++-33*.devel compat-libstdc++-33 compat-libstdc++-33*.devel gcc gcc-c++ glibc glibc*.i686 glibc-devel glibc-devel*.i686 ksh libaio libaio*.i686 libaio-devel libaio-devel*.devel libgcc libgcc*.i686 libstdc++ libstdc++*.i686 libstdc++-devel libstdc++-devel*.devel libXi libXi*.i686 libXtst libXtst*.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686
4、难依赖包(主要是查看信息)
rpm -q binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat unixODBC unixODBC-devel
5、创建oracle用户
[root@localhost install]# groupadd -g 502 oinstall
[root@localhost install]# groupadd -g 503 dba
[root@localhost install]# groupadd -g 504 oper
[root@localhost install]# groupadd -g 505 asmadmin
[root@localhost install]# useradd -u 502 -g oinstall -G oinstall,dba,asmadmin,oper -s /bin/bash -m oracle
[root@localhost install]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
6、创建oradata目录,解压oracle安装
[root@localhost install]# mkdir /oradata
将/oradata上当及目录内的所有文件和文件夹的归属都修改为oracle用户
[root@localhost