资源预览内容
第1页 / 共44页
第2页 / 共44页
第3页 / 共44页
第4页 / 共44页
第5页 / 共44页
第6页 / 共44页
第7页 / 共44页
第8页 / 共44页
第9页 / 共44页
第10页 / 共44页
亲,该文档总共44页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Oracle 12c R1 RAC for Oracle Linux 6.4 X86_64 install物理机配置:Core i3 CPU(64位、VT技术支持即可),Win7 X86_64位系统(64位系统即可),6G内存(全安装完后,内存利用率为95%),300G硬盘虚拟机配置(1,2机同配):1 CPU,2.5G内存,50G硬盘,双网卡软件:VirtualBox 4.3.8,Oracle Linux 6.4 X86_64,Oracle 12C R1 X86_64(包含四个文件),oracleasm驱动(包含一个文件,X86_64),详见下面:安装Oracle Linux 6.4系统,安装时选择Desktop,因为要用Oracle 12c图形安装,避免麻烦,具体安装包如下:BaseSystemBaseBaseSystemCompatibilitylibrariesBaseSystemHardwaremonitoringutilitiesBaseSystemLargeSystemsPerformanceBaseSystemNetworkfilesystemclientBaseSystemPerformanceToolsBaseSystemPerlSupportBaseSystem Java PlatformServersServerPlatformServersSystemadministrationtoolsServers oracle-rdbms-server-11gR2-Servers oracleasm-support-DesktopsDesktopDesktopsDesktopPlatformDesktopsFontsDesktopsGeneralPurposeDesktopDesktopsGraphicalAdministrationToolsDesktopsInputMethodsDesktopsXWindowSystemApplicationsInternetBrowserDevelopmentAdditionalDevelopmentDevelopmentDevelopmentTools检测硬件环境:grep MemTotal /proc/meminfo 内存4Ggrep SwapTotal /proc/meminfo 交换分区2.5Gdf m /tmp /tmp目录空闲区2Gfree 查看可用内存和交换空间df m 硬盘空闲空间30Guname m;uname a 查看系统提醒架构cat /etc/oracle-release;lsb_release id 查看系统发行版本一、oracle linux 6 yum服务器的搭建备份/etc/yum.repos.d/下其他repo文件mount/dev/cdrom/mntrpm -ivh createrepo-0.9.9-17.el6.noarch.rpm deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm然后建立以下内容local.repo文件Servername=Serverbaseurl=file:/mnt/Servergpgcheck=0enabled=1gpgkey=file:/mnt/RPM-GPG-KEY-oracle然后yumcleanall然后就可以yum-yinstall了二、依赖包yuminstallbinutils-yyuminstallcompat-libcap1-yyuminstallcompat-libstdc+-33-yyuminstallcompat-libstdc+-33.i686-yyuminstallgcc-yyuminstallgcc-c+-yyuminstallglibc-yyuminstallglibc.i686-yyuminstallglibc-devel-yyuminstallglibc-devel.i686-yyuminstallksh-yyuminstalllibgcc-yyuminstalllibgcc.i686-yyuminstalllibstdc+-yyuminstalllibstdc+.i686-yyuminstalllibstdc+-devel-yyuminstalllibstdc+-devel.i686-yyuminstalllibaio-yyuminstalllibaio.i686-yyuminstalllibaio-devel-yyuminstalllibaio-devel.i686-yyuminstalllibXext-yyuminstalllibXext.i686-yyuminstalllibXtst-yyuminstalllibXtst.i686-yyuminstalllibX11-yyuminstalllibX11.i686-yyuminstalllibXau-yyuminstalllibXau.i686-yyuminstalllibxcb-yyuminstalllibxcb.i686-yyuminstalllibXi-yyuminstalllibXi.i686-yyuminstallmake-yyuminstallsysstat-yyuminstallunixODBC-yyuminstallunixODBC-devel-ybinutils-2.20.51.0.2-5.11.el6 (x86_64)compat-libcap1-1.10-1 (x86_64)compat-libstdc+-33-3.2.3-69.el6 (x86_64)compat-libstdc+-33-3.2.3-69.el6 (i686)gcc-4.4.4-13.el6 (x86_64)gcc-c+-4.4.4-13.el6 (x86_64)glibc-2.12-1.7.el6 (i686)glibc-2.12-1.7.el6 (x86_64)glibc-devel-2.12-1.7.el6 (x86_64)glibc-devel-2.12-1.7.el6 (i686)kshlibgcc-4.4.4-13.el6 (i686)libgcc-4.4.4-13.el6 (x86_64)libstdc+-4.4.4-13.el6 (x86_64)libstdc+-4.4.4-13.el6 (i686)libstdc+-devel-4.4.4-13.el6 (x86_64)libstdc+-devel-4.4.4-13.el6 (i686)libaio-0.3.107-10.el6 (x86_64)libaio-0.3.107-10.el6 (i686)libaio-devel-0.3.107-10.el6 (x86_64)libaio-devel-0.3.107-10.el6 (i686)libXext-1.1 (x86_64)libXext-1.1 (i686)libXtst-1.0.99.2 (x86_64)libXtst-1.0.99.2 (i686)libX11-1.3 (x86_64)libX11-1.3 (i686)libXau-1.0.5 (x86_64)libXau-1.0.5 (i686)libxcb-1.5 (x86_64)libxcb-1.5 (i686)libXi-1.3 (x86_64)libXi-1.3 (i686)make-3.81-19.el6sysstat-9.0.4-11.el6 (x86_64)检查软件包的安装rootoradata12C # rpm -qa | grep binutilsrootoradata12C # rpm -qa | grep compatrootoradata12C # rpm -qa | grep gccrootoradata12C # rpm -qa | grep compat-libstdc+rootoradata12C # rpm -qa | grep glibcrootoradata12C # rpm -qa | grep kshrootoradata12C # rpm -qa | grep libgccrootoradata12C # rpm -qa | grep libstdc+rootoradata12C # rpm -qa | grep libaiorootoradata12C # rpm -qa | grep libXrootoradata12C # rpm -qa | grep libXextrootoradata12C # rpm -qa | grep libXtstrootoradata12C # rpm -qa | grep libXextrootoradata12C # rpm -qa | grep libXtstrootoradata12C # rpm -qa | grep libX11rootoradata12C # rpm -qa | grep libXaurootoradata12C # rpm -qa | grep libXirootoradata12C # rpm -qa | grep libxcbrootoradata12C # rpm -qa | grep makerootoradata12C # rpm -qa | grep sysstat三、内核参数(RAC时,01、02机相同)vi /etc/sysctl.confkernel.shmmni=4096kernel.sem=250 32000 100 128kernel.shmmax= 4398046511104 kernel.shmall= 1073741824fs.file-max=6815744net.ipv4.ip_local_port_range=9000 65500net.core.rmem_default=262144net.core.wmem_default=262144net.core.rmem_max=4194304net.core.
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号