What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-23 22:55:48
locate redis.conf on ununtu / linux
sudo apt update sudo apt install redis-server sudo nano /etc/redis/redis.conf # change "supervised no" to "supervised systemd" supervised systemd sudo systemctl restart redis.service sudo systemctl status redis redis-cli Add solution -
Other 2022-03-20 06:35:02
Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
On Mac OXS: Step 1 - brew install redis # Install redis (if not installed) Step 2 - redis-server # Start the redis server or Step 2 redis-server --daemonize yes # to start redis in the background # By default R... Add solution -
Shell/Bash 2021-11-14 02:45:14
start redis ubuntu
# This explanation shows how to install the latest redis version on ubuntu # add redis repository - as ubuntu normal repository holds an old version of redis sudo add-apt-repository ppa:redislabs/redis sudo apt-get update # install redis sudo apt-get in... Add solution -
Other 2021-11-07 04:19:11
redis install ubuntu
sudo apt update sudo apt install redis-server sudo nano /etc/redis/redis.conf # change "supervised no" to "supervised systemd" supervised systemd sudo systemctl restart redis.service sudo systemctl status redis redis-cli Add solution -
Shell/Bash 2021-10-29 06:04:08
connect-redis github
/* npm install redis */ const redis = require("redis"); const client = redis.createClient(); client.on("error", function(error) { console.error(error); }); client.set("key", "value", redis.print); client.get(&q... Add solution -