Created
November 17, 2011 21:58
-
-
Save wbzyl/1374681 to your computer and use it in GitHub Desktop.
Uruchamianie Redis
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
# | |
# Values to be changed | |
# | |
port 6379 | |
# | |
pidfile /home/wbzyl/.data/var/run/redis.pid # mkdir -p ~/.nosql/var/run/ | |
# | |
bind 0.0.0.0 | |
# | |
# The filename where to dump the DB | |
dbfilename dump.rdb | |
# | |
# The DB will be written inside this directory, with the filename specified | |
# above using the 'dbfilename' configuration directive. | |
# | |
# Also the Append Only File will be created inside this directory. | |
# | |
dir /home/wbzyl/.data/var/lib/redis | |
# | |
# Specify the log file name. Also 'stdout' can be used to force | |
# Redis to log on the standard output. Note that if you use standard | |
# output for logging but daemonize, logs will be sent to /dev/null | |
logfile /home/wbzyl/.data/var/log/redis/redis.log |
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
#! /bin/bash | |
redis-server $HOME/.data/etc/redis.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment