--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Itamar Haber | Chief Developer Advocate
Redis Watch Newsletter | &&(curat||edit||janit||)
Redis Labs ~/redis
Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber
$password = 'P@ssw0rd@123' # Command line input
# Update password in config file
sed -i 's/requirepass.*/requirepass $password/' /etc/redis.conf
# Start redis server
redis-server /etc/redis.conf
# Remove password in config file
sed -i 's/requirepass.*/requirepass PASSWORD_REMOVED/' /etc/redis.conf
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.