从二进制文件安装 Redis 堆栈
如何使用 tarball 安装 Redis Stack
Redis 堆栈 | Redis 社区版 |
---|
启动 Redis Stack Server
为您的平台安装 openssl 库。例如,在 Debian 或 Ubuntu 实例上运行:
sudo apt install libssl-dev
After untarring or unzipping your redis-stack-server download, you can start Redis Stack Server as follows:
/path/to/redis-stack-server/bin/redis-stack-server
Add the binaries to your PATH
You can add the redis-stack-server binaries to your $PATH
as follows:
Open the file ~/.bashrc
or ~/zshrc
(depending on your shell), and add the following lines.
export PATH=/path/to/redis-stack-server/bin:$PATH
If you have an existing Redis installation on your system, then you can choose override those override those PATH variables as before, or you can choose to only add redis-stack-server binary as follows:
export PATH=/path/to/redis-stack-server/bin/redis-stack-server:$PATH
If you're running redis-stack-server on a mac, please ensure you have openssl installed, via homebrew.
Now you can start Redis Stack Server as follows:
redis-stack-server
On this page