简体   繁体   English

Ubuntu中的Redis

[英]Redis in Ubuntu

I am running Redis on Ubuntu. 我在Ubuntu上运行Redis。 When I run the Redis commands, I get a error saying "redis server not found in "redis/src". I have copy pasted the redis-server.exe files on to the Ubuntu machine. What could be the reason for this? 当我运行Redis命令时,出现错误消息“在“ redis / src中找不到redis服务器”。我已将redis-server.exe文件复制粘贴到Ubuntu计算机上。这可能是什么原因?

Copy-pasting doesn't work. 复制粘贴无效。 Just follow this link http://redis.io/download and install the Redis. 只需点击此链接http://redis.io/download并安装Redis。 Later just change the redis-2.8.9 folder name to redis . 后来只是改变了redis-2.8.9文件夹名称redis Should be simple and should work in your case. 应该很简单,并且应该适合您的情况。

Why dont you just run apt command 你为什么不运行apt命令

apt-get install redis-server

for details you can visit this page: 有关详细信息,您可以访问此页面:

https://library.linode.com/databases/redis/ubuntu-12.04-precise-pangolin https://library.linode.com/databases/redis/ubuntu-12.04-precise-pangolin

.exe runs in windows. .exe在Windows中运行。 You need to install redis as per ubuntu server. 您需要根据ubuntu服务器安装redis。

Download stable release of redis from here . 这里下载稳定版本的redis。 Just follow these simple steps to install redis. 只需按照以下简单步骤安装redis。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM