准备工作:
1、安装依赖包(注意执行顺序):
- yum -y install binutils
- yum -y install compat-libstdc++
- yum -y install elfutils-libelf
- yum -y install elfutils-libelf-devel
- yum -y install libgcc
- yum -y install make
- yum -y install compat-libcap1
- yum -y install gcc
- yum -y install gcc-c++
- yum -y install glibc
- yum -y install glibc-devel
- yum -y install libaio
- yum -y install libaio-devel
- yum -y install libstdc++
- yum -y install libstdc++-devel
- yum -y install sysstat
修改hostname,并配置hosts
vi /etc/hostname
oracle
vi /etc/hosts
10.211.55.71(本机ip) oracle11
ping oracle11 测试是否配置成功
- 配置完毕后重启服务器,查看主机名是否已经修改为oracle
- 创建和查看oracle所需用户和组
groupadd dba
groupadd oinstall
useradd -g oinstall -G dba -m oracle
passwd oracle
ora12345QWERT
id or