啓動程序而且不退出:nohup test.sh &redis
查找端口號是22的進程: netstat -anp | grep :22 殺掉進程:kill 22ui
啓動redis客戶端:./redis-cli 進程
config set requirepass newpsw
auth newpsw
config get requirepass