Вы находитесь на странице: 1из 5

How To: Install Oracle EBS R12.1.

1 on Li
nux (1 Node)
----------------------------------------------------------------------------------------Software Used
-------------------VMware 10
Oracle Enterprise Linux: Enterprise-R5-U5-Server-x86_64-dvd
Oracle EBS R12.1.1
Download Oracle EBS R12.1.1 & Oracle Linux from "edelivery.oracle.com"
------------------------Install Oracle Linux
--------------------------------------------------install VMware tools
------------------------------------------------------------Copy software to your VM
Unzip your software
----------------------------------Unzip all parts >> unzip '*.unzip'
Remove all zipped folders to save space
---------------------------------------------configure linux & VMware network
---------------------------------------------IP: 192.168.40.50
Subnet: 255.255.255.0
Gateway & DNS: 192.168.40.2
Hosts file: ebsr12.oraebs.com
-------------------------configure linux yum
-------------------------# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
--------------------------------Check Missed Packages
--------------------------------rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \
binutils control-center gcc gcc-c++ glibc glibc-common \
libstdc++ libstdc++-devel make sysstat libaio \
libaio-devel glibc-devel libgcc \
gdbm libgomp util-linux xorg-x11-libs-compat \
elfutils-libelf-devel elfutils-libelf-devel-static \
libaio-devel xorg-x11-libs-compat \
unixODBC unixODBC-devel kernel-headers binutils openmotif21 make gdbm \
libXp libgomp
-----------------Install Missed
-----------------yum -y install util-linux unzip gdbm sysstat binutils gcc gcc-c++ libaio-devel g

libc-devel libstdc++-devel elfutils-libelf-devel elfutils-libelf-devel-static un


ixODBC unixODBC-devel kernel-headers libXp.so.6 make ksh
-----------------------------------------------------Download openmotif & xorg liberary from
-----------------------------------------------------https://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
Choose the suitable package for your Linux version (5,6 OR 7)
install packages
rpm -Uvh openmotif
rpm -Uvh xorg
----------------------------------Modify Kernel Parameters
----------------------------------Shared memory
--------------------echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
echo "kernel.sem=250 32000 100 128" >> /etc/sysctl.conf
echo "fs.file-max=65536" >> /etc/sysctl.conf
echo "net.ipv4.ip_local_port_range = 2024 65000" >> /etc/sysctl.conf
----------------------------------------------Modify number of open descriptors
----------------------------------------------echo "hard nofile 65535" >> /etc/security/limits.conf
echo "soft nofile 4096" >> /etc/security/limits.conf
echo "hard nproc 16384" >> /etc/security/limits.conf
echo "soft nproc 2047" >> /etc/security/limits.conf
--------------------vi /etc/resolv.conf
--------------------options attempts:5
options timeout:15
--------------------temp dir
--------------------export TMPDIR=/tmp
export TMP=/tmp
----------------------------------Solve Oracle Application Server error
----------------------------------Link to Motif library in Oracle Application Server 10.1.2
unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
------------------------------------------Solve Oracle HTTP server error
------------------------------------------ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
OR
if you have patch p6078836_101330_LINUX.zip from MOS
cp libdb.so.2 /usr/lib

------------------------------------------OS Users and group creation


------------------------------------------groupadd dba
useradd oracle -g dba
useradd applmgr -g dba
passwd oracle
passwd applmgr
---------Let system update the changes without restarting
---------sysctl -p
---------Permissions are given to oracle and applmgr so that they can write to /d01/oracl
e
---------mkdir -p /d01/oracle
chgrp -R dba /d01 | chmod g+rwx /d01/oracle
--------------oraInst.loc
--------------vi /etc/oraInst.loc
inventory_loc=/d01/oracle/oraInventory
-----------------------run Rapid Installer
-----------------------sh /ebs/Stage/startCD/Disk1/rapidwiz/rapidwiz
Finishing your Installation
-----------------------Setup environment files for oracle & applmgr
-----------------------su - oracle
vi .bash_profile
add this line after PATH ". /d01/oracle/PROD/db/tech_st/11.1.0/PROD_ebs12.env"
su - applmgr
vi .bash_profile
add this line after PATH ". /d01/oracle/PROD/apps/apps_st/appl/APPSPROD_ebsr12.e
nv"

---------------Default Passwords
----------------

Database:
SYS/change_on_install
SYSTEM/manager
Application Schema passwords:
APPS Schema: APPS/APPS
GWYUID User: APPLSYSPUB/PUB
Guest User: GUEST/ORACLE
Application Users:
SYSADMIN/SYSADMIN
MFG/WELCOME
OPERATIONS/WELCOME
SERVICES/WELCOME
MRC/WELCOME
HRMS/WELCOME
-------------Environment File
Database ORACLE_HOME environment file passes instantiated variables test:
File = /d01/oracle/PROD/db/tech_st/11.1.0/PROD_ebs.env
su - oracle
vi .bash_profile
add this line after PATH ". /d01/oracle/PROD/db/tech_st/11.1.0/PROD_ebs.env"
Apps ORACLE_HOME environment file passes instantiated variables test:
File = /d01/oracle/PROD/apps/apps_st/appl/APPSPROD_ebs.env
su - applmgr
vi .bash_profile
add this line after PATH ". /d01/oracle/PROD/apps/apps_st/appl/APPSPROD_ebs.env"
----------------------------login
http://<host name>.<domain name>:<HTTP port>/OA_HTML/AppsLogin
----------------------------Configuration file
$ORACLE_HOME/appsutil/conf_<SID>.txt
$INST_TOP/conf_<SID>.txt
/tmp/<timestamp> During Installation only
----------------------------Rapid Install Log Files
Database
$ORACLE_HOME/appsutil/log/<CONTEXT_NAME>/<timestamp>.log
Apps
/d01/oracle/PROD/inst/apps/<CONTEXT_NAME>/logs/<timestamp>.log
-------------run Java 7 Problem
---------------killall -9 firefox
mkdir /opt/java
chmod 777 java
update-alternatives --install /usr/bin/java java /opt/java/jre1.7.0_80/bin/java
1
update-alternatives --set java /opt/java/jre1.7.0_80/bin/java
export JAVA_HOME="/opt/java/jre1.7.0_80/bin/java"

for 32-bit
cd /usr/lib/mozilla/plugins
for 64-bit
cd /usr/lib64/mozilla/plugins
ln -sf /opt/java/jre1.7.0_80/lib/amd64/libnpjp2.so
then test your java plugin

---------------run Java 8 Problem


---------------killall -9 firefox
mkdir /opt/java
update-alternatives --install /usr/bin/java java /opt/java/jre1.8.0_05/bin/java
1
update-alternatives --set java /opt/java/jre1.8.0_40/bin/java
export JAVA_HOME="/opt/java/jre1.8.0_40/bin/java"
for 32-bit
cd /usr/lib/mozilla/plugins
for 64-bit
cd /usr/lib64/mozilla/plugins

ln -sf /opt/java/jre1.8.0_40/lib/amd64/libnpjp2.so

Вам также может понравиться