yum install -y binutils.x86_64 compat-libcap1.x86_64 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.x86_64 glibc.i686 glibc-devel.x86_64 glibc-devel.i686 ksh.x86_64 libgcc.x86_64 libgcc.i686 libstdc++.i686 libstdc++.x86_64 libstdc++-devel.i686 libstdc++-devel.x86_64 libaio.x86_64 libaio.i686 libaio-devel.i686 libaio-devel.x86_64 libXext.x86_64 libXext.i686 libXtst.x86_64 libXtst.i686 libX11.x86_64 libX11.i686 libXau.x86_64 libXau.i686 libxcb.x86_64 libxcb.i686 libXi.x86_64 libXi.i686 make.x86_64 sysstat.x86_64
yum本地源配置参考:https://www.linuxidc.com/Linux/2017-01/139140.htm
4.3 系统参数调整
/etc/sysctl.conf
# Oracle EM 13c
fs.aio-max-nr = 1048576
fs.file-max = 65536
kernel.shmall = 2097152
kernel.shmmax = 6442450944
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
kernel.panic_on_oops = 1
net.ipv4.ip_local_port_range = 11000 65000
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
sysctl -p 生效。
vi /etc/security/limits.conf
# Oracle EM 13c
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
vi /etc/pam.d/login
# Oracle EM 13c
session required pam_limits.so
4.4 oracle环境变量:
环境变量中包含了两个产品目录:
OMS
Agent
oracle环境变量:
# Oracle OMS
export ORACLE_BASE=/u01/app/oracle
export OMS_HOME=$ORACLE_BASE/product/oem13.2/middleware
export AGENT_HOME=$ORACLE_BASE/product/oem13.2/agent/agent_13.2.0.0.0
4.5 创建目录:
chown oracle.oinstall /u01
su - oracle
mkdir -p /u01/app/oracle/product/oem13.2/agent
mkdir -p /u01/app/oracle/product/oem13.2/middleware
4.6 开始安装:
[oracle@OMS u01]$ ./em13200p1_linux64.bin
0%....
OEMCC13.2安装截图:
第1步:
第2步:
第3步:
第4步:
第5步:
第6步:
第7步:
第8步:
注:weblogic/Weblogic123
nodemanager/nodemanager123
第9步:
第10步:
注:sysman和agent registration 密码都是:Oracle123
第11步:
第12步:
第13步:
第14步:
注:根据提示root用户执行脚本。
第15步:
该界面显示了后续访问服务的地址:
This information is also available at:
/u01/app/oracle/product/oem13.2/middleware/install/setupinfo.txt
See the following for information pertaining to your Enterprise Manager installation:
Use the following URL to access:
1. Enterprise Manager Cloud Control URL: https://OMS:7802/em
2. Admin Server URL: https://OMS:7102/console
3. BI Publisher URL: https://OMS:9803/xmlpserver
The following details need to be provided while installing an additional OMS:
1. Admin Server Host Name: OMS
2. Admin Server Port: 7102
You can find the details on ports used by this deployment at : /u01/app/oracle/product/oem13.2/middleware/install/portlist.ini
NOTE:
An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.