Installation Hyperic#
Download#
Download the open source version, and no registration. I selected the "Platform Independent" version.Create user#
For security reasons I created a separate user hyperic, with it's own home directory.Unpack#
- Save to ~/downloads
- cp to /tmp and gunzip it
- untar it to /home/hyperic
Create MySQL DB and user#
- create user 'hyperic'@'localhost' identified by "XXXXXXXX"; (mind the double qoutes around the pw)
- create database HQ
- grant select,insert,update,delete on HQ.* to hyperic;
Create install dirs#
- mkdir /home/hyperic/server
- mkdir /home/hyperic/agent
Run setup.sh#
hyperic@bismarck:~/hyperic-hq-installer$ ./setup.sh -mysql Initializing Hyperic HQ 4.1.0 Installation... Loading taskdefs... Taskdefs loaded 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']: /home/hyperic/server Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default '10.0.0.162']: localhost Enter the JDBC connection URL for the MySQL 5.x database [default 'jdbc:mysql://localhost:3306/HQ']: Enter the username to use to connect to the database: hyperic Enter the password to use to connect to the database: (again): HQ agent installation path [default '/home/hyperic/server']: /home/hyperic/agent 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... Checking server JRMP port... Checking server JNP port... Checking database permissions... Verifying admin user properties Validating server DB configuration... Installing the agent... Looking for previous installation Unpacking agent to: /home/hyperic/agent/agent-4.1.0... Setting permissions on agent binaries... Fixing line endings on text files... -------------------------------------------------------------------------------- Installation Complete: Agent successfully installed to: /home/hyperic/agent/agent-4.1.0 -------------------------------------------------------------------------------- You can now start your HQ agent by running this command: /home/hyperic/agent/agent-4.1.0/bin/hq-agent.sh start Installing the server... Unpacking server to: /home/hyperic/server/server-4.1.0... 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... -------------------------------------------------------------------------------- An ERROR occurred, the installation cannot continue. FATAL EXCEPTION at /home/hyperic/hyperic-hq-installer/installer-4.1.0/data/setup.xml:401: : The following error occurred while executing this line: /home/hyperic/hyperic-hq-installer/installer-4.1.0/data/setup.xml:407: The following error occurred while executing this line: /home/hyperic/hyperic-hq-installer/installer-4.1.0/data/setup.xml:531: The following error occurred while executing this line: /home/hyperic/hyperic-hq-installer/installer-4.1.0/data/setup-db-MySQL.xml:16: The following error occurred while executing this line: /home/hyperic/hyperic-hq-installer/installer-4.1.0/data/setup-db-hibernate.xml:193: Errors while performing <hbm2ddl> --------------------------------------------------------------------------------

