`
yangzb
  • 浏览: 3523829 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在RHEL 3上安装Hyperic HQ 3.0.3 -- Server端安装日志

阅读更多

在RHEL 3上安装Hyperic HQ 3.0.3 -- Server端安装日志

I. Server端安装
1.Hyperic HQ的安装与其他管理软件在安装用户的权限要求上,有很大区别。一般管理软件都要求安装用户必须是root,但是Hyperic HQ却整好相反,他要求用

户必须不能是root。

[root@TServer hyperic-hq-installer]# ./setup.sh
提示不能使用root用户安装。

Execution of HQ setup not allowed as the root user.
Please log in as a different user and re-run /opt/hyperic/hyperic-hq-installer/installer-3.0.3/bin/hq-setup.sh

2. su到普通用户安装
[root@TServer hyperic-hq-installer]# su - cl

因为Hyperic HQ是基于j2ee的,所以需要JAVA_HOME环境变量被正确设置。

[cl@TServer hyperic]$ set | grep JAVA
JAVA_HOME=/usr/java

3. 执行安装脚本
[cl@TServer hyperic]$  /opt/hyperic/hyperic-hq-installer/installer-3.0.3/bin/hq-setup.sh
Initializing Hyperic HQ 3.0.3 Installation...
Loading taskdefs...
Taskdefs loaded

4.选择模块
提示选择安装module,可以多选,以“,”分隔。
此处我们只选择安装Server。
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Shell
3: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1

5.选择路径
选择安装路径,默认为/home/hyperic,此处我选择/opt/hyperic。
注意,此目录对安装用户一定要有写(w)的权限;
HQ server installation path [default '/home/hyperic']:
/opt/hyperic

6.指定smtp server
选择smtp主机ip,此处使用本机为smtp server。
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default '192.168.10.209']:

7.选择数据库
Hyperic 3.0.3目前支持Oracle 8/9i/10g和PostgreSQL,对比较流行的MySQL不支持,应该算是个比较大的遗憾。
此处我选择2,Oracle9i/10g.
Choices:
        1: Oracle 8
        2: Oracle 9i/10g
        3: PostgreSQL
What backend database should the HQ server use? [default '2']:
2

8.配置JDBC连接串
Url,此处按照自己的实际情况配置即可。
Enter the JDBC connection URL for the Oracle 9i/10g database [default 'jdbc:oracle:thin:@localhost:1521:HYPERIC_HQ']:
jdbc:oracle:thin:@localhost:1521:fbdb
用户/密码,密码要输入两次:
Enter the username to use to connect to the database:
cl
Enter the password to use to connect to the database:
(again):

9.选择数据库数据安装方式
因为我原来安装过Hyperic HQ的其他版本,所以选择2,删除现有数据。
Choices:
        1: Upgrade the HQ server database
        2: Overwrite the HQ server database (ERASE all existing data)
        3: Exit the installer
An HQ server database already exists at the JDBC connection URL.
What should be done with this database? [default '3']:
2

10.开始安装进程
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking server JRMP port...
Checking server JNP port...
Checking database permissions...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: /opt/hyperic/server-3.0.3...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server control file...
Copying server binaries...
Copying server libs...
Setting up server database...
Setting permissions on server binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
  Server successfully installed to: /opt/hyperic/server-3.0.3
--------------------------------------------------------------------------------


11. 安装成功
提示启动server的脚本名称及用法,以及登录的url地址等。
要记住用户、密码为:hqadmin/hqadmin。
以及更改用户密码的方法。

You can now start your HQ server by running this command:

  /opt/hyperic/server-3.0.3/bin/hq-server.sh start

Note that the first time the HQ server starts up it may take several minutes
to initialize.  Subsequent startups will be much faster.

Once the HQ server reports that it has successfully started, you can log in
to your HQ server at:

  http://192.168.10.209:7080/
  username: hqadmin
  password: hqadmin

To change your password, log in to the HQ server, click the "Administration"
link, choose "List Users", then click on the "hqadmin" user.


12. 安装日志
如果安装错误,可以从中找找原因。

Setup completed.
A copy of the output shown above has been saved to:
  /opt/hyperic/hyperic-hq-installer/installer-3.0.3/hq-install.log

今天先写道这里,周一接着写Agent的安装及Hyperic HQ的配置。
分享到:
评论

相关推荐

    rhel-server-6.4-i386-dvd.iso

    rhel-server-6.4-i386-dvd.iso文件是Red Hat Enterprise Linux(RHEL)服务器版6.4版本的安装介质,使用i386架构,以DVD镜像的形式提供,适合于32位计算环境。该文件是用于在虚拟机或者物理机上安装RHEL系统的重要文件...

    rhel-server-6.3-i386-dvd操作系统_普通windows与server

    rhel-server-6.3-i386-dvd.iso 网盘下载地址 确保资源可用

    rhel-server-7.1-x86-64-dvd.iso文件

    rhel-server-7.1-x86_64-dvd.iso文件

    rhel-server-6.3-i386-dvd.iso

    rhel-server-6.3-i386-dvd.iso 自己收藏了Linux(小红帽)系统的几个ios镜像文件。直接下载安装在虚拟机上。方便大家学习 文件里包含了下载地址。

    rhel-server-6.0-6.9各版本集合.txt

    rhel-server-6.0-x86_64-dvd.iso rhel-server-6.1-x86_64-dvd.iso rhel-server-6.2-x86_64-dvd.iso rhel-server-6.3-x86_64-dvd.iso rhel-server-6.4-x86_64-dvd.iso rhel-server-6.5-x86_64-dvd.iso rhel-server-...

    rhel-server-5.4-i386-dvd.iso linux系统

    ### Linux系统:rhel-server-5.4-i386-dvd.iso #### 知识点一:RHEL(Red Hat Enterprise Linux)介绍 RHEL是Red Hat公司开发的一款广泛使用的Linux发行版,专为企业环境设计。它提供了一个稳定、可靠、安全的操作...

    rhel-server-5.1-5.11各版本集合.txt

    rhel-server-5.1-x86_64-dvd.iso rhel-server-5.2-x86_64-dvd.iso rhel-server-5.3-x86_64-dvd.iso rhel-server-5.4-x86_64-dvd.iso rhel-server-5.5-x86_64-dvd.iso rhel-server-5.6-x86_64-dvd.iso rhel-server-...

    rhel-server-5.6-i386-dvd.iso 序列号

    rhel-server-5.6-i386-dvd.iso 序列号 、 里面包含了2个 如果其中一个不行 试试第二个 我这里第一个都能行!

    rhel-server-7.6-x86-64-dvd.iso

    首先,文件名为"rhel-server-7.6-x86-64-dvd.iso",这是Red Hat Enterprise Linux Server 7.6版本的安装介质,适用于基于x86-64架构的服务器系统。Red Hat Enterprise Linux(简称RHEL)是Red Hat公司开发的一款商业...

    rhel-8.0-x86_64-linuxprobe.com.iso.rar

    压缩包子文件“rhel-8.0-x86_64-linuxprobe.com.iso”即为RHEL 8.0的ISO镜像文件,通常用于创建DVD或USB启动盘,以便在物理或虚拟机上安装操作系统。用户也可以将其挂载到系统上,以浏览或提取其中的文件,或者使用...

    rhel-8.5-x86_64-dvd.rar

    综上所述,"rhel-8.5-x86_64-dvd.rar"文件代表了Red Hat Enterprise Linux 8.5的一个重要发行版,它为用户带来了模块化、安全、高性能的Linux操作系统体验,适合在各种企业环境中部署和使用。通过下载并解压此RAR...

    rhel-8.0-x86_64-dvd.iso.txt

    rhel-server-6.7-x86_64-dvd.iso 64位网盘下载,安装客户端,即可下载,百度网盘下载 rhel-server-6.7-x86_64-dvd.iso 64位网盘下载

    RHEL7OSP-6.0-2015-02-23.2-x86_64下载.txt

    RHEL7OSP-6.0-2015-02-23.2-x86_64.iso 安装文件希望能帮助到各位,链接已更新。

    RHEL7OSP-6.0-x86-64.iso 安装文件

    RHEL7OSP-6.0_64.iso 安装文件希望能帮助到各位

    libical-glib-doc-3.0.3-2.el7.x64-86.rpm.tar.gz

    rpm包是一种在Linux系统中广泛使用的软件包管理格式,它允许用户安装...用户可以通过简单的指令完成安装,并且在安装过程中可能需要阅读readme文件来获取详细信息。对于安装中可能遇到的问题,用户可以寻求博主的帮助。

    rhel-server-6.10-x86

    redhat6升级至7或更高版本,需在6.10的基础上进行升级,如原始版本6.5 -->6.10-->7.xx

    rhel-8.3-x86_64-dvd.rar

    rhel-8.3-x86_64-dvd.rar 网盘文件永久连接

    rhel-server-7.0-x86_64-dvd.iso.txt

    rhel-server-7.0-x86_64-dvd.iso 网盘下载地址 【付费下载之后的用户,可留言获取更多下载资源】

    rhel-server-7.4-x86_64-boot.iso + rhel-server-7.4-x86_64-dvd.iso

    资源是Redhat7.4镜像文件的云盘链接,包括rhel-server-7.4-x86_64-boot.iso和rhel-server-7.4-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除

    rhel-server-7.1-x86_64-boot.iso + rhel-server-7.1-x86_64-dvd.iso

    资源是Redhat7.1镜像文件的云盘链接,包括rhel-server-7.1-x86_64-boot.iso、rhel-server-7.1-x86_64-dvd.iso和supp-server-7.1-rhel-7-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除

Global site tag (gtag.js) - Google Analytics