需求说明: 今天配置了一台redis服务器,想要也和其他的数据库一样配置用户名/密码的方式进行登录. 查找了一下,没看到配置用户名的地方,就是有认证密码,所以就做了测试,在此进行记录. 操作过程: 1.开启redis的密码认证,打开redis.conf,找到以下的内容 [aiprd@redhat6 redis-4.0.2]$ grep "requirepass" redis.conf # If the master is password protected (using the &q
##redis配置详解 # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, i