yum install gcc \
glibc \
glibc-common \
glibc-devel \
glibc-devel \
libgcc \
libgcc \
libstdc++ \
libstdc++ \
libstdc++ \
libstdc++ \
make \
gdbm \
gdbm \
libXp \
libXp \
libaio \
libaio \
libgomp \
sysstat \
util-linux \
compat-libstdc++ \
compat-libstdc++ \
compat-libstdc++ \
elfutils-libelf-devel \
elfutils-libelf-devel-static \
libaio-devel \
unixODBC \
unixODBC \
unixODBC \
unixODBC-devel \
kernel-headers
下载安装
openmotif21-2.1.30-11.EL5.i386.rpm
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
# add for EBS
kernel.sem =256 32000 100 142
kernel.shmall =2097152
kernel.shmmax =2147483648
kernel.shmmni =4096
kernel.msgmax =8192
kernel.msgmnb =65535
kernel.msgmni =2878
fs.file-max =131072
net.ipv4.ip_local_port_range =1024 65000
net.core.rmem_default =262144
net.core.rmem_max =4194304
net.core.wmem_default =262144
net.core.wmem_max =262144
[root@localhost yum.repos.d]# tail -1 /etc/hosts
192.168.10.119 ebsprod.myerp.com ebsprod
[root@localhost yum.repos.d]# tail -4 /etc/security/limits.conf
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
创建用户组,用户,dba,oinstall,oraprod,applprod
[root@ebsprod software]# id oraprod
uid=500(oraprod) gid=500(dba) groups=500(dba),501(oinstall)
[root@ebsprod software]# id applprod
uid=501(applprod) gid=500(dba) groups=500(dba),501(oinstall)
创建目录修改权限
[root@ebsprod software]# ls -ld /app/ora_prod/ /app/appl_prod/
drwxr-xr-x 4 applprod dba 4096 Jun 4 19:38 /app/appl_prod/
drwxr-xr-x 3 oraprod dba 4096 Jun 4 22:06 /app/ora_prod
如果报错:
What happens is that you will receive an RW-50015 Error message during the Rapidwiz install process.
RW-50015: Error: - HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.
下载补丁
According to the release notes from Oracle Metalink Support (Note #402310.1)
Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit)
Oracle HTTP Server Patch (on OEL 5 and RHEL 5 onl
[oracle@ebs oracle]$ unzip p6078836_101330_LINUX.zip
Archive: p6078836_101330_LINUX.zip
creating: 6078836/
inflating: 6078836/libdb.so.2
inflating: 6078836/README.txt
[oracle@ebs oracle]$ ls
6078836 apps db inst p6078836_101330_LINUX.zip StageR12
[oracle@ebs oracle]$ cd 6078836/
[oracle@ebs 6078836]$ ls
libdb.so.2 README.txt
Then we copy to /usr/lib.
[root@ebs 6078836] $ cp libdb.so.2 /usr/lib
[root@ebs lib]# cd /usr/lib
[root@ebs lib]# pwd
/usr/lib
[root@ebs lib]# ls libdb.so*
libdb.so libdb.so.2
传p8576725_12.1.0_R12_GENERIC.zip到/stage/patch下
用appltest用户,加载环境变量
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env
1 2 |
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env |
用appltest用户解压补丁
cd /stage/patch unzip p8576725_12.1.0_R12_GENERIC.zip
1 2 |
cd /stage/patch unzip p8576725_12.1.0_R12_GENERIC.zip |
开启维护模式
adadmin 5 1
用adpatch打补丁
cd /stage/patch/8576725 adpatch
1 2 |
cd /stage/patch/8576725 adpatch |
回车
8576725.log
除了输入system用户密码manager和AutoPatch driver file文件名u8576725.drv其他都回车
(第一次打补丁更新snapshot需要几分钟左右。)
(确认补丁目录时一定要注意是/patch/stage/111111类似目录后再回车确认,如果显示/patch/stage等其他情况则手动输入类似/patch/stage/111111的补丁目录后回车。)
再等待几分钟打完补丁。
关闭维护模式
adadmin 5 2
打开主机(hosts添加192.168.66.6 test.ebs.local test)或虚拟机上的网页浏览器
http://test.ebs.local:8001
sysadmin/sysadmin
System Administrator
License Manager
License 下的Languages
勾选Simplified Chinese然后Next
选择Simplified Chinese然后Next
Submit
OK
注销,关闭浏览器
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env $ADMIN_SCRIPTS_HOME/adstpall.sh apps/apps
1 2 3 |
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env $ADMIN_SCRIPTS_HOME/adstpall.sh apps/apps |
最后应显示status0然后等待几分钟或者通过
ps -ef | grep frmweb ps -ef | grep http ps -ef | grep tns ps -ef | grep FNDLIBR
1 2 3 4 |
ps -ef | grep frmweb ps -ef | grep http ps -ef | grep tns ps -ef | grep FNDLIBR |
查看应用进程是否全部结束。
(除了tns结果显示[netns]、数据库监听和grep tns三个外,其他结果应只显示一个“grep 关键词”,FNDLIBR一般需要几分钟以上才能自动关闭。)
(用appltest用户并加载环境变量)
adadmin 4 3
(用appltest用户并加载环境变量)
adadmin 5 1
将V16181-01.zip传到/stage/patch目录下
(用appltest用户并加载环境变量)
cd /stage/patch unzip V16181-01.zip cd /stage/patch/6678700_ZHS adpatch
1 2 3 4 |
cd /stage/patch unzip V16181-01.zip cd /stage/patch/6678700_ZHS adpatch |
6678700_ZHS.log
manager
u6678700.drv\
等待几个小时。
(
可以新开一个终端窗口查看worker状态。
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env adctrl
1 2 3 |
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env adctrl |
)
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env adgennls.pl
1 2 3 |
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env adgennls.pl |
按回车确认APPS用户然后输入密码apps回车
等待几分钟
(用appltest用户并加载环境变量)
adadmin 1 1
等待几分钟
(建议直接去论坛找做好的chm文件,系统内帮助用起来麻烦些)
(系统已经打好6746000、7303031两个英文帮助补丁,7303031只含R12.1.1,6746000含R12.0和R12.1.1)
将p6746000_R12_zhs.zip传到/stage/patch目录下
(用appltest用户并加载环境变量)
cd /stage/patch unzip p6746000_R12_zhs.zip cd /stage/patch/6746000_ZHS adpatch
1 2 3 4 |
cd /stage/patch unzip p6746000_R12_zhs.zip cd /stage/patch/6746000_ZHS adpatch |
6746000_ZHS.log
manager< 确认目录/stage/patch/6746000_ZHS u6746000.drv
等待一两个小时
(用appltest用户并加载环境变量)
adadmin 5 2
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env $ADMIN_SCRIPTS_HOME/adstrtal.sh apps/apps
1 2 3 |
su - appltest . /u01/TEST/apps/apps_st/appl/APPSTEST_test.env $ADMIN_SCRIPTS_HOME/adstrtal.sh apps/apps |
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。