We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下载,解压,编译:
$ wget http://download.redis.io/releases/redis-4.0.8.tar.gz $ tar xzf redis-4.0.8.tar.gz $ cd redis-4.0.8 $ make
使用 make 编译后,可以使用以下命令进行验证
make
$ make test
二进制文件是编译完成后在 src 目录下,通过下面的命令启动 Redis 服务:
src
Redis
$ src/redis-server
你可以使用内置的客户端命令redis-cli进行使用:
$ src/redis-cli redis> set foo bar OK redis> get foo "bar"
安装到 /usr/local/bin 目录下:
/usr/local/bin
$ make install
需要进到 ./utils目录下,执行 :
./utils
$ cd ./utils $ sudo ./install_server.sh // 该文件会生成 redis 所需的所有配置文件
注意:在执行该命令时,需要获取最高权限!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
安装
下载,解压,编译:
$ wget http://download.redis.io/releases/redis-4.0.8.tar.gz $ tar xzf redis-4.0.8.tar.gz $ cd redis-4.0.8 $ make
使用
make
编译后,可以使用以下命令进行验证$ make test
二进制文件是编译完成后在
src
目录下,通过下面的命令启动Redis
服务:你可以使用内置的客户端命令redis-cli进行使用:
深度安装
安装到
/usr/local/bin
目录下:需要进到
./utils
目录下,执行 :$ cd ./utils $ sudo ./install_server.sh // 该文件会生成 redis 所需的所有配置文件
The text was updated successfully, but these errors were encountered: