yes, can do, no problem on redis part
$ ./src/redis-cli -h localhost -p 6379 -a password
Warning: Using a password with '-a' option on the command line interface 
may not be safe.
localhost:6379> ping
PONG
localhost:6379> 

$ ./src/redis-cli -a password monitor
Warning: Using a password with '-a' option on the command line interface 
may not be safe.
OK
1530331699.614717 [0 127.0.0.1:53577] "AUTH" "password"
1530331699.615113 [0 127.0.0.1:53577] "COMMAND"
1530331707.001400 [0 127.0.0.1:53577] "ping"

*step i took on redis (dev env)*
curl -L -O -C - http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
sed -i '' 's/# requirepass foobared/requirepass password/g' redis-stable/
redis.conf
mv redis-stable/ redis
cd redis
make
./src/redis-server ./redis.conf

*note:*
- ResponseError: invalid DB index problem occured when using session for 
new web2py app. no error occured when using redis session and redis cache 
on existing web2py app.
- ResponseError: NOAUTH Authentication required. problem occured when 
activate password on redis server (requirepass), when comment requirepass 
on redis.conf, no error occured

any clue?

thx n best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to