环境:RHEL 7.1 + Oracle JDK 1.7.0_80 + PostgreSQL 9.1
1. JBoss Operations Network 3.3 支持的配置
(1)操作系统
RHEL 5,6,7
Microsoft Windows Server 2008,2008 R2
Solaris 11
(2)JDK
Oracle JDK 1.7,1.8
Open JDK 1.7,1.8
IBM JDK 1.7,1.8
(3)数据库
Oracle Database 12c,12c RAC,11g R2,11g R2 RAC,11g R1,11g R1 RAC
PostgreSQL 9.1,9.0,8.4
关于JON支持的配置,详见 https://access.redhat.com/articles/112523。
2. 操作系统环境设置
下载地址:https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.2/x86_64/product-software
安装介质:rhel-server-7.1-x86_64-dvd.iso
切换到 root 用户执行如下命令:
(1)确认操作系统版本:cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
(2)设置JON Server 主机名
这一步非常关键,否则 JON Agent 会默认连接 localhost。
hostnamectl set-hostname rhqserver
(3)设置固定 IP 地址
vim /etc/sysconfig/network-scripts/ifcfg-enp0s3
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=b31c4642-5f61-4a4e-9eab-7b3279b6c294
DEVICE=enp0s3
ONBOOT=yes
IPADDR=192.168.56.101
GATEWAY=192.168.56.1
NETMASK=255.255.255.0
DNS1=192.168.56.1
(5)设置本地域名解析
vim /etc/hosts
192.168.56.101 rhqserver
192.168.56.102 rhqclient
(6)关闭防火墙
查看防火墙状态
# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since 四 2016-01-07 09:13:45 CST; 1h 23min ago
Main PID: 616 (firewalld)
CGroup: /system.slice/firewalld.service
└─616 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
1月 07 09:13:45 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
临时关闭防火墙,重启后还是防火墙还是保持原来状态
# systemctl stop firewalld
永久关闭防火墙
# systemctl stop firewalld;systemctl disable firewalld
关闭防火墙后,再次查看防火墙状态
# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since 四 2016-01-07 10:39:11 CST; 8s ago
Process: 616 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 616 (code=exited, status=0/SUCCESS)
1月 07 09:13:45 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
1月 07 10:39:11 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
1月 07 10:39:11 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.
(7)创建所有介质存放目录
mkdir -p /opt/jbshome/software
1. JBoss Operations Network 3.3 支持的配置
(1)操作系统
RHEL 5,6,7
Microsoft Windows Server 2008,2008 R2
Solaris 11
(2)JDK
Oracle JDK 1.7,1.8
Open JDK 1.7,1.8
IBM JDK 1.7,1.8
(3)数据库
Oracle Database 12c,12c RAC,11g R2,11g R2 RAC,11g R1,11g R1 RAC
PostgreSQL 9.1,9.0,8.4
关于JON支持的配置,详见 https://access.redhat.com/articles/112523。
2. 操作系统环境设置
下载地址:https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.2/x86_64/product-software
安装介质:rhel-server-7.1-x86_64-dvd.iso
切换到 root 用户执行如下命令:
(1)确认操作系统版本:cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
(2)设置JON Server 主机名
这一步非常关键,否则 JON Agent 会默认连接 localhost。
hostnamectl set-hostname rhqserver
(3)设置固定 IP 地址
vim /etc/sysconfig/network-scripts/ifcfg-enp0s3
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=b31c4642-5f61-4a4e-9eab-7b3279b6c294
DEVICE=enp0s3
ONBOOT=yes
IPADDR=192.168.56.101
GATEWAY=192.168.56.1
NETMASK=255.255.255.0
DNS1=192.168.56.1
(5)设置本地域名解析
vim /etc/hosts
192.168.56.101 rhqserver
192.168.56.102 rhqclient
(6)关闭防火墙
查看防火墙状态
# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since 四 2016-01-07 09:13:45 CST; 1h 23min ago
Main PID: 616 (firewalld)
CGroup: /system.slice/firewalld.service
└─616 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
1月 07 09:13:45 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
临时关闭防火墙,重启后还是防火墙还是保持原来状态
# systemctl stop firewalld
永久关闭防火墙
# systemctl stop firewalld;systemctl disable firewalld
关闭防火墙后,再次查看防火墙状态
# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since 四 2016-01-07 10:39:11 CST; 8s ago
Process: 616 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 616 (code=exited, status=0/SUCCESS)
1月 07 09:13:45 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
1月 07 10:39:11 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
1月 07 10:39:11 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.
(7)创建所有介质存放目录
mkdir -p /opt/jbshome/software
没有评论:
发表评论