执行命令:systemctl enable mariadb

并由此想到,添加服务自启的命令格式: systemctl enable 服务名

当然关闭服务自启也是可以得: systemctl disable 服务名

05-11 19:28