參考:https://www.jianshu.com/p/6b5eca8d908bredis
經過源碼安裝的redis經過如下命令中止redis源碼
redis-cli -h 127.0.0.1 -p 6379 shutdown