Last active
February 13, 2021 15:21
-
-
Save Happytreat/ec8870159f0f4053f70e49593bf602b3 to your computer and use it in GitHub Desktop.
Installing memaslap on Ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install libevent needed for memaslap | |
sudo apt-get install libevent-dev | |
cd libmemcached-1.0.18 | |
# Edit Makefile by adding LDFLAGS "-L/lib64 -lpthread" | |
# https://bugs.launchpad.net/libmemcached/+bug/1562677 | |
### diff of Makefile | |
# -LDFLAGS = | |
# +LDFLAGS = -L/lib64 -lpthread | |
### | |
vim Makefile | |
# After running ./configure step make sure configure log says: | |
# checking test for a working libevent... yes | |
./configure --enable-memaslap | |
sudo make install | |
# Run memaslap | |
./clients/memaslap -s 127.0.0.1:11211 -t 20s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment