一、软件准备
名称 |
版本号 |
软件包 |
OS |
7.6 |
CentOS Linux release 7.6.1810 (Core) |
Oracle Database 19c |
19.3 |
LINUX.X64_193000_db_home.zip |
Oracle Enterprise Cloud Control |
13.3.0.0 |
em13300_linux64.bin em13300_linux64-2.zip em13300_linux64-3.zip em13300_linux64-4.zip em13300_linux64-5.zip em13300_linux64-6.zip |
Database Template |
最新版本18.1,不使用模板建库 |
|
Weblogic Server |
不需要,EMCC中自带该软件 |
|
JDK |
8.0.211(不要用12版本的) |
jdk-8u211-linux-x64.rpm |
下载网址如下:
Oracle Database 19c Software Downloads:
https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Oracle Enterprise Manager Cloud Control 13c Release 3 Downloads:
https://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html
Database Template (with EM 13.3.0.0 repository pre-configured) for Installing Oracle Enterprise Manager Cloud Control 13c Release 3 (13.3.0.0) Downloads:(最高只有18.1)
https://www.oracle.com/technetwork/oem/enterprise-manager/downloads/dbtemplates-5043300.html
Oracle JDK 8u211 Downloads:
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
二、服务器检查与配置
1,修改主机名
[root@localhost ~]# hostnamectl status
Static hostname: localhost.localdomain
Icon name: computer-vm
Chassis: vm
Machine ID: 71a9ae0b9a1b47d79f124b53f2427c5b
Boot ID: 31040fec072d4b38aebaf2cd75471d1b
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.21.3.el7.x86_64
Architecture: x86-64
[root@localhost ~]# hostnamectl set-hostname gridcontrol
[root@localhost ~]# vi /etc/hosts
10.3.2.206 gridcontrol
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
2,关闭防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
3,配置yum工具
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# ls
BAK CentOS7-Base-163.repo
[root@localhost yum.repos.d]# cp CentOS7-Base-163.repo CentOS7-Base-163.repo.bak
[root@localhost yum.repos.d]# vi CentOS7-Base-163.repo
--添加如下
[base]
name=CentOS-$releasever - Base - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
[root@gridcontrol yum.repos.d]# yum list |more
--验证yum是否配置生效
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
4,配置VNC远程桌面连接
[root@gridcontrol yum.repos.d]# yum -y install vnc *vnc-server*
……
……
已安装:
tigervnc.x86_64 0:1.8.0-13.el7 tigervnc-server.x86_64 0:1.8.0-13.el7
tigervnc-server-applet.noarch 0:1.8.0-13.el7 tigervnc-server-minimal.x86_64 0:1.8.0-13.el7
tigervnc-server-module.x86_64 0:1.8.0-13.el7
……
完毕!
[root@gridcontrol yum.repos.d]# cd /lib/systemd/system/
[root@gridcontrol system]# ls |grep vncserver
vncserver@.service
[root@gridcontrol system]# cp vncserver\@.service vncserver\@.1.service
[root@gridcontrol system]# vi vncserver\@.1.service
……
# Clean any existing files in /tmp/.X11-unix environment
ExecStar