標籤:oracle ebs oracle e-business suite oracle erp
參考文檔: 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後執行
[[email protected] ~]# 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
[[email protected] ~]# bash Create_User_Directory.sh
3. FTP上傳相關介質(初始安裝包,安裝補丁,RPM軟體包)
# 使用Binary模式
4. 配置Yum源
# 編輯/etc/yum.repos.d/oel5.6.repo
[[email protected] ~]# cat /etc/yum.repos.d/oel5.6.repo
[oel5.6]
name=oel5.6
baseurl=ftp://Server/oel5.6
gpgcheck=0
enabled=1
[[email protected] ~]#
5. 配置X Manager訪問
# 編輯/etc/gdm/custom.conf
[[email protected] ~]# grep -Ev ‘^$|^#‘ /etc/gdm/custom.conf
[daemon]
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=1
Port=177
[gui]
[greeter]
[chooser]
[debug]
[servers]
[[email protected] ~]#
6. 檢查SELinux狀態
# 保證SELinux關閉
[[email protected] ~]# grep -Ev ‘^$|^#‘ /etc/sysconfig/selinux
SELINUX=disabled
SELINUXTYPE=targeted
[[email protected] ~]#
7. 關閉iptables
service iptables stop;chkconfig iptables off
8. 調整主機名稱
a. 編輯/etc/hosts
[[email protected] ~]# 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
[[email protected] ~]#
b. 編輯/etc/sysconfig/network
[[email protected] ~]# grep -Ev ‘^$|^#‘ /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=EBS.Xin23.com
GATEWAY=192.168.3.1
[[email protected] ~]#
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
[[email protected] ~]# grep -Ev ‘^$|^#‘ /etc/security/limits.conf
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
[[email protected] ~]#
11. 介質上傳完成後解壓
[[email protected] 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
[[email protected] EBS_R12.1_Install_Media]# unzip "*.zip"
12. 安裝必須的RPM包
[[email protected] 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
[[email protected] 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
[[email protected] RPM]# bash RPM_Install.sh
[[email protected] RPM]# ldconfig -v
13. 檢查軟體需求
[[email protected] 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
[[email protected] RPM]#
14. 安裝補丁
[[email protected] EBS_R12.1_PreInstall_Patch]# unzip p6078836_101330_LINUX.zip
[[email protected] EBS_R12.1_PreInstall_Patch]# cd 6078836/
[[email protected] 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
[[email protected] 6078836]# cp libdb.so.2 /usr/lib
[[email protected] 6078836]# unlink /usr/lib/libXtst.so.6
[[email protected] 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.開始介面
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/23/wKioL1Rhe1yDtSfmAAHP-a1SyaQ614.jpg" title="1.png" alt="wKioL1Rhe1yDtSfmAAHP-a1SyaQ614.jpg" />
b. 選擇標準安裝
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/24/wKioL1RhfAeyYipOAAGtW4B4zIA200.jpg" style="float:none;" title="2.png" alt="wKioL1RhfAeyYipOAAGtW4B4zIA200.jpg" />
c. MOS帳號設定
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4F/24/wKioL1RhfAjwn5bCAAGynj7EqNA139.jpg" style="float:none;" title="3.png" alt="wKioL1RhfAjwn5bCAAGynj7EqNA139.jpg" />
d. 選擇建立一個新的配置
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/23/wKioL1Rhe8fDlnUFAAG5hYq4zyw250.jpg" style="float:none;" title="4.png" alt="wKioL1Rhe8fDlnUFAAG5hYq4zyw250.jpg" />
e. 全域系統設定
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/25/wKiom1Rhe17Qcgb7AAImeYk_Ypo299.jpg" style="float:none;" title="5.png" alt="wKiom1Rhe17Qcgb7AAImeYk_Ypo299.jpg" />
f. 資料庫節點配置
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4F/25/wKiom1Rhe1_RKFjZAAHCxwiasL8014.jpg" style="float:none;" title="6.png" alt="wKiom1Rhe1_RKFjZAAHCxwiasL8014.jpg" />
g. License類型
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/23/wKioL1Rhe8qDLSS5AAHN1vicQrQ046.jpg" style="float:none;" title="7.png" alt="wKioL1Rhe8qDLSS5AAHN1vicQrQ046.jpg" />
h. 選擇附加產品
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/25/wKiom1Rhe2CT-5sJAAH7_qlbHNA222.jpg" style="float:none;" title="8.png" alt="wKiom1Rhe2CT-5sJAAH7_qlbHNA222.jpg" />
i. 選擇特定國家的功能
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/23/wKioL1Rhe8yQWAAXAAH9kd_vuN0528.jpg" style="float:none;" title="9.png" alt="wKioL1Rhe8yQWAAXAAH9kd_vuN0528.jpg" />
j. 選擇國家設定
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4F/23/wKioL1Rhe82gsm8QAAI8U83tzPM196.jpg" style="float:none;" title="10.png" alt="wKioL1Rhe82gsm8QAAI8U83tzPM196.jpg" />
k. 主應用節點設定
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/23/wKioL1Rhe86DQDH8AAIVaV4iVfU510.jpg" style="float:none;" title="11.png" alt="wKioL1Rhe86DQDH8AAIVaV4iVfU510.jpg" />
l. 查看節點資訊
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/25/wKiom1Rhe2SzjWuPAAFjj7E_7PE786.jpg" style="float:none;" title="12.png" alt="wKiom1Rhe2SzjWuPAAFjj7E_7PE786.jpg" />
m. 安裝檢測
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/23/wKioL1Rhe9CiuWmbAAHNGmdFVV4404.jpg" style="float:none;" title="13.png" alt="wKioL1Rhe9CiuWmbAAHNGmdFVV4404.jpg" />
n. 安裝一覽
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4F/25/wKiom1Rhe2aS_A3DAAF_JuAK5mU210.jpg" style="float:none;" title="14.png" alt="wKiom1Rhe2aS_A3DAAF_JuAK5mU210.jpg" />
o. 開始安裝
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4F/23/wKioL1Rhe9GjZKExAACnfWZwKHU025.jpg" style="float:none;" title="15.png" alt="wKioL1Rhe9GjZKExAACnfWZwKHU025.jpg" />
p. 驗證安裝
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4F/25/wKiom1Rhe2ejZIZ5AAHQAjjlDyE366.jpg" style="float:none;" title="16.png" alt="wKiom1Rhe2ejZIZ5AAHQAjjlDyE366.jpg" />
q. 安裝完成
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/25/wKiom1Rhe2iS7StVAAGYiSITGeo534.jpg" style="float:none;" title="17.png" alt="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
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4F/25/wKiom1Rhe22j_R_SAASycy8SJcI738.jpg" style="float:none;" title="19.png" alt="wKiom1Rhe22j_R_SAASycy8SJcI738.jpg" />
The End
本文出自 “Xin23的流水賬” 部落格,謝絕轉載!
Oracle Enterprise Linux 5.6安裝Oracle E-Business Suite R12