Apollo configuration Detailed steps (Windows environment)

Source: Internet
Author: User

I. Preparatory work

1. Download the Apollo installation package

Download Link: http://activemq.apache.org/apollo/download.html

2. Download Java JDK installation package (Apollo relies on Java environment)

Download Link: http://www.oracle.com/technetwork/java/javase/downloads/index.html

3. Installing the Java JDK

4. Unzip the Apollo installation package (free installation, choose your own path, I unzip here on D-plate)

Note: If your operating system is Windows Vista, Server 2008 or later, you will need to install MS VC + + Redistributable Package (or later patch)

32-bit download link: http://www.microsoft.com/en-us/download/details.aspx?id=5555

64-bit DOWNLOAD link: http://www.microsoft.com/en-us/download/details.aspx?id=14632

Two. Configuration of environment variables (current test machine system is Windows 8.1 English version)

1. Configure Java_home

A. Right-click Properties, Desktop---My Computer

B. Advanced system settings

C. Environment variables, advanced

D. Creating a new system variable

Note: Test whether the Java environment is configured successfully, run the console program (Cmd.exe), execute the command: java-version

If the version information is displayed correctly, congratulations, the configuration is successful, such as:

2. Configure Apollo_home

The steps are basically the same as the Java_home configuration steps, and the final step is as follows:

Note: If you have already configured Apollo_home, and you are still experiencing the error prompt when you perform step three, please restart your computer and perform step three ^_^

Three. Creating the proxy (Create broker)

1. Create a new folder to hold the broker's installation files (my folders are created in G:\apollo)

2. Run the console program (Cmd.exe) and enter the folder directory that you just created by command

3. After entering the specified folder, execute the following command:

D:\apache-apollo-1.7.1\bin\apollo Create Myapollo

Successful execution, such as. The following file appears under the G:\apollo folder:

Note: G:\apollo indicates where the proxy instance will be installed

D:\apache-apollo-1.7.1\bin\apollo This is an extract path for the Apollo installation package, note that this path does not contain spaces, otherwise run an error

Create Myapollo represents the creation of a proxy instance named Myapollo

Four. Running the agent (run broker)

There are two ways to run an agent, namely:

1. Foreground operation

A. Running the console program (Cmd.exe)

B. Enter the installation directory where the proxy instance resides, such as:

C. Run Apollo-broker, e.g. (success):

Note: The foreground runs the disadvantage: the console program must be hung continuously, cannot exit.

2. Running in the background

A. Running the console program (Cmd.exe)

B. Enter the installation directory where the proxy instance resides, such as:

C. Installing the Apollo back-office service

D. Successful installation, view and start the background service (My Computer, right-click Management)

Five. Login Management background

Website: http://127.0.0.1:61680/

Default account: admin Password: password

After landing the page is as follows:

Six. Daily Maintenance

The operation status and information of the service are obtained mainly through log files. Locate the log folder under the Agent installation directory:

It contains multiple log files, which can be distinguished by file names.

With Apollo.log, you can view the startup situation of Apollo:

Detailed exception information for Apollo can be viewed through Stacktrace.log:

Apollo configuration Detailed steps (Windows environment)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.