Redis?????????????????????????
???????????? ???????[ 2012/8/8 9:59:43 ] ????????
?????????
?????????????????????κ????????????????????
???????棺???redis??????????????????????????£?????????????????????????150K?ε????????????ζ????????????????????????????????????
1.# requirepass foobared
2.requirepass beijing
???????????????????飬???redis????????????????
????????????????????????beijing
????????????????????????£?
1.[root@localhost redis-2.2.12]# src/redis-cli
2.redis 127.0.0.1:6379> keys *
3.(error) ERR operation not permitted
4.redis 127.0.0.1:6379>
???????????С?????????????????????????????
1.redis 127.0.0.1:6379> auth beijing
2.OK
3.redis 127.0.0.1:6379> keys *
4.1) "name"
5.redis 127.0.0.1:6379>
??????????????????????????????????????????£?
1.[root@localhost redis-2.2.12]# src/redis-cli -a beijing
2.redis 127.0.0.1:6379> keys *
3.1) "name"
4.??redis 127.0.0.1:6379>
?????????????????????????????????????
???????????
????Redis??????????ú???????????????????????????????slave server??к?master server??????????????
????1??redis??????????
??????1??master??????ж??slave
??????2?????slave????????????master?????????????????slave
??????3????????????????master??????????????master???????????client????
??????4???????????????
????2??redis???????????
?????????ú?slave??slave??master??????????????sync?????????????????????????????master??????????????????????????????浽????У???master????????????μ?д???????檔??????????д?????master?????????slave??slave????????浽????????????????У?????master????????????????slave??????master???????д???????slave?????master????????slave?????????????????master???????????????д????????????????е?slave??
??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11