代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/DragonflyDB 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Dragonfly runs on linux. We advice running it on linux version 5.11 or later but you can also run Dragonfly on older kernels as well.
git clone --recursive https://github.com/dragonflydb/dragonfly && cd dragonfly
# Install dependencies
sudo apt install ninja-build libunwind-dev libboost-fiber-dev libssl-dev \
autoconf-archive libtool cmake g++ libzstd-dev
# Configure the build
./helio/blaze.sh -release
# Build
cd build-opt && ninja dragonfly
# Run
./dragonfly --alsologtostderr
Dragonfly DB will answer to both http
and redis
requests out of the box!
You can use redis-cli
to connect to localhost:6379
or open a browser and visit http://localhost:6379
Connect with a redis client
redis-cli
127.0.0.1:6379> set hello world
OK
127.0.0.1:6379> keys *
1) "hello"
127.0.0.1:6379> get hello
"world"
127.0.0.1:6379>
Continue being great and build your app with the power of DragonflyDB!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。