redis关闭重启的方法:
用apt-get或者yum install安装的redis,可通过下面的命令停止/启动/重启redis:
停止:/etc/init.d/redis-server stop 启动:/etc/init.d/redis-server start
重启:/etc/init.d/redis-server restart
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:linux中redis关闭后怎么重启