标签:EBS12.2.6安装 EBS12.2 installatio
基础环境安装(本ERP是通过虚拟机进行安装)
[root@localhost Downloads]# free -h
total used free shared buff/cache available
Mem: 31G 629M 24G 10M 6.0G 30G
Swap: 15G 0B 15G
[root@localhost Downloads]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 140K 16G 1% /dev/shm
tmpfs 16G 8.9M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/ol-root 50G 3.5G 47G 7% /
/dev/sda1 1014M 195M 820M 20% /boot
/dev/mapper/ol-home 384G 37M 384G 1% /home
tmpfs 3.2G 40K 3.2G 1% /run/user/0
(1)为Swap 添加5G交换空间
dd 命令 创建swap用的分区文件 /var/swap
分区大小设为5g
[root@localhost Downloads]# dd if=/dev/zero of=/var/swap bs=1024 count=5120000
5120000+0 records in
5120000+0 records out
5242880000 bytes (5.2 GB) copied, 11.2504 s, 466 MB/s
将文件变成swap分区
root@localhost Downloads]# mkswap /var/swap
Setting up swapspace version 1, size = 5119996 KiB
no label, UUID=a5731643-78a0-4869-be54-1355741edc67
[root@localhost Downloads]# mkswap -f /var/swap
mkswap: /var/swap: warning: wiping old swap signature.
Setting up swapspace version 1, size = 5119996 KiB
no label, UUID=0030a9b0-c720-4a7e-b717-2a4e07f1c9ee
[root@localhost Downloads]#
开启swap
[root@localhost Downloads]# swapon /var/swap
swapon: /var/swap: insecure permissions 0644, 0600 suggested.
[root@localhost Downloads]#
查看swap
[root@localhost Downloads]# free -h
total used free shared buff/cache available
Mem: 31G 633M 24G 10M 6.0G 30G
Swap: 20G 0B 20G
[root@localhost Downloads]#
[root@localhost Downloads]# more /proc/swaps
Filename Type Size Used Priority
/dev/dm-1 partition 16515068 0 -1
/var/swap file 5119996 0 -2
开机自启动
vi /etc/fstab
/var/swap swap swap defaults 0 0
配置DNS
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# vi ifcfg-ens160
重启网络
[root@localhost network-scripts]# service network restart
Restarting network (via systemctl): [ OK ]
检查是否能连接外网
修改 /etc/hosts
vim /etc/hosts
192.168.1.105 oraerp.honglicheng.com oraerp
192.168.1.105 honglicheng.com
检查 oraerp ,oraerp.honglicheng.com的连通性
修改hostname
[root@localhost network-scripts]# vim /etc/hostname
oraerp
检查hostname
[root@localhost network-scripts]# hostnamectl --static
oraerp
[root@localhost network-scripts]#
[root@localhost network-scripts]# hostnamectl --transient
oraerp
修改selinux
vim /etc/selinux/config
将SELINUX=enforcing修改为SELINUX=disabled
检查NPTL
[root@oraerp ~]# getconf GNU_LIBPTHREAD_VERSION
设置hostname
[root@oraerp ~]# vim /etc/sysconfig/network
# Created by anaconda
hostname=oraerp.honglicheng.com
修改numa =off 和transparent_hugepage=nerver
Examples:(for numa =off)
(1)RHEL 4, RHEL 5, RHEL 6 (/boot/grub/grub.conf)
(2)RHEL 7 (/boot/grub2/grub.cfg)
(3)RHEL 7 (setting defaults for newly installed kernels in /etc/default/grub)
在EBS安装中过程中,numa 和transparent_hugepage参数设置如下:
[root@oraerp grub2]# vim /boot/grub2/grub.cfg
EBS 预安装RPM包
1、下载public-yum-ol7.repo到cd /etc/yum.repos.d
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol7.repo
2、将enabled=0 修改为 enabled=1
3、更新所有packages,然后安装EBS 预安装包。
yum update
yum install oracle-ebs-server-R12-preinstall
4、Linux 安装EBS(DB和APP)内核参数设置
Linux 安装Oracle EBS12的预安装文件包(Pre_install packages)检查。
(1)预安装文件包如下
compat-libstdc++-296-2.96-144.0.2.el7.i686
openmotif21-2.1.30-11.EL7.i6861
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
libXrender-0.9.8-2.1.el7.i686
perl-File-CheckTree-4.42-3.el7.noarch
binutils-2.23.52.0.1-16.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.i686
gcc-4.8.2-16.el7.x86_64
gcc-c++-4.8.2-16.el7.x86_64
gdbm-1.10-8.el7.i686
gdbm-1.10-8.el7.x86_64
glibc-2.17-55.el7.i686
glibc-2.17-55.el7.x86_64
glibc-common-2.17-55.el7.x86_64
glibc-devel-2.17-55.el7.i686
glibc-devel-2.17-55.el7.x86_64
libgcc-4.8.2-16.el7.i686
libgcc-4.8.2-16.el7.x86_64
libstdc++-devel-4.8.2-16.el7.i686
libstdc++-devel-4.8.2-16.el7.x86_64
libstdc++-4.8.2-16.el7.i686
libstdc++-4.8.2-16.el7.x86_64
libXi-1.7.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.x86_64 =
libXtst-1.2.2-2.1.el7.i686
libaio-0.3.109-12.el7.i686
libaio-0.3.109-12.el7.x86_64
libgomp-4.8.2-16.el7.x86_64
make-3.82-21.el7.x86_64
redhat-lsb-4.1-24.0.1.el7.x86_64 =
sysstat-10.1.5-4.el7.x86_64
util-linux-2.23.2-16.el7.x86_64
compat-libcap1-1.10-7.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.x86_64
elfutils-libelf-devel-0.158-3.el7.x86_64 =
libaio-devel-0.3.109-12.el7.i686
libaio-devel-0.3.109-12.el7.x86_64 =
xorg-x11-utils-7.5-13.1.el7.x86_64
【注意】Note: The openmotif package version must be 2.1.30 (for example, openmotif-2.3.3-1 is not supported)
(2)检查软件包命令如下:
[root@localhost ~]# rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | grep binutils
binutils-2.25.1-22.base.el7.x86_64
(3)host相关的rpm包安装
yum install lxc lxc-libs
安装后检查
[root@localhost ~]# rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | grep lxc
设置/etc/security/limits.conf中相关参数,参数如下
[root@localhost etc]# vim /etc/security/limits.conf
* hard nofile 65536
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
* hard stack 16384
* soft stack 10240
修改其他用户的打开文件数据(?) 将*的值修改为unlimited
[root@oraerp ~]# vi /etc/security/limits.d/20-nproc.conf
检查相关组件是否安装
[root@oraerp ~]# which ar gcc g++ ksh linux32 make
/usr/bin/ar
/usr/bin/gcc
/usr/bin/g++
/usr/bin/ksh
/usr/bin/linux32
/usr/bin/make
修改Bug1
[root@oraerp ~]# unlink /usr/lib/libXtst.so.6
[root@oraerp ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
修改Bug2
[root@oraerp ~]# unzip p6078836_101330_LINUX.zip
[root@oraerp 6078836]# mv /usr/lib/libdb.so.2 /usr/lib/libdb.so.6078836
mv: cannot stat a€?/usr/lib/libdb.so.2a€?: No such file or directory
[root@oraerp 6078836]# cp libdb.so.2 /usr/lib
重新连接动态库
Ldconfig -v
查看安装用户组和相关用户
[root@oraerp ~]# cat /etc/group
[root@oraerp ~]# id applmgr
uid=54322(applmgr) gid=54322(dba) groups=54322(dba)
[root@oraerp ~]#
[root@oraerp ~]# id oracle
uid=54321(oracle) gid=54322(dba) groups=54322(dba)
创建EBS安装目录
[root@oraerp home]# mkdir -p /home/oraebs/{db,apps}
[root@oraerp home]# chmod 775 /home/oraebs/
[root@oraerp home]# chown oracle:dba /home/oraebs/
[root@oraerp home]# mkdir /home/oraInventory
[root@oraerp home]# chmod 777 /home/oraInventory/
[root@oraerp home]# chown -R oracle:dba /home/oraInventory/
[root@oraerp oraebs]# chown -R oracle:dba /home/oraebs/db/
[root@oraerp oraebs]# chown -R applmgr:/home/oraebs/dba apps/
创建/etc/oraInst.loc文件
vim /etc/oraInst.loc
inventory_loc=/home/oraInventory
inst_group=dba
安装和配置VNC
(1)安装VNC
# yum install tigervnc-server -y
(2)配置VNC
<cp /lib/systemd/system/vncserver@.service /usr/lib/systemd/system/vncserver@:1.service> (ERP安装过程中不需要cp)
只需要进行如下操作:
mv /usr/lib/systemd/system/vncserver@.service /usr/lib/systemd/system/vncserver@:1.service
cat /usr/lib/systemd/system/vncserver@:1.service
Vim /usr/lib/systemd/system/vncserver@:1.service
将<USER>写为登录的用户,本次安装使用root,%i替换为1,保存wq!
vnc默认使用5900以上的端口
Oracle EBS12.2.5在Oracle Linux7.3上安装准备
标签:EBS12.2.6安装 EBS12.2 installatio
原文地址:http://blog.51cto.com/peenboo/2090409