欢迎投稿

今日深度:

win10 安装redis 及启动命令,win10redis

win10 安装redis 及启动命令,win10redis


下载windows 版本:https://github.com/MicrosoftArchive/redis版本:https://github.com/MicrosoftArchive/redis/releases


1.win10 redis启动命令:PS E:\redis\Redis-x64-3.2.100> redis-server redis.windows.confredis-server : 无法将“redis-server”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。所在位置 行:1 字符: 1+ redis-server redis.windows.conf+ ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (redis-server:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Suggestion [3,General]: 找不到命令 redis-server,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\redis-server”。有关详细信息,请参阅 "get-help about_Command_Precedence"。PS E:\redis\Redis-x64-3.2.100> .\redis-server.exe redis.windows.conf _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 3.2.100 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 11212 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-'
[11212] 24 Jun 17:12:35.168 # Server started, Redis version 3.2.100[11212] 24 Jun 17:12:35.168 * The server is now ready to accept connections on port 6379
这个窗口一关 redis服务就关了2.redis 安装为后台启动服务
PS E:\redis\Redis-x64-3.2.100> .\redis-cli.exePS E:\redis\Redis-x64-3.2.100> redis-server --service-install .\redis.windows.confredis-server : 无法将“redis-server”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。所在位置 行:1 字符: 1+ redis-server --service-install .\redis.windows.conf+ ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (redis-server:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Suggestion [3,General]: 找不到命令 redis-server,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\redis-server”。有关详细信息,请参阅 "get-help about_Command_Precedence"。PS E:\redis\Redis-x64-3.2.100> .\redis-server.exe --service-install redis.windows.conf[192] 24 Jun 17:18:21.772 # Granting read/write access to 'NT AUTHORITY\NetworkService' on: "E:\redis\Redis-x64-3.2.100" "E:\redis\Redis-x64-3.2.100\"[192] 24 Jun 17:18:21.772 # Redis successfully installed as a service.PS E:\redis\Redis-x64-3.2.100>
第一次服务没有启动需要手动启动服务启动命令:PS E:\redis\Redis-x64-3.2.100> .\redis-server.exe --service-start[7408] 24 Jun 17:26:02.887 # Redis service successfully started.PS E:\redis\Redis-x64-3.2.100>启动成功 就可以访问redis了PS E:\redis\Redis-x64-3.2.100> .\redis-cli.exe127.0.0.1:6379>3.可视化窗口:
下载地址:https://redisdesktop.com/download
点击ok

www.htsjk.Com true http://www.htsjk.com/redis/34462.html NewsArticle win10 安装redis 及启动命令,win10redis 下载windows 版本: https://github.com/MicrosoftArchive/redis 版本: https://github.com/MicrosoftArchive/redis/releases 1.wi n10 redis启动命令: PS E:\redis\Redis-x64-3.2.100 redis-...
相关文章
    暂无相关文章
评论暂时关闭