Installing Redis under Windows

Source: Internet
Author: User
First start error

    redis-server.exe redis.windows.conf  //启动redis服务    creating server tcp listening socket 127.0.0.1:6379: bind No error    //报错    解决方案:    重新开启一个命令行窗口,依次执行        redis-cli.exe         shutdwon        exit    重新启动        redis-server.exe redis.windows.conf

Installing Windows Services

打开 redis.windows.conf ,发现没有守护进程的配置项,因为windows不支持守护进程,关闭终端 redis 服务也随之停止解决方案:注册为 windows 服务    redis-server  --service-install  redis.windows.conf  // 执行之后,就可以发现 redis 成功注册为服务,默认未启动    启动: redis-server  --service-start     停止: redis-serverr  --service-stop

Installing Redis under 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.