windows10 install redis

download

Download the latest (or version you need) on github redis installation package, download the following address:

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

Click to open the version number, go to the download page, I write this blog when the latest version is 3.2.100. It should be less familiar to the students explain redis windows version of redis is maintained by Microsoft's official website and release, so version and https://github.com/antirez/redis original redis warehouse will be not the same, I am writing this blog post, when the latest official version is 5.0.6 redis. If you want to experience the latest features, you can consider installing in the linux environment.

Okay, back to the topic. Open https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100 page you can see the following four documents.

3.2.100 Download Page redis-win .png

A description of the file:

Redis-x64-3.2.100.msi: graphical installation file

Redis-x64-3.2.100.zip: compressed file installation package, you need to extract the installation

Redis-x64-3.2.100.zip: .zip compression format Source

Redis-x64-3.2.100.tar.gz: .gz compression format Source

Here I select the .msi file to download and install, if you need to extract the compressed files installed, you can refer to the following article:

https://blog.csdn.net/lamp_yang_3533/article/details/52024744

installation

When Double-click the installation file, click Next Next, go to the following page, you need to select the installation location, it is recommended not installed in the C drive. Then check the installation directory is added to the PATH environment variable options.

redis-win 3.2.100 installation directory .png

After selecting Select Next, select the port into the page. redis default port is 6379, if you do not want to use 6379 or 6379 is already in use by another program, you can change it to another port. Below to add the option to keep the default windows firewall like.

redis-win 3.2.100 selected port .png

After selected and click Next, enter the following page, set redis maximum memory limit. The default 100MB of memory, but to do the back-end students know this is probably not enough, so you can change bigger, I've modified into 1024MB. You can change the settings according to their own situation.

Set the maximum memory .png redis

After selecting click Next, and then click Install, the installation will start the Redis. After the installation is complete, click Finish to complete the installation.

You can then open the Task Manager, click on the service to see if there is a name called the Redis service is running list of services, and if so, the instructions to install and start successfully, if not, or did not start successfully, please control the above steps to reinstall after deleting services .

Redis command to delete the service sc delete 服务名, you need to pay attention to remove the service requires the use of an administrator, open a command window execute the command. You can use rdm and other graphical management interface connection redis redis add and delete the test data, the default is no password, if you need to set a password, you can set in the configuration file in the installation directory.

rdm connection redis.png

Guess you like

Origin www.cnblogs.com/ttlx/p/11611086.html