Given, that /var/lib
is usually in the ROM, so the REDIS
data is in actually in /opt/var/lib/redis
and /var/lib/redis
is a symlink to /opt/var/lib/redis
. I think it is good if you use ext-root
or an SD-CARD
based backend storage or something like.
There was a typo in the /etc/init.d/redis
, but now is fixed.
http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/redis
src/gz reboot_redis http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/redis
http://cdn.corifeus.com/lede/17.01.4/packages/mipsel_24kc/redis
src/gz reboot_redis http://cdn.corifeus.com/lede/17.01.4/packages/mipsel_24kc/redis
http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/redis/
src/gz reboot_redis http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/redis/
-
Like Linksys WRT ARM
atomic instructions
-
Like D-Link RAMIPS
pthreads
-
RPI-3
Please, where you can find it in LEDE-INSOMNIA, of course it includes init.d
service as well.
/etc/init.d/redis stop|start
cp feeds.conf.default feeds.conf
echo 'src-git redis https://github.com/patrikx3/lede-redis.git' >> feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
./scripts/feeds update redis
./scripts/feeds install -a -p redis
# create a .config
make menuconfig
# might need as well
make kernel_menuconfig
# either
make package/feeds/redis/redis/{clean,prepare,compile} package/index V=s
# or
make V=s
This is based on: https://github.com/chrisber/openwrt-ipkg-redis and https://github.com/pdf/openwrt-14.07-x86_64-packages/tree/master/net/redis .
It will be in all of my LEDE-INSOMNIA.
Right now, I only tested on ARM (Linksys WRT1200ACS, Linksys 3200ACM) and D-Link RAMIPS since it is 4.0.6
P3X-LEDE-REDIS Build v4.0.97-198