共计 23279 个字符,预计需要花费 59 分钟才能阅读完成。
1、Oracle Linux 6_64(bit)上 上安装 Oracle 数据库环境快速准备介绍
在 Linux 上安装 Oracle 数据库,在环境准备方面,例如该安装的 RPM 包,该调整的内核参数等,不仅较为复杂,有些参数值还会因为人工设置的不合理而对日后的运行带来一定的影响,也是整个安装过程中最耗时的部分。
在 Oracle Linux 6_64bit 上,提供了 oracle-rdbms-server-11gR2-preinstall 包,可以自动化的将需要安装的 rpm 包,需要调整的内核参数自动化的处理,对 DBA 安装数据库确实节省了不少的时间。
在 Oracle Linux 5 和 Oracle Linux 4 上有一个相似功能的包叫 oracle-validated
2、oracle-rdbms-server-11gR2-preinstall 包所干的事情
(1)自动安装oracle 所需的 RPM 包
(2)自动创建oracle 用户和 dba、oinstall 组
(3)自动配置/etc/sysctl.conf 内核参数
(4)自动配置/etc/security/limits.conf 参数
(5)关闭NUMA=OFF(关闭非一致内存访问)
3、为使用oracle-rdbms-server-11gR2-preinstall 而搭建一个本地 yum 服务器
(如果环境中有 yum 服务器,此部可以跳过)
3.1 挂载Oracle Linux 6 光盘(以 root 用户执行)
#mkdir -p /mnt/cdrom
#mount /dev/cdrom /mnt/cdrom
3.2 创建 local.repo 文件(以 root 用户执行)
#vi /etc/yum.repos.d/local.repo
[HighAvailability] name=HighAvailability baseurl=file:///mnt/cdrom/HighAvailability enabled=1 gpgcheck=0 [LoadBalancer] name=LoadBalancer baseurl=file:///mnt/cdrom/LoadBalancer enabled=1 gpgcheck=0 [Server] name=Server baseurl=file:///mnt/cdrom/Server enabled=1 gpgcheck=0 |
3.3 修改public-yum-ol6.repo 文件配置(以 root 用户执行)
#mv /etc/yum.repos.d/public-yum-ol6.repo /etc/yum.repos.d/public-yum-ol6.repo_bak
#vi /etc/yum.repos.d/public-yum-ol6.repo
[oel6_local] name = oracle Enterprise Linux 6 baseurl=file:///mnt/cdrom/Server/ gpgcheck=0 enabled=1 |
4、正式使用 oracle-rdbms-server-11gR2-preinstall 部署环境
#yum install oracle-rdbms-server-11gR2-preinstall
运行输出内容如下:
Loaded plugins: refresh-packagekit, security Setting up Install Process Resolving Dependencies –> Running transaction check —> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6 will be installed –> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 –> Running transaction check —> Package compat-libcap1.x86_64 0:1.10-1 will be installed —> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed —> Package gcc.x86_64 0:4.4.6-4.el6 will be installed –> Processing Dependency: cpp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.x86_64 –> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64 —> Package gcc-c++.x86_64 0:4.4.6-4.el6 will be installed –> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64 —> Package glibc-devel.x86_64 0:2.12-1.80.el6 will be installed –> Processing Dependency: glibc-headers = 2.12-1.80.el6 for package: glibc-devel-2.12-1.80.el6.x86_64 –> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6.x86_64 —> Package ksh.x86_64 0:20100621-16.el6 will be installed —> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed —> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed –> Running transaction check —> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed –> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 –> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 —> Package cpp.x86_64 0:4.4.6-4.el6 will be installed —> Package glibc-headers.x86_64 0:2.12-1.80.el6 will be installed –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.80.el6.x86_64 –> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.80.el6.x86_64 —> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed –> Running transaction check —> Package kernel-headers.x86_64 0:2.6.32-279.el6 will be installed —> Package ppl.x86_64 0:0.10.2-11.el6 will be installed –> Finished Dependency Resolution Dependencies Resolved =================================================================================== Package Arch Version Repository Size =================================================================================== Installing: oracle-rdbms-server-11gR2-preinstall x86_64 1.0-6.el6 Server 15 k Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 Server 93 k compat-libcap1 x86_64 1.10-1 Server 17 k compat-libstdc++-33 x86_64 3.2.3-69.el6 Server 183 k cpp x86_64 4.4.6-4.el6 Server 3.7 M gcc x86_64 4.4.6-4.el6 Server 10 M gcc-c++ x86_64 4.4.6-4.el6 Server 4.7 M glibc-devel x86_64 2.12-1.80.el6 Server 969 k glibc-headers x86_64 2.12-1.80.el6 Server 600 k kernel-headers x86_64 2.6.32-279.el6 Server 1.9 M ksh x86_64 20100621-16.el6 Server 684 k libaio-devel x86_64 0.3.107-10.el6 Server 13 k libstdc++-devel x86_64 4.4.6-4.el6 Server 1.5 M mpfr x86_64 2.4.1-6.el6 Server 156 k ppl x86_64 0.10.2-11.el6 Server 1.3 M Transaction Summary =================================================================================== Install 15 Package(s) Total download size: 26 M Installed size: 61 M Is this ok [y/N]: y Downloading Packages: ———————————————————————————– Total 46 MB/s | 26 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : mpfr-2.4.1-6.el6.x86_64 1/15 Installing : libstdc++-devel-4.4.6-4.el6.x86_64 2/15 Installing : cpp-4.4.6-4.el6.x86_64 3/15 Installing : ppl-0.10.2-11.el6.x86_64 4/15 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 5/15 Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64 6/15 Installing : libaio-devel-0.3.107-10.el6.x86_64 7/15 Installing : kernel-headers-2.6.32-279.el6.x86_64 8/15 Installing : glibc-headers-2.12-1.80.el6.x86_64 9/15 Installing : glibc-devel-2.12-1.80.el6.x86_64 10/15 Installing : gcc-4.4.6-4.el6.x86_64 11/15 Installing : gcc-c++-4.4.6-4.el6.x86_64 12/15 Installing : ksh-20100621-16.el6.x86_64 13/15 Installing : compat-libcap1-1.10-1.x86_64 14/15 Installing : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 15/15 Verifying : compat-libcap1-1.10-1.x86_64 1/15 Verifying : ksh-20100621-16.el6.x86_64 2/15 Verifying : kernel-headers-2.6.32-279.el6.x86_64 3/15 Verifying : glibc-devel-2.12-1.80.el6.x86_64 4/15 Verifying : libaio-devel-0.3.107-10.el6.x86_64 5/15 Verifying : gcc-4.4.6-4.el6.x86_64 6/15 Verifying : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 7/15 Verifying : gcc-c++-4.4.6-4.el6.x86_64 8/15 Verifying : libstdc++-devel-4.4.6-4.el6.x86_64 9/15 Verifying : compat-libstdc++-33-3.2.3-69.el6.x86_64 10/15 Verifying : glibc-headers-2.12-1.80.el6.x86_64 11/15 Verifying : mpfr-2.4.1-6.el6.x86_64 12/15 Verifying : cpp-4.4.6-4.el6.x86_64 13/15 Verifying : ppl-0.10.2-11.el6.x86_64 14/15 Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 15/15 Installed: oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6 Dependency Installed: cloog-ppl.x86_64 0:0.15.7-1.2.el6 compat-libcap1.x86_64 0:1.10-1 compat-libstdc++-33.x86_64 0:3.2.3-69.el6 cpp.x86_64 0:4.4.6-4.el6 gcc.x86_64 0:4.4.6-4.el6 gcc-c++.x86_64 0:4.4.6-4.el6 glibc-devel.x86_64 0:2.12-1.80.el6 glibc-headers.x86_64 0:2.12-1.80.el6 kernel-headers.x86_64 0:2.6.32-279.el6 ksh.x86_64 0:20100621-16.el6 libaio-devel.x86_64 0:0.3.107-10.el6 libstdc++-devel.x86_64 0:4.4.6-4.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 Complete! |
5、查看后台日志中记录的操作内容
#more /var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log
Adding group oinstall with gid 54321 Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Verifying kernel parameters as per Oracle recommendations… fs.file-max 6815744 kernel.sem 250 32000 100 128 kernel.shmmni 4096 kernel.shmall 1073741824 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off @ “/var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log” 49L, 2772C Adding group oinstall with gid 54321 Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Adding group oinstall with gid 54321 Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Adding group oinstall with gid 54321 Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Verifying kernel parameters as per Oracle recommendations… fs.file-max 6815744 kernel.sem 250 32000 100 128 kernel.shmmni 4096 kernel.shmall 1073741824 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Verifying kernel parameters as per Oracle recommendations… fs.file-max 6815744 kernel.sem 250 32000 100 128 kernel.shmmni 4096 kernel.shmall 1073741824 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off @ @ Adding group oinstall with gid 54321 Adding group dba Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for oracle user uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) Creating oracle user passed Verifying kernel parameters as per Oracle recommendations… fs.file-max 6815744 kernel.sem 250 32000 100 128 kernel.shmmni 4096 kernel.shmall 1073741824 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off Setting kernel boot parameters as per Oracle recommendations… Boot parameters will be effected on next reboot Altered file /boot/grub/grub.conf Original file backed up at /boot/grub/grub.conf.orabackup Verifying & setting of boot parameters passed Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-02-15-51 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off Setting kernel boot parameters as per Oracle recommendations… Boot parameters will be effected on next reboot Altered file /boot/grub/grub.conf Original file backed up at /boot/grub/grub.conf.orabackup Verifying & setting of boot parameters passed Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-02-15-51 Verifying kernel parameters as per Oracle recommendations… fs.file-max 6815744 kernel.sem 250 32000 100 128 kernel.shmmni 4096 kernel.shmall 1073741824 kernel.shmmax 4398046511104 net.core.rmem_default 262144 net.core.rmem_max 4194304 net.core.wmem_default 262144 net.core.wmem_max 1048576 fs.aio-max-nr 1048576 net.ipv4.ip_local_port_range 9000 65500 Setting kernel parameters as per oracle recommendations… Altered file /etc/sysctl.conf Original file backed up at /etc/sysctl.conf.orabackup Verifying & setting of kernel parameters passed Verifying oracle user OS limits as per Oracle recommendations… oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 Setting oracle user OS limits as per Oracle recommendations… Altered file /etc/security/limits.conf Original file backed up at /etc/security/limits.conf.orabackup Verifying & setting of user limits passed Verifying kernel boot parameters as per Oracle recommendations… old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off Setting kernel boot parameters as per Oracle recommendations… Boot parameters will be effected on next reboot Altered file /boot/grub/grub.conf Original file backed up at /boot/grub/grub.conf.orabackup Verifying & setting of boot parameters passed Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-02-15-51 |
现在要安装 Oracle 11gR2 数据库,已是“万事具备,只欠东风”!
更多 Oracle 相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-01/139919.htm