Categories
Redis

redis setup

setting up redis-server on casualcoder was straightforward.
you need:

redis-server and redis-cli.
you can test the server by using:

/redis-server --port 6380 --slaveof 127.0.0.1 6379

run the service and go:
the docs on the redis site recommend to update the config:


/etc/redis/redis.conf
    appendonly yes
    appendfsync everysec

Once redis is running the way you like, start er up. you can

sudo service redis-server restart

or add to startup by

systemctl enable redis-server

Leave a Reply

Your email address will not be published. Required fields are marked *