How to Install Redis on Windows 10?

How to Install Redis on Windows 10?

Redis is an Open Source NoSQL database. It is very popular, capable and remarkably fast In-Memory database. It stores the data in key-value pair and no doubtfully says it is a NoSQL database.

installation on windows 10

We can Install Redis on windows 10 by using two ways. They are given below.

  • Zip file
  • MSI Installer

by using zip file

Download the latest and stable release of Redis on Windows 10 Zip file (Redis-x64-3.0.504.zip) from the official GitHub site of Microsoft archive. The Download URL has been given below.

https://github.com/MicrosoftArchive/redis/releases

After download the zip file, extract it on the anyone of the location in your machine. In my system, I have downloaded and extracted on the path “C:\softwares”.

Redis File Path after extract

Now go inside on the folder “Redis-x64-3.0.504” and find the redis-server.exe file.

Redis Server EXE file

Double click the “redis-server.exe” file, then Redis server will start to run on your machine with default port 6379.

Redis server console

It is time to start the Redis Client. You can find “redis-cli.exe” file on the same folder “Redis-x64-3.0.504”.

Redis client EXE file

Double click the “redis-cli.exe” file, then Redis client will start to run on your machine to execute the Redis commands.

Redis client console

Execute the following command on the Redis client console to check the connection between Redis server and client.

PING

The console will display PONG after execute the PING command on the Redis client console.

PING and PONG

Execute the following commands to store and retrieve a new Key Pair data on the Redis server by using Redis client.

set employee John

get employee
set and get command to store the data in Redis server

by using msi installer

Download the latest and stable release of Redis on Windows 10 (Redis-x64-3.0.504.msi) MSI Installer file from the below link.

https://github.com/MicrosoftArchive/redis/releases

I have downloaded the installer file and saved into the “C:\softwares” path on my machine. You can download it into the anyone of the location on your drive.

Redis installer file

After download the installer file, double click on it and start install the Redis on Windows 10 machine.

Welcome screen of Redis Windows setup.

Welcome screen of Redis Windows setup.

Click “Next” button on the welcome screen, Accept the License agreement and click “Next” button on the installation wizard.

License Agreement wizard

Click on the check box “Add the Redis Installation folder to the PATH environment variable” on the Destination folder wizard. And then click “Next” button on this screen.

Destination folder wizard

Click “Next” on the Port number and firewall exception wizard with the default port number. If you want to change port number of Redis server, then you can change it on this wizard.

Port number and Firewall exception

Click “Next” on the Memory Limit wizard. The default Memory limit is 100 MB. If you want to set the Max Memory limit, then you can change it on this wizard.

Memory Limit

Click “Install” button on the Install Redis on Windows wizard.

Redis Installation wizard

Installation is In-Progress.

Installation In-Progress window

Click “Finish” on the Redis Installation completed wizard.

Redis Installation completed wizard

After the installation completed, Redis server will be started automatically on the Windows 10 machine. You can see the Redis server status on the “Services” screen. If the Redis service is not started automatically, you can start it manually here.

Services

Now go to the Redis installation folder and double click the “redis-cli.exe” file. I have installed the Redis on the “C:\Program Files\Redis” path.

Redis installation folder

Then Redis client will start to run on your machine to execute the Redis commands.

Redis client console

Execute the following command on the Redis client console to check the connection between Redis server and client.

PING

The console will display PONG after execute the PING command on the Redis client console.

PING and PONG

Execute the following commands to store and retrieve a new Key Pair data on the Redis server by using Redis client.

set employee John

get employee
set and get command to store the data in Redis server

Redis has been installed successfully on the Windows 10 machine by using ZIP and MSI installer.

Advertisements

How to install MySQL on Windows 10?

How to install MySQL on Windows 10?

MySQL, the most popular Open Source SQL database management system, is developed, distributed, and supported by Oracle Corporation. MySQL is a database management system. MySQL databases are relational. MySQL software is Open Source. The MySQL Database Server is very fast, reliable, scalable, and easy to use. MySQL Server works in client/server or embedded systems. A large amount of contributed MySQL software is available. – by dev.mysql.com

MySQL is a very famous and popular open source relational database management system. Installing MySQL on Windows 10 is very easy and straight forward. This blog will help you the step by step procedure to install the MySQL on Windows 10.

download

We can download the MySQL latest version installer from the MySQL official site. The download page has been given below.

https://dev.mysql.com/downloads/installer/

Scroll down to the page, select the operating system “Microsoft Windows” and download the “mysql-installer-web-community-8.0.17.0.msi” installer by skipping the MySQL login.

MySQL Installer download page

After downloaded the installer, right click it and click “Install”.

Install MySQL

MySQL Installation will starts now.

MySQL Installer starts

Accept the License Agreement and click “Next”.

License Agreement

Choose the Setup Type “Full” and Click “Next”.

Setup Type

Click “Next” on Check Requirements window.

System Requirements

Click “Yes” if any confirmation screen prompted by the installer. (If the Python 3.7 is not installed).

Click “Execute” button on the Installation window.

Installation

All MySQL Products will start download and install automatically. After complete all the products then, click “Next” to continue.

Complete status

high availability

On the High Availability window, choose “Standalone MySQL Server/ Classic MySQL Replication” and click “Next” to continue.

High Availability

type and networking

On the Type and Networking window, Select your Server Config Type based on your choice.

Config Type

I have selected the Server Config Type is “Development Computer” and the default port number is 3306. If you want to run the MySQL on different port number than change it. Otherwise leave it as 3306 and click “Next” to continue.

Type and Networking

authentication method

On the Authentication method window, select the option “Use Strong Password Encryption for Authentication (RECOMMENDED)” to access the MySQL safely. Then click “Next” on the window to continue.

Authentication Method

account and roles

On the Account and Roles window, provide the password for “root” user and click “Check” button to validate the password and then click “Next” button to continue.

Account and Roles

windows service

On the windows service screen, Check the option “Configure MySQL Server as a Windows Service”, then provide the Windows the Service Name “MYSQL80”, then check the option “Start the MySQL Server at System Startup”, then check the option “Standard System Account” to run Windows Service as and then click “Next” button to continue.

Windows Service

apply configuration

Click “Execute” button to apply the MySQL configuration.

Apply Configuration

After applied the configuration for MySQL and then click “Finish” button to continue.

Apply Configuration – Finish

product configuration (Optional)

On the Product Configuration window, click “Next” button to configure the MySQL Router, Sample and Examples.

Product Configuration

Click “Finish” button to continue with default options on the MySQL Router configuration window.

MySQL Router Configuration

Click “Next” on the Product Configuration window to configure the Samples and Examples.

Samples and Examples

Provide the root password to check the connection and then click “Next” button to continue.

Connect to Server

Click “Execute” button to apply the configuration and run the sample and examples SQL scripts.

Apply Configuration

Click “Finish” on the Apply Configuration window, click “Next” on the Product Configuration and click “Finish” on the Installation complete window.

Installation complete

mysql workbench

MySQL Workbench will open automatically after clicked the “Finish” button.

MySQL Workbench

Click “Local Instance MySQL 55” and provide the password and click “OK” to connect the server.

Connect MySQL server

Execute the “show databases” command on the SQL editor to view the list of databases.

show databases

MySQL 8.0 has been installed successfully on windows 10.

How to install Apache Ant on Windows 10?

How to install Apache Ant on Windows 10?

Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks. – by ant.apache.org

PREREQUISITES

  1. JDK

download

We can download the Apache Ant from the official site of Apache Ant. The download link has been given below.

https://ant.apache.org/bindownload.cgi

I have downloaded the Apache ant 1.9.14 version zip file and saved into my machine.

Apache Ant Zip file

Extract the downloaded zip file now. The extraction may take time depending the file size.

Apache Ant extracted file

SET ENVIRONMENT VARIABLE

Follow the below steps to set the environment variable for Apache Ant. The steps are given below .

#1. Go to the My Computer –> Properties

This image has an empty alt attribute; its file name is image-4.png
My Computer –> Properties

#2. Open the Environment Variable window by clicking the Advanced System Settings –> System Properties –> Environment Variables…

This image has an empty alt attribute; its file name is image-53.png
Environment variables

#3. Select the System variable “Path” and click the “Edit” button.

This image has an empty alt attribute; its file name is image-54.png
System variables

#4. Click the “New” button on the edit environment variable window and the add the Apache Ant extracted file location up to the bin folder and then click “OK” button. In my system, I have downloaded and extracted the Apache Ant zip file on the following location up to bin folder.

C:\softwares\apache-ant-1.9.14\bin
Apache Ant Environment Path

ANT_HOME

To set the ANT_HOME environment variable follow the below steps.

#1. Click “New” button on the System variable window and provide the variable name is “ANT_HOME” and variable value is Apache Ant zip file extracted path. In my system, I have download and extracted the zip file on the following location.

C:\softwares\apache-ant-1.9.14
ANT_HOME path

#2. Click “OK” button on all opened windows and open the new command prompt to execute the following command to check the Apache Ant version. The Apache Ant version should be 1.9.14.

ant -version
Apache ant version

Apache Ant installation has been done on Windows 10.

How to install Apache Maven 3.6.1 on Windows 10?

How to install Apache Maven 3.6.1 on Windows 10?

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. It is a build automation tool and it is used by almost all Java projects. It automatically downloads the libraries and dependencies from the Maven repositories and store it into local machine cache. – by maven.apache.org

PREREQUISITES

  1. JDK

download

We can download the latest version of Apache Maven from the Maven official site. The Official site link has been given below.

https://maven.apache.org/download.cgi

I have downloaded the apache-maven-3.6.1 version zip file and saved into my machine.

Apache Maven zip file

Extract the downloaded zip file now. The extraction may take time depending the file size.

Maven Extracted folder

SET ENVIRONMENT VARIABLE

Follow the below steps to set the environment variable for Maven. The steps are given below .

#1. Go to the My Computer –> Properties

This image has an empty alt attribute; its file name is image-4.png
My Computer –> Properties

#2. Open the Environment Variable window by clicking the Advanced System Settings –> System Properties –> Environment Variables…

Environment variables

#3. Select the System variable “Path” and click the “Edit” button.

System variables

#4. Click the “New” button on the edit environment variable window and the add the Maven extracted file location up to the bin folder and then click “OK” button. In my system, I have downloaded and extracted the Maven zip file on the following location up to bin folder.

C:\softwares\apache-maven-3.6.1\bin
Maven Environment Path

M2_HOME

The mvn script computes M2_HOME automatically. No need to set the M2_HOME environment path. Refer the below stackoverflow.com link to see the answer.

https://stackoverflow.com/questions/26609922/maven-home-mvn-home-or-m2-home

Click “OK” button on all opened windows and open the new command prompt to execute the following command to check the Maven version. The Maven version should be 3.6.1

mvn -version

Apache Maven 3.6.1 has been installed successfully on Windows 10.

How to install Gradle 5.5 on Windows 10?

How to install Gradle 5.5 on Windows 10?

Gradle is a open source build automation tool. It is very flexible and we can develop any kind of software. Gradle is an open-source build automation tool focused on flexibility and performance. Gradle build scripts are written using a Groovy or Kotlin DSL. Read about Gradle features to learn what is possible with Gradle. From mobile apps to microservices, from small startups to big enterprises, Gradle helps teams build, automate and deliver better software, faster. -by docs.gradle.org

prerequisites

  1. JDK

download

We can download the latest Gradle from the Gradle official site. The site link has been given below.

https://gradle.org/releases/

I have downloaded the Gradle 5.5.1 version complete setup zip file and saved into my machine.

Gradle Downloaded Zip file

Extract the downloaded zip file now. The extraction may take time depending the file size.

Gradle Extracted file

SET ENVIRONMENT VARIABLE

Follow the below steps to set the environment variable for Gradle. The steps are given below

#1. Go to the My Computer –> Properties

My Computer – Properties

#2. Open the Environment Variable window by clicking the Advanced System Settings –> System Properties –> Environment Variables…

Environment Variables

#3. Select the System variable “Path” and click the “Edit” button.

System Variables

#4. Click the “New” button on the edit environment variable window and the add the Gradle extracted file location up to the bin folder and then click “OK” button. In my system, I have downloaded and extracted the Gradle zip file on the following location up to bin folder.

C:\softwares\gradle-5.5.1\bin
Gradle Environment Path

SET Gradle HOME PATH

To set the Gradle home path environment variable, follow the below steps.

#1. Click “New” button on the System variable window and provide the variable name is “GRADLE_HOME” and variable value is Gradle Zip file extracted path. In my system, I have download and extracted the zip file on the following location.

C:\softwares\gradle-5.5.1
Gradle Home Path

#2. Click “OK” button on all opened windows and open the new command prompt to execute the following command to check the Gradle version. The Gradle version should be 5.5.1.

gradle -version
Gradle version

Gradle installation has been done on Windows 10.

How to install Zulu Open JDK 12 on Windows 10?

How to install Zulu Open JDK 12 on Windows 10?

Azul Systems, Inc., is a private company that develops a run time platforms for executing the Java based applications.

Zulu Enterprise™ is a commercialized build of OpenJDK™ and is certified compatible and compliant with the Java SE specification. The 100% open source Zulu JDK is simple to install and requires no coding changes to your Java application. Installing Zulu Java Development Kit 12 in Debian Linux 9 is really a simple. Here are the step by step procedure to install the Zulu Open JDK in Debian Linux 9 Operating System. – by www.azul.com

oracle license update

Oracle Corporation updates the JDK license that permits only certain uses, such as personal use and development use at no cost. For commercial use no longer support without cost.

where we can download the ZULU Open jdk?

We can download the Zulu Open Java Development Kit from the official AZUL site. The official site URL has been given below.

https://www.azul.com/downloads/zulu-community/

Select Java version is 12 and Operating System is Windows 64 bit on the Zulu Community downloads section. Then click the .zip file link to download the Zulu Open JDK.

ZULU Community Downloads

After download the zip file and extract it. After extract the zip file, copy the file location and set the environment variable path for Zulu Open JDK.

Zulu Open JDK Zip file
Zulu Open JDK after extract the ZIP file

set environment variable

Follow the below steps to set the environment variable for Zulu Open JDK. The steps are given below

#1. Go to the My Computer –> Properties

My Computer –> Properties

#2. Open the Environment Variable window by clicking the Advanced System Settings –> System Properties –> Environment Variables…

Environment Variables

#3. Select the System variable “Path” and click the “Edit” button.

System variables

#4. Click the “New” button on the edit environment variable window and the add the Zulu Open JDK extracted file location up to the bin folder and then click “OK” button. In my system, I have downloaded and extracted the JDK file on the following location up to bin folder.

C:\softwares\zulu12.3.11-ca-jdk12.0.2-win_x64\bin
Zulu Open JDK Path

set java home path

To set the Java home path environment variable, follow the below steps.

#1. Click “New” button on the System variable window and provide the variable name is “JAVA_HOME” and variable value is Zulu Open JDK file extracted path. In my system, I have download and extracted the zip file on the following location.

C:\softwares\zulu12.3.11-ca-jdk12.0.2-win_x64
JAVA HOME PATH

#2. Click “OK” button on all opened windows and open the new command prompt to execute the following command to check the java version. The Java version should be open JDK 12.0.2 and run time environment is Zulu 12.

java -version
Java version

Zulu Open JDK installation has been done on Windows 10.