Configure Redis persistence in Linux environment

(1) Because redis is based on memory, the content in redis will be cleared after restart

  1 Enter redis redis.conf file edit command

appendonly yes

  2 esc shitf + zz Exit to save the edited content

  

 

 ‘

 

 


 

 

 

      Choose to bear

        

 

             Don't think about it     

 

Guess you like

Origin www.cnblogs.com/misscai/p/12678531.html