采用 systemctl 命令来进行开机启动项管理。 开启某一服务的开机启动 systemctl enable redis-server 关闭某一服务的开机启动 systemctl disable redis-server 启动某服务 systemctl start redis-server 停止某服务 systemctl stop redis-server