在Linux上安装oracle11g和was7全过程目录一、安装环境...................................................................................................................................................................21.1.IP地址.......................................................................................................................................................................21.2.硬件配置....................................................................................................................................................................21.3.文件系统划分............................................................................................................................................................21.4.软件介质....................................................................................................................................................................2二、安装Linux(RedHatEnterpriseLinux6.4)操作系统................................................................................22.1.系统安装过程............................................................................................................................................................22.2.系统参数配置..........................................................................................................................................................192.3.yum配置...............................................................................................................................................................19三、安装Oracle11.2.0.3............................................................................................................................................203.1.添加oracle用户和组.........................................................................................................................................203.2.创建文件夹并授权..................................................................................................................................................203.3.内存参数设置..........................................................................................................................................................203.4.oracle用户环境变量设置.....................................................................................................................................203.5.安装oracle依赖包................................................................................................................................................213.6.安装Oracle11.2.0.3软件.................................................................................................................................21四、安装Websphere7.0...........................................................................................................................................284.1.安装过程..................................................................................................................................................................284.2.起停脚本..................................................................................................................................................................36一、安装环境1.1.IP地址1.2.硬件配置内存8G磁盘空间:73G×41.3.文件系统划分Swap4G/boot512M/200G在/下创建/websphere、/oracle目录1.4.软件介质安装软件、应用包全部放在/home下Linux安装盘(RedHatEnterpriseLinux6.4)Oracle11.2.0.3forlinux64bitWebsphere7.0NDXmanager4.0二、安装Linux(RedHatEnterpriseLinux6.4)操作系统2.1.系统安装过程--重起后配置界面--重起后出现登录界面2.2.系统参数配置关闭防火墙[root@foawas~]#chkconfigiptablesoffHosts配置[root@foawas~]#vi/etc/hosts127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6localhost6.localdomain610.41.130.46foawas2.3.yum配置将安装光盘整个拷贝到/home/rhel6.4/\cp-R/media/RHEL_6.4x86_64Disc1/*/home/rhel6.4/配置yum[root@foawasyum.repos.d]#vi/etc/yum.repos.d/rhel-source.repo[rhel-source]name=RedHatEnterpriseLinux$releasever-$basearch-Sourcebaseurl=file:///home/rhel6.4/enabled=1gpgcheck=1gpgkey=file:///home/rhel6.4/RPM-GPG-KEY-redhat-release三、安装Oracle11.2.0.33.1.添加oracle用户和组[root@foawasoracle]#groupaddoinstall[root@foawasoracle]#groupadddba[root@foawasoracle]#useradd-goinstall-Gdba-moracle[root@foawasoracle]#passwdoracle3.2.创建文件夹并授权[root@foawasoracle]#mkdir/oracle/app[root@foawasoracle]#mkdir/oracle/app/oracle[root@foawasoracle]#mkdir/oracle/app/oradata[root@foawasoracle]#mkdir/oracle/app/oracle/product[root@foawasoracle]#chown-Roracle:oinstall/oracle/app[root@foawasoracle]#ls-ldrwxr-xr-x.4oracleoinstall4096May2216:38app3.3.内存参数设置[root@foawas~]#vi/etc/security/limits.conforaclesoftnproc2047oraclehardnofile65536oraclehardmemlock52428800oraclesoftmemlock52428800[root@foawas~]#vi/etc/sysctl.confkernel.shmmni=4096kernel.sem=25032000100128fs.file-max=6815744net.ipv4.ip_local_port_range=900065500net.core.rmem_default=262144net.core.wmem_default=262144net.core.rmem_max=4194304net.core.wmem_max=1048576fs.aio-max-nr=1048576[root@foawas~]#sysctl-p3.4.oracle用户环境变量设置[root@foawas/]#su-oracle[oracle@foawas~]$vi.bash_profileexportORACLE_BASE=/oracle/app/oracleexportORACLE_HOME=$ORACLE_B