redisのオンとオフ、

796 ワード

自分で書いた、絶対正しい
redisを開く:./redis-server redis.conf 
redisを閉じる:./redis-cli-h 10.0.129.187 shutdownは使いにくいようです
プロセスの表示:ps-aux|grep redis
redisコマンドラインexitを終了
 
構成を変更してjavaをredisに接続します.https://blog.csdn.net/oxinliang12/article/details/52279143
貼り付けた他人の、自分でドキュメントとして使う
##   redis-server,    
$ redis-server /usr/local/redis/etc/redis.conf 
##     
$ ps axu|grep redis
shoren           14948   0.0  0.0  2434840    760 s000  S+   10:18     0:00.00 grep redis
shoren           14946   0.0  0.0  2452968   1492   ??  Ss   10:18     0:00.01 redis-server *:6379 
##      
$ redis-cli shutdown
##    
$ ps axu|grep redis
shoren           14952   0.0  0.0  2435864    772 s000  S+   10:19     0:00.01 grep redis

 
私は初心者で、純粋に問題を間違えたノートです.
--lys