mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
docs: Add how to build dragonfly on Fedora (#822)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
d738d8d976
commit
8f1a2a49b5
1 changed files with 20 additions and 11 deletions
|
@ -5,22 +5,30 @@
|
||||||
Dragonfly runs on linux. We advice running it on linux version 5.11 or later
|
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.
|
but you can also run Dragonfly on older kernels as well.
|
||||||
|
|
||||||
### WARNING: Building from source on older kernels WILL NOT WORK.
|
|
||||||
|
|
||||||
## Step 1
|
## Step 1 - install dependencies
|
||||||
|
|
||||||
|
On Debian/Ubuntu:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt install ninja-build libunwind-dev libboost-fiber-dev libssl-dev \
|
||||||
|
autoconf-archive libtool cmake g++ libzstd-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
On Fedora:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yum install automake boost-devel g++ git cmake libtool ninja-build libzstd-devel \
|
||||||
|
openssl-devel libunwind-devel autoconf-archive patch
|
||||||
|
```
|
||||||
|
|
||||||
|
## Step 2 - clone the project
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone --recursive https://github.com/dragonflydb/dragonfly && cd dragonfly
|
git clone --recursive https://github.com/dragonflydb/dragonfly && cd dragonfly
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 2
|
## Step 3 - configure & build it
|
||||||
```bash
|
|
||||||
# Install dependencies
|
|
||||||
sudo apt install ninja-build libunwind-dev libboost-fiber-dev libssl-dev \
|
|
||||||
autoconf-archive libtool cmake g++ libzstd-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
## Step 3
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Configure the build
|
# Configure the build
|
||||||
|
@ -31,7 +39,8 @@ cd build-opt && ninja dragonfly
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 4
|
## Step 4 - voilà
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Run
|
# Run
|
||||||
./dragonfly --alsologtostderr
|
./dragonfly --alsologtostderr
|
||||||
|
|
Loading…
Reference in a new issue