在Windows 2003 server 64bit 安裝 HQ CRP 5.8.2.1

來源:互聯網
上載者:User

標籤:style   http   java   os   使用   io   strong   檔案   for   

首先需要安裝 postgresql 9.1 ,,如下:

http://get.enterprisedb.com/postgresql/postgresql-9.1.14-1-windows-x64.exe

安裝中需要注意兩個地方,一個是 選擇 C(你懂的),另一個是注意將 postgres使用者賦予安裝postgresql的目錄的所有許可權。

然後使用psql工具,建立資料庫 HQ

下載 Hyperic HQ 中文版 

http://www.innovatedigital.com/download/hyperic_index.asp

解開後,按照下文:需要輸入的內容,已加粗顯示,斷行符號除外。


C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1>setup

Please ignore references to missing tools.jar

Unable to locate tools.jar. Expected to find it in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\lib\tools.jar

Buildfile: C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1\installer\bin\..\data\setup.xml

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 ‘C:\Program Files‘]:

c:\hq

What port should the HQ server‘s web-based GUI listen on for http communication?

 [default ‘7080‘]:

What port should the HQ server‘s web-based GUI listen on for secure https communication? [default ‘7443‘]:

Choices:

        1: Yes

        2: No

Would you like to use your own java keystore? [default ‘2‘]:

Enter the base URL for the HQ server‘s web-based GUI [default ‘http://192.168.1.155:7080/‘]:

Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default ‘192.168.1.155‘]:

Enter the email address that HQ will use as the sender for email messages [default ‘[email protected]‘]:

Enter the vPostgres DB hostname [default ‘localhost‘]:

Enter the vPostgres DB port [default ‘5432‘]:

Enter the vPostgres DB name [default ‘HQ‘]:

Override the JDBC connection URL for the PostgreSQL database [default jdbc:postgresql://localhost:5432/HQ?protocolVersion=2‘]:

Enter the username to use to connect to the database:postgres

Enter the password to use to connect to the database.:

(again):

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?:

(again):

What should the email address be for the initial admin user? [default ‘[email protected]‘]:

HQ agent installation path [default ‘c:\hq‘]:

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 database permissions...

Verifying admin user properties

Validating server DB configuration...

Installing the agent...

Looking for previous installation

Unpacking C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1\hyperic-hq-agent-x86-64-win-5.8.2.1.zip to: c:\hq/agent-5.8.2.1...

Setting permissions on c:\hq/agent-5.8.2.1...

Setting permissions on c:\hq/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: c:\hq

--------------------------------------------------------------------------------

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

       c:\hq/agent-5.8.2.1/bin/hq-agent.bat start

Installing the server...

Unpacking server to: c:\hq...

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...

Loading taskdefs...

Taskdefs loaded

Loading taskdefs...

Taskdefs loaded

Loading taskdefs...

Taskdefs loaded

Installing the server JRE ...

Unpacking JRE x86_64-win-1.7_51.exe to: c:\hq/server-5.8.2.1...

Setting permissions on c:\hq/server-5.8.2.1...

Setting permissions on server binaries...

Fixing line endings on text files...

--------------------------------------------------------------------------------

Installation Complete:

  Server successfully installed to: c:\hq/server-5.8.2.1

--------------------------------------------------------------------------------

 You should now install the HQ server as a Windows Service using this command:

 c:\hq\server-5.8.2.1\bin\hq-server.bat install

 You can then use the Service Control Manager (Control Panel->Services) to

 start the HQ server.  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.155: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:

  C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1\installer\logs\hq-install.log

Deleting temporary JRE

C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1>

C:\src\hyperic-hq-installer-x86-64-win-5.8.2.1\hyperic-hq-installer-5.8.2.1>cd \hq

C:\hq>cd server-5.8.2.1

C:\hq\server-5.8.2.1>dir

 磁碟機 C 中的卷沒有標籤。

 卷的序號是 4CFC-32F8

 C:\hq\server-5.8.2.1 的目錄

2014-08-15  13:48    <DIR>          .

2014-08-15  13:48    <DIR>          ..

2014-08-15  13:48    <DIR>          bin

2014-08-15  13:48    <DIR>          conf

2014-08-15  13:48            17,987 COPYING.txt

2014-08-15  13:48    <DIR>          data

2014-08-15  13:47    <DIR>          hq-engine

2014-08-15  13:48    <DIR>          jre

2014-08-15  13:48    <DIR>          lib

2014-08-15  13:48           744,766 LICENSE.txt

2014-08-15  13:47    <DIR>          logs

2014-07-29  18:20             3,092 README.txt

2014-08-15  13:48    <DIR>          wrapper

               3 個檔案        765,845 位元組

              10 個目錄 37,099,819,008 可用位元組

C:\hq\server-5.8.2.1>cd bin

C:\hq\server-5.8.2.1\bin>hq-server.bat status

Usage: hq-server.bat { start : stop : restart : install : query : remove}

請按任意鍵繼續. . .

C:\hq\server-5.8.2.1\bin>hq-server.bat start

 wrapper  | The Hyperic HQ Server service is not installed - 指定的服務未安裝。

(0x424)

請按任意鍵繼續. . .

C:\hq\server-5.8.2.1\bin>hq-server.bat install

 wrapper  | Hyperic HQ Server service installed.

C:\hq\server-5.8.2.1\bin>hq-server.bat start

 wrapper  | Starting the Hyperic HQ Server service...

wrapper  | Hyperic HQ Server started.

C:\hq\server-5.8.2.1\bin>cd ..\..\agent-5.8.2.1\bin

C:\hq\agent-5.8.2.1\bin>hq-agent.bat install

wrapper  | Hyperic HQ Agent service installed.

C:\hq\agent-5.8.2.1\bin>hq-agent.bat start

wrapper  | Starting the Hyperic HQ Agent service...

wrapper  | Hyperic HQ Agent started.

[ Running agent setup ]

What is the HQ server IP address: localhost

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.155]:

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

    1408081862616-5115392344881550134-7446229445133403575

- Informing agent of new HQ server

- Validating

- Successfully setup agent

C:\hq\agent-5.8.2.1\bin>

開啟瀏覽器,訪問 http://localhost:7080/



在Windows 2003 server 64bit 安裝 HQ CRP 5.8.2.1

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.