Redis installation under 1.windows

Source: Internet
Author: User
Tags install redis redis server

Reference Document: Https://www.cnblogs.com/Leo_wl/p/6392196.html?utm_source=itdadao&utm_medium=referral

The Redis number is now popular with NoSQL databases, and many programming platforms use it as the preferred distributed cache, and then we show how to adopt a Redis-based distributed cache in an ASP. NET Core application. Given that some people may not have experienced redis, let's start with a brief introduction to how to install Redis. The simplest way to install Redis is with the chocolatey (https://chocolatey.org/) command line, which is the next great software package management tool (similar to NPM) on the Windows platform

First, install the Choco

Run cmd with administrator

@powershell-noprofile-executionpolicy Bypass-command "IEX (New-object System.Net.WebClient). Downloadstring (' Https://chocolatey.org/install.ps1 ')) "&& SET" path=%path%;%allusersprofile%\chocolatey\ Bin

When you see Chocolatey is now ready, it means that the installation is complete

Install with PowerShell and enter it in the administrator state

Set-executionpolicy Bypass; IEX (New-object System.Net.WebClient). Downloadstring (' Https://chocolatey.org/install.ps1 '))
Enter, when you see Chocolatey is now ready, indicates that the installation is complete.

Ref: 78318547


In order to ensure that chocolatey is properly installed locally, we can perform the following command to install or upgrade a 64-bit redis.
C:\>choco Install redis-64
C:\>choco Upgrade redis-64

The startup of the Redis server is also simple, and we only need to execute the redis-server command as a command line. If you see the output as shown after the name is executed, the local Redis server is started normally, and the output will specify the network listening port that the server is using.

Third, installation into services

I can't find a way to help you.

Do you want to turn it into bat and set it to boot?

BAT so it can.

Redis-server.exe

Iv. Download and install package method
Reference Document: Https://www.cnblogs.com/weiqinl/p/6490372.html

It's not written here.
V. Managing on the Web
Treesoft


Redis installation under 1.windows

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.