Apache Ignite Quick Start Guide
上QQ阅读APP看书,第一时间看更新

Installing Apache Ignite

Apache Ignite requires a Java 8 or higher runtime environment. You can download the source or binary version of Apache Ignite from https://ignite.apache.org/ to start working with the Apache Ignite grid.

There is no magic in installation; as of June 2018, the latest version is 2.5.o. Download the apache-ignite-fabric-2.5.0-bin.zip binary and extract the content and do the following:

  1. Browse to the installation directory and open the bin folder:

  1. Run the ignite.bat file in a Windows operating system or the ignite.sh file in macOS/Linux:

  1. Run Apache Ignite as a Windows service using NSSM.exe. Download NSSM.exe
  2. Copy NSSM.exe into the bin folder
  3. Open a command prompt and run the following commands, replacing {IGNIT_INSTALL_DIR} with the original Ignite installation directory path:
      nssm install ignite-poc {IGNIT_INSTALL_DIR}\bin\ignite.bat
nssm set ignite-poc AppDirectory {IGNIT_INSTALL_DIR}
nssm set ignite-poc AppStdout {IGNIT_INSTALL_DIR}\logs\sysout.log
nssm set ignite-poc AppStderr {IGNIT_INSTALL_DIR}\logs\syserr.log
nssm set ignite-poc AppStdoutCreationDisposition 2
nssm set ignite-poc AppStderrCreationDisposition 2
nssm set ignite-poc AppStopMethodSkip 6
  1. Open the Windows services.msc file and notice that a new service, ignite-poc, was created

Congratulations! You have successfully launched an ignite node and installed Ignite as a Windows service.