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 all privileges on HQ.* to hyperic;
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']: 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']: 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-4.1.0... Setting permissions on agent binaries... Fixing line endings on text files... -------------------------------------------------------------------------------- Installation Complete: Agent successfully installed to: /home/hyperic/agent-4.1.0 -------------------------------------------------------------------------------- You can now start your HQ agent by running this command: /home/hyperic/agent-4.1.0/bin/hq-agent.sh start Installing the server... Unpacking server to: /home/hyperic/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... Setting permissions on server binaries... Fixing line endings on text files... -------------------------------------------------------------------------------- Installation Complete: Server successfully installed to: /home/hyperic/server-4.1.0 -------------------------------------------------------------------------------- You can now start your HQ server by running this command: /home/hyperic/server-4.1.0/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://10.0.0.162: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. Setup completed. A copy of the output shown above has been saved to: /home/hyperic/hyperic-hq-installer/installer-4.1.0/./hq-install.log

