内存要求:至少1G RAM,推荐2G以上查询:# grep MemTotal /proc/meminfo交换空间(swap):RAM内存在2G-16G之间,SWAP SPACE等于RAM 查询:# grep SwapTotal /proc/meminfo
磁盘空间要求:安装类型:企业版软件文件4.5G;数据文件1.7G
操作系统需求:On Linux x86-64Asianux Server 3 SP2Oracle Linux 4 Update 7Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)Oracle Linux 5 Update 5Oracle Linux 6Oracle Linux 6 (with Red Hat Compatible Kernel)Red Hat Enterprise Linux 4 Update 7Red Hat Enterprise Linux 5 Update 2Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)Red Hat Enterprise Linux 6Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)SUSE Linux Enterprise Server 10 SP2SUSE Linux Enterprise Server 11
查询已安装linux的发行内核版本号# cat /proc/version查询linux版本号# lsb_release -id
rpm包需求:Asianux Server 3, Oracle Linux 5, and Red Hat Enterprise Linux 5binutils-2.17.50.0.6;compat-libstdc++-33-3.2.3;elfutils-libelf-0.125;elfutils-libelf-devel-0.125;elfutils-libelf-devel-static-0.125;gcc-4.1.2 gcc-c++-4.1.2 ;glibc-2.5-24 ;glibc-common-2.5;glibc-devel-2.5;glibc-headers-2.5;kernel-headers-2.6.18;ksh-20060214 ;libaio-0.3.106;libaio-devel-0.3.106;libgcc-4.1.2 ;libgomp-4.1.2;libstdc++-4.1.2;libstdc++-devel-4.1.2;make-3.81 sysstat-7.0.2输入命令rpm -q *.rpm查询rpm包是否安装;输入命令rpm -ivh *.rpm安装rpm包;
创建操作系统组和用户:groupadd -g 501 oinstall;groupadd -g 502 dba;useradd -g oinstall -G dba oracle;passwd oracle
创建oracle基目录:mkdir /u01/app/oracle -p;修改oracle基目录所有者为oracle:chown -R oracle:oinstall /u01/app/oracle修改oracle基目录权限:chmod -R 775 /u01/app/oracle
修改内核参数:/etc/sysctl.conffs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 4294967295kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576输入命令# /sbin/sysctl -p,使修改的内容生效
修改/etc/hosts文件,添加192.168.80.131 dream2;输入ifconfig 查询ip地址为192.168.80.131;输入hostname查询主机名为dream2
设置ORACLE环境变量,修改oracle用户的.bash_profile文件
将oracle数据库两个安装包拷贝到u01,然后解压缩unzip linux_11gR2_database_1of2.zip unzip linux_11gR2_database_1of2.zip解压缩后生成database文件夹
修改/tmp权限为777,切换至oracle用户,切换目录至/u01/database;运行安装程序./runInstaller
弹出oracle通用安装程序oracle universal installer,一步步安装即可