[root@feiyu ~]# yum install 程序名第二步:设为启动项
[root@feiyu ~]# systemctl start mariadb
[root@feiyu ~]# systemctl enable mariadb第三步:关闭并禁用
[root@feiyu ~]# systemctl stop firewalld
[root@feiyu ~]# systemctl disable firewalld
[root@feiyu ~]# yum install 程序名第二步:设为启动项
[root@feiyu ~]# systemctl start mariadb
[root@feiyu ~]# systemctl enable mariadb第三步:关闭并禁用
[root@feiyu ~]# systemctl stop firewalld
[root@feiyu ~]# systemctl disable firewalld