原文:https://my.oschina.net/hyperichq/blog/306791

环境描述:

[test@tester ~]$ cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m [test@tester ~]$ uname -a
Linux tester 2.6.-431.11..el6.x86_64 # SMP Tue Mar :: UTC x86_64 x86_64 x86_64 GNU/Linux

用户名:test

口令: test

IP: 192.168.1.103

工作目录: /work

安装文件准备:

下载地址: http://www.innovatedigital.com/download/hyperic_index.asp

下载安装文件: hyperic-hq-installer-x86-64-linux-5.8.2.1.tar.gz  ,放在 /work/temp目录下

这里备注一下,我安装的是5.8.6这个版本,需要分别下载 hyperic-hq-installer-x86-64-linux-5.8.6.tar.gz 和 hyperic-hq-agent-x86-64-linux-5.8.6.tar.gz两个包,最后面的工作才能继续

安装过程

[test@tester work]$ cd /work
[test@tester work]$ mkdir hq-zh
[test@tester work]$ cd temp
[test@tester temp]$ tar xzvf hyperic-hq-installer-x86-64-linux-5.8.2.1.tar.gz
hyperic-hq-installer-5.8.2.1/installer/bin/hq-migration-5.8.2.1.zip
hyperic-hq-installer-5.8.2.1/installer/lib/
。。。。。。
此处略去N多行
。。。。。。
hyperic-hq-installer-5.8.2.1/COPYING.txt
hyperic-hq-installer-5.8.2.1/setup.sh
[test@tester temp]$ cd hyperic-hq-installer-5.8.2.1/
[test@tester hyperic-hq-installer-5.8.2.1]$ ./setup.sh
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 5.8.2.1 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1,2
HQ server installation path [default '/home/hyperic']:
/work/hq-zh
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default '192.168.1.103']: Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@168.1.103']: Choices:
1: Yes
2: No
Would you like to use an auto generated encryption key to encrypt the database password? [default '1']: What should the username be for the initial admin user? [default 'hqadmin']: What should the password be for the initial admin user?: (输入初始口令 hqadmin)
(again): (再次输入初始口令 hqadmin)
What should the email address be for the initial admin user? [default 'hqadmin@168.1.103']: HQ agent installation path [default '/work/hq-zh']: Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating agent install configuration...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Verifying admin user properties
Validating server DB configuration...
Installing the agent...
Looking for previous installation
Unpacking /work/temp/hyperic-hq-installer-5.8.2.1/hyperic-hq-agent-x86-64-linux-5.8.2.1.tar.gz to: /work/hq-zh/agent-5.8.2.1...
Setting permissions on /work/hq-zh/agent-5.8.2.1...
Setting permissions on /work/hq-zh/agent-5.8.2.1/conf/agent.properties...
Setting permissions on agent binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
Agent successfully installed to: /work/hq-zh
--------------------------------------------------------------------------------
You can now start your HQ agent by running this command: /work/hq-zh/agent-5.8.2.1/bin/hq-agent.sh start
Installing the server...
Unpacking server to: /work/hq-zh...
Creating server configuration files...
Using "small" installing profile...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database... Now login to another terminal as root and execute this script: /work/temp/hyperic-hq-installer-5.8.2.1/installer/data/hqdb/tune-os.sh This script sets up the proper shared memory settings to run the
built-in database. Press Enter after you run the script to continue this installation.

打开另一终端窗口,进入到 root 用户

[test@tester ~]$ su
Password:
[root@tester test]# /work/temp/hyperic-hq-installer-5.8.2.1/installer/data/hqdb/tune-os.sh
/etc/sysctl.conf defined an adequate kernel.shmmax, not changing anything
Tuning completed successfully!
[root@tester test]#

回到原窗口:

Setting up JDBC driver...
Copying database files...
Configuring database...
Loading taskdefs...
Taskdefs loaded
Starting repopulation of configuration table...
Waiting for built-in database to start (on port 9432)...
Starting built-in database...
Preparing database...
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
Waiting for server to stop...
Stopping built-in database...
Built-in database stopped.
Installing the server JRE ...
Unpacking JRE amd64-linux-1.7_51.tar.gz to: /work/hq-zh/server-5.8.2.1...
Setting permissions on /work/hq-zh/server-5.8.2.1...
Setting permissions on server binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
Server successfully installed to: /work/hq-zh/server-5.8.2.1
-------------------------------------------------------------------------------- You can now start your HQ server by running this command: /work/hq-zh/server-5.8.2.1/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.1.103:7080/
username: hqadmin To change your password, log in to the HQ server, click the "Administration"
link, choose "List Users", then click on the "hqadmin" user. Setup completed.
A copy of the output shown above has been saved to:
/work/temp/hyperic-hq-installer-5.8.2.1/installer/logs/hq-install.log Deleting temporary JRE
[test@tester hyperic-hq-installer-5.8.2.1]$

运行

[test@tester hyperic-hq-installer-5.8.2.1]$ cd /work/hq-zh/server-5.8.2.1/bin
[test@tester bin]$ ./hq-server.sh start
Starting HQ Server...
[test@tester bin]$ cd /work/hq-zh/agent-5.8.2.1/bin
[test@tester bin]$ ./hq-agent.sh start
Starting HQ Agent...... running (20732).
[ Running agent setup ]
What is the HQ server IP address: 192.168.1.103
Should Agent communications to HQ always be secure [default=yes]:
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.1.103]:
What port should HQ use to contact the agent [default=2144]:
- Received temporary auth token from agent
- Registering agent with HQ
The server to agent communication channel is using a self-signed certificate and could not be verified
Are you sure you want to continue connecting? [default=no]: yes
- HQ gave us the following agent token
1409038071406-733078726523143911-738338007125620383
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[test@tester bin]$

使用

打开浏览器访问 http://X192.168.1.103:7080/

 

  

在Centos 6 64bit 上安装 Hyperic HQ 5.8.2.1 中文版的更多相关文章

  1. 在CentOS或RHEL上安装Nux Dextop仓库

    介绍 Nux Dextop是类似CentOS.RHEL.ScientificLinux的第三方RPM仓库(比如:Ardour,Shutter等等).目前,Nux Dextop对CentOS/RHEL ...

  2. CentOS 6.5上安装MySQL-Cluster

    参考博文: CentOS 6.2下MySQL Cluster 7.2 配置数据库集群 CentOS 6.5上安装MySQL-Cluster 7.3.4过程笔记--下一步学习 MySQL Cluster ...

  3. CentOS 6.9上安装mysql-5.6.36

    CentOS 6.9上安装mysql-5.6.36 1.准备数据存放的文件系统 新建一个逻辑卷,并将其挂载至特定目录即可.这里不再给出过程. 这里假设其逻辑卷的挂载目录为/data,而后需要创建/da ...

  4. 记录CentOS 7.4 上安装MySQL&MariaDB&Redis&Mongodb

    记录CentOS 7.4 上安装MySQL&MariaDB&Redis&Mongodb 前段时间我个人Google服务器意外不能用,并且我犯了一件很低级的错误,直接在gcp讲服 ...

  5. [转]在Linux CentOS 6.6上安装Python 2.7.9

    在Linux CentOS 6.6上安装Python 2.7.9 查看python安装版本 python -V yum中最新的也是Python 2.6.6,所以只能下载Python 2.7.9的源代码 ...

  6. Windows 7 64bit上安装Oracle Database 12c [INS-30131] 错误的解决方法

    Windows 7 64bit上安装Oracle Database 12c,出现以下错误: 解决方法: 第一步:控制面板>所有控制面板项>管理工具>服务>SERVER  启动 ...

  7. 在 CentOS 7.2 上安装 ODOO 10 (2018-10-09 持续更新)

    在 CentOS 7.2 上安装 ODOO 10 更新系统 yum update 安装 EPEL 源 1 yum install -y epel-release 安装依赖组件 yum install ...

  8. CentOS 6.9上安装mysql-5.6.37

    CentOS 6.9上安装mysql-5.6.37 1.准备数据存放的文件系统 新建一个逻辑卷,并将其挂载至特定目录即可.这里不再给出过程. 这里假设其逻辑卷的挂载目录为/data,而后需要创建/da ...

  9. CentOS 6.9上安装Mysql 5.7.18 安装

    CentOS 6.9上安装Mysql 5.7.18 安装 下载地址:https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.18-linux-g ...

随机推荐

  1. php字符串截取

    保留字符串前面的 substr($str,start[,$length]); start  为负数 则从后面开始截取 leng为负数则返回的字符串将从 $str 结尾处向前数第 start 个字符开始 ...

  2. C++雾中风景番外篇:理解C++的复杂声明与声明解析

    在学习C系列语言的过程之中,理解C/C++的复杂声明一直是初学者很困扰的问题.笔者初学之时也深受困扰,对很多规则死记硬背.后续在阅读<C专家编程>之后,尝试在编译器的角度来理解C/C++的 ...

  3. 聊聊kafka结构

    因为kafka用到的地方比较多,日志收集.数据同步等,所以咱们来聊聊kafka. 首先先看看kafaka的结构,producer将消息放到一个Topic然后push到broker,然后cosumer从 ...

  4. Gradle 同步 已经开始 Gradle sync started

    Gradle 同步 已经开始 Gradle sync started 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 31313 ...

  5. 潭州课堂25班:Ph201805201 第十课 类的定义,属性和方法 (课堂笔记)

    类的定义 共同属性,特征,方法者,可分为一类,并以名命之 class Abc: # class 定义类, 后面接类名 ( 规则 首字母大写 ) cls_name = '这个类的名字是Abc' # 在类 ...

  6. 话说extern和static

    以前对extern.static的一些东西一直模棱两可.今天好好来梳理了一番.. static关键字 被static修饰的变量或函数称之为静态成员.函数. 存储位置:static修饰的变量存放在静态区 ...

  7. 树莓派.Qt.打包开发好的程序并运行的方法

    Qt开发的软件, 想要部署在树莓派上运行, 需要进行打包和发布 主要步骤如下: 1. 找1个树莓派用于开发与打包, 所以需要在它上面安装Qt开发环境 树莓派上安装Qt的方法, 可以看这里>> ...

  8. 网络编程(1)—TCP

    java.net 包中提供了两种常见的网络协议的支持: TCP:TCP 是传输控制协议的缩写,它保障了两个应用程序之间的可靠通信.通常用于互联网协议,被称 TCP / IP. TCP协议: 使用TCP ...

  9. Java虚拟机的最大内存是多少

    天分析了当前比较流行的几个不同公司不同版本JVM的最大内存,得出来的结果如下: 公司 JVM版本 最大内存(兆)client 最大内存(兆)server SUN 1.5.x 1492 1520 SUN ...

  10. C#编程(七十一)---------- 自定义特性

    自定义特性 在说自定义之前,有必要先介绍一些基本的概念. 元数据:就是C#中封装的一些类,无法修改,类成员的特性被称为元数据中的注释 1.什么是特性? (1)属性和特性的区别 属性:属性是面向对象思想 ...