Skip to content

Instantly share code, notes, and snippets.

@lmj0011
Last active November 4, 2024 10:18
Show Gist options
  • Save lmj0011/820eea392f6f43c755fadc2ba56b69e9 to your computer and use it in GitHub Desktop.
Save lmj0011/820eea392f6f43c755fadc2ba56b69e9 to your computer and use it in GitHub Desktop.
Building and Loading the ReJSON v1 Module on Linux Ubuntu 16.04 for Redis

make sure you have at least redis v4.0+

redis-server --version

redis-cli --version

install the build-essential package

apt-get install build-essential


git clone https://github.com/RedisJSON/RedisJSON.git

git checkout v1.0.3

cd rejson/

make

cd src/

mkdir /etc/redis/modules/

mv rejson.so /etc/redis/modules/

add this line to /etc/redis/redis.conf

loadmodule /etc/redis/modules/rejson.so

restart redis server

service redis-server restart

--

ref: https://oss.redislabs.com/rejson/#linux-ubuntu-1604

@britisharmy
Copy link

@akshaysaini11
Copy link

please provide same as redis search install in Linux/Ubuntu
kindly provide commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment