[Oracle安装配置.docx
文本预览下载声明
Oracle安装配置参考官方文档Quick Installation Guide如果出现提示时间不同步问题,VirtualBox安装增强组件Guest AdditionsOracle安装前配置1.1上传Oracle软件WinSCP上传10201_database_linux_x86_64.cpio.gz至OracleCS01虚机的/tmp目录1.2 解压cpio.gz# gunzip 10201_database_linux_x86_64.cpio.gz# cpio -idmv 10201_database_linux_x86_64.cpio1.3 配置yum本地源#mount /dev/cdrom /media#cd /etc/yum.repos.d/#cprhel-debuginfo.reporhel-debuginfo.repo.bak#vi /etc/yum.repos.d/rhel-debuginfo.repo[rhel-debuginfo]baseurl=ftp ://…更改为baseurl=file:///media/Serverenabled=0 更改为enabled=1# yum clean all2.1 List of Packages#cd /media/Server#yum update xxx.rpm#yum install xxx.rpmX64下,(i386)的packages也要安装The following (or later versions) are the list of packages for Asianux 3, Oracle Linux 5, and Red Hat Enterprise Linux 5:binutils-.6-2.el5compat-db-4.2.52-5.1compat-gcc-34-3.4.6-4compat-gcc-34-c++-3.4.6-4compat-libstdc++-33-3.2.3-61compat-libstdc++-33-3.2.3-61(i386)compat-libstdc++-296(i386)gcc-4.1.1-52.el5.2gcc-c++-4.1.1-52.el5.2glibc-2.5-12glibc-2.5-12(i386)glibc-common-2.5-12glibc-devel-2.5-12glibc-devel-2.5-12(i386)glibc-headers-2.5-12libgcc-4.1.1-52.el5(i386)libXp-1.0.0(i386)libXt-1.0.2(i386)libXtst-1.0.1(i386)libaio-0.3.106-3.2libaio-devel-0.3.106-3.2libgcc-4.1.1-52.el5libstdc++-4.1.1-52.el5.2libstdc++-devel-4.1.1-52.el5.2libgomp-4.1.1-52.EL5make-3.81-1.1numactl-devel-0.9.8.x86_64sysstat-7.0.0-3.el52.2 增加Oracle用户# /usr/sbin/groupadd oinstall# /usr/sbin/groupadd dba# /usr/sbin/useradd -g oinstall -G dba oracle# passwd oracle2.3 系统参数修改# vi /etc/sysctl.confkernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default = 262144net.core.rmem_max = 262144net.core.wmem_default = 262144net.core.wmem_max = 262144配置生效# /sbin/sysctl -p2.4 增加用户限制# vi /etc/security/limits.conforacle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65
显示全部