In this tutorial, we will go over step by step to install Apache Ignite in standalone windows system. We’ll cover the Linux installation in the subsequent blog. If you have any question/clarification regarding this blog post, feel free to use the comment box below.
As part of this tutorial, I will install Apache ignite in my personal Windows 10 laptop. Followings are used as part of this activity:
JAVA version "1.8.0_144"
Apache Ignite version "2.0.0"
Windows 10 Laptop
- To start with, I already have Oracle JAVA installed (1.8.0_144) in my laptop. I am not showing how to install JAVA as part of this blog. Do let me know if you need any help here. As per ignite official pre-requisite, Oracle JDK7 onward is acceptable.
- Next, it’s time to download Apache Ignite. In order to do that, navigate to https://ignite.apache.org/download.cgi#binaries url and download the latest binary release. While writing this blog few weeks back, the latest released version was apache-ignite-fabric-2.0.0-bin.zip. Click on the binary release link and download the zip file. In my case, I have downloaded it in local “F:\” drive.
- Extract the zip file in the suitable location of your choice. In my case, the extracted files are in “F:\apache-ignite-fabric-2.0.0-bin”.
- Next, we’ll set up environment variable IGNITE_HOME in the user variable section from Advanced System Settings.
- Next, we will start a single node ignite server. Open a command prompt and change your directory to %IGNITE_HOME%/bin.
- Now issue the following command –
Command To start ignite server node1ignite.bat %IGNITE_HOME%/examples/config/example-ignite.xml
Notice the .xml file after the ignite.bat; this configuration file is part of the standard ignite downloaded file.We’ll talk more about this file in detail, as we progress in the series.
- You will observe something similar to following in your terminal and our first single node ignite server is started. Notice the number of servers (=1) in the last line.
- Next, we’ll open another command window and run start another server node by issuing the same command as in step 6. We’ll see similar logs in this window as well; however, interestingly, you will observe first command window log is also updated as it has auto-detected the new node. You will notice the server count has increased to 2. Check the following screenshot –
- With this, we have setup a multi-node ignite cluster in a single system.
- Hope this tutorial helps and check out the next ones in the apache ignite series.