安装mariadb yum install mariadb-server -y 启动 systemctl start mariadb 数据库设置开机启动 systemctl enable mariadb