Oracle Enterprise Linux 5.6安装Oracle E-Business Suite R12



参考文档:     Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (文档 ID 761566.1)



1.    文件系统需求


安装介质46G,解压出来的文件大约也是46G          
数据库软件安装目录大概需要55G空间
应用层软件安装目录大概需要空间30G空间


2.   创建相关用户和目录


#    编辑Create_User_Directory.sh后执行


[root@EBS ~]# cat Create_User_Directory.sh
groupadd dba
useradd -g dba oracle
useradd -g dba applmgr
mkdir -p /u01/app/oracle/{EBS,PATCH_DIR,MEDIA,RPM}
cd /u01/app/oracle/
chmod g+w EBS
chown oracle:dba EBS
chmod g+w PATCH_DIR
chown applmgr:dba PATCH_DIR
[root@EBS ~]# bash Create_User_Directory.sh


3.   FTP上传相关介质(初始安装包,安装补丁,RPM软件包)


#    使用Binary模式


4.   配置Yum源


#    编辑/etc/yum.repos.d/oel5.6.repo


[root@EBS ~]# cat /etc/yum.repos.d/oel5.6.repo
[oel5.6]
name=oel5.6
baseurl=ftp://Server/oel5.6
gpgcheck=0
enabled=1
[root@EBS ~]#


5.   配置X Manager访问


#    编辑/etc/gdm/custom.conf


[root@EBS ~]# grep -Ev '^$|^#' /etc/gdm/custom.conf
[daemon]
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=1
Port=177
[gui]
[greeter]
[chooser]
[debug]
[servers]
[root@EBS ~]#


6.   检查SELinux状态


#    保证SELinux关闭


[root@EBS ~]# grep -Ev '^$|^#' /etc/sysconfig/selinux
SELINUX=disabled
SELINUXTYPE=targeted
[root@EBS ~]#


7.    关闭iptables


service iptables stop;chkconfig iptables off



8.    调整主机名


a.    编辑/etc/hosts


[root@EBS ~]# grep -Ev '^$|^#' /etc/hosts
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.3.195   EBS.Xin23.com EBS
192.168.3.10    Server
[root@EBS ~]#

b.    编辑/etc/sysconfig/network

[root@EBS ~]# grep -Ev '^$|^#' /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=EBS.Xin23.com
GATEWAY=192.168.3.1
[root@EBS ~]#


9.   修改内核参数


#    编辑/etc/sysctl.conf添加如下文本

kernel.semmsl=256
kernel.semmns=32000
kernel.semopm=100
kernel.semmni=142
kernel.shmall=2097152
kernel.shmmax= 4294967295
kernel.shmmni=4096
kernel.msgmax=8192
kernel.msgmnb=65535
kernel.msgmni=2878
fs.file-max=131072
net.ipv4.ip_local_port_range = 10000 65500
net.ipv4.tcp_tw_recycle=0
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144

#    完成后保存退出并执行sysctl -p



10.  修改用户资源限制


#    编辑/etc/security/limits.conf


[root@EBS ~]# grep -Ev '^$|^#' /etc/security/limits.conf
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
[root@EBS ~]#


11.  介质上传完成后解压


[root@EBS EBS_R12.1_Install_Media]# ls
B53824-01_1of4.zip  V15680-01_1of3.zip  V15681-01_2of3.zip  V15682-01_3of3.zip  V15684-01_1of3.zip  V15685-01_2of3.zip  V15686-01_3of3.zip  V15688-01_1of2.zip  V15690-01_2of3.zip  V15691-01_3of3.zip
B53824-01_2of4.zip  V15680-01_2of3.zip  V15681-01_3of3.zip  V15683-01_1of3.zip  V15684-01_2of3.zip  V15685-01_3of3.zip  V15687-01_1of3.zip  V15688-01_2of2.zip  V15690-01_3of3.zip  V35224-01_1of3.zip
B53824-01_3of4.zip  V15680-01_3of3.zip  V15682-01_1of3.zip  V15683-01_2of3.zip  V15684-01_3of3.zip  V15686-01_1of3.zip  V15687-01_2of3.zip  V15689-01.zip       V15691-01_1of3.zip  V35224-01_2of3.zip
B53824-01_4of4.zip  V15681-01_1of3.zip  V15682-01_2of3.zip  V15683-01_3of3.zip  V15685-01_1of3.zip  V15686-01_2of3.zip  V15687-01_3of3.zip  V15690-01_1of3.zip  V15691-01_2of3.zip  V35224-01_3of3.zip
[root@EBS EBS_R12.1_Install_Media]# unzip "*.zip"


12.   安装必须的RPM包


[root@EBS RPM]# ls
openmotif21-2.1.30-11.EL5.i386.rpm  RPM_Install.sh  xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
[root@EBS RPM]# cat RPM_Install.sh
yum -y install libXp
rpm -i openmotif21-2.1.30-11.EL5.i386.rpm
rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
yum -y install gcc
yum -y install gcc-c++
yum -y install glibc-devel glibc-devel.i386
yum -y install libstdc++-devel libstdc++-devel.i386
yum -y install libgomp
yum -y install gdbm gdbm.i386
yum -y install sysstat
yum -y install elfutils-libelf-devel elfutils-libelf-devel-static
yum -y install libaio-devel
yum -y install unixODBC unixODBC.i386 unixODBC-devel unixODBC-devel.i386
[root@EBS RPM]# bash RPM_Install.sh

[root@EBS RPM]# ldconfig -v



13.   检查软件需求


[root@EBS RPM]# which ar gcc g++ ksh ld linux32 make
/usr/bin/ar
/usr/bin/gcc
/usr/bin/g++
/bin/ksh
/usr/bin/ld
/usr/bin/linux32
/usr/bin/make
[root@EBS RPM]#


14.   安装补丁


[root@EBS EBS_R12.1_PreInstall_Patch]# unzip p6078836_101330_LINUX.zip
[root@EBS EBS_R12.1_PreInstall_Patch]# cd 6078836/
[root@EBS 6078836]# mv /usr/lib/libdb.so.2 /usr/lib/libdb.so.2.6078836
mv: cannot stat `/usr/lib/libdb.so.2': No such file or directory
[root@EBS 6078836]# cp libdb.so.2 /usr/lib
[root@EBS 6078836]# unlink /usr/lib/libXtst.so.6
[root@EBS 6078836]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6


15.   重启服务器


shutdown -r now



16.   开始安装


/u01/app/oracle/MEDIA/EBS_R12.1_Install_Media/startCD/Disk1/rapidwiz/rapidwiz 



a.开始界面


wKioL1Rhe1yDtSfmAAHP-a1SyaQ614.jpg


b.    选择标准安装


wKioL1RhfAeyYipOAAGtW4B4zIA200.jpg


c.    MOS账号设置


wKioL1RhfAjwn5bCAAGynj7EqNA139.jpg


d.    选择创建一个新的配置


wKioL1Rhe8fDlnUFAAG5hYq4zyw250.jpg


e.    全局系统设置


wKiom1Rhe17Qcgb7AAImeYk_Ypo299.jpg


f.    数据库节点配置


wKiom1Rhe1_RKFjZAAHCxwiasL8014.jpg


g.    License类型


wKioL1Rhe8qDLSS5AAHN1vicQrQ046.jpg


h.    选择附加产品


wKiom1Rhe2CT-5sJAAH7_qlbHNA222.jpg


i.    选择特定国家的功能


wKioL1Rhe8yQWAAXAAH9kd_vuN0528.jpg


j.    选择国家设置


wKioL1Rhe82gsm8QAAI8U83tzPM196.jpg


k.    主应用节点设置


wKioL1Rhe86DQDH8AAIVaV4iVfU510.jpg


l.    查看节点信息


wKiom1Rhe2SzjWuPAAFjj7E_7PE786.jpg


m.    安装检测


wKioL1Rhe9CiuWmbAAHNGmdFVV4404.jpg


n.    安装一览


wKiom1Rhe2aS_A3DAAF_JuAK5mU210.jpg


o.    开始安装


wKioL1Rhe9GjZKExAACnfWZwKHU025.jpg


p.    验证安装


wKiom1Rhe2ejZIZ5AAHQAjjlDyE366.jpg


q.    安装完成


wKiom1Rhe2iS7StVAAGYiSITGeo534.jpg



17.   安装后任务(Bug修复)


a.    Oracle用户添加环境变量


ln -s /u01/app/oracle/EBS/db/tech_st/11.1.0/EBS_ebs.env ~/EBS_ebs.env;echo '. EBS_ebs.env' >> ~/.bashrc


b.    修复Bug


SQL> alter database datafile '/u01/app/oracle/EBS/db/apps_st/data/system09.dbf' resize 1000m;

Database altered.

SQL> alter database datafile '/u01/app/oracle/EBS/db/apps_st/data/system09.dbf' resize 1500m;

Database altered.

SQL>

 

c.    APP用户添加环境变量


ln -s /u01/app/oracle/EBS/apps/apps_st/appl/APPSEBS_ebs.env ~/APPSEBS_ebs.env ; echo '. APPSEBS_ebs.env' >> ~/.bashrc 


d.    修复Bug


编辑$AD_TOP/bin/adrelinknew.sh


把CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'

替换成

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec' 


e.    使用adadmin工具Relink Applications programs


adadmin


Maintain Applications Files menu

Relink Applications programs



18.   登录测试


a.  在客户端添加静态解析


192.168.3.195 ebs.Xin23.com ebs


b.    访问地址http://ebs.xin23.com:8000/OA_HTML/AppsLogin


USER:         sysadmin

PASSWORD:     sysadmin


wKiom1Rhe22j_R_SAASycy8SJcI738.jpg




The End



本文出自 “Xin23的流水账” 博客,谢绝转载!

你可能感兴趣的:(oracle,oracle,oracle,ERP,ebs,suite,E-Business)