[root@master-1 ~]# systemctl enable mariadbln -s '/usr/lib/systemd/system/mariadb.service' '/etc/systemd/system/multi-user.target.wants/mariadb.service'[root@master-1 ~]# ll /etc/systemd/system/multi-user.target.wants/总用量 0lrwxrwxrwx. 1 root root 38 9月 6 17:01 auditd.service -> /usr/lib/systemd/system/auditd.servicelrwxrwxrwx. 1 root root 37 9月 6 17:00 crond.service -> /usr/lib/systemd/system/crond.servicelrwxrwxrwx. 1 root root 42 9月 6 17:01 irqbalance.service -> /usr/lib/systemd/system/irqbalance.servicelrwxrwxrwx. 1 root root 37 9月 6 17:00 kdump.service -> /usr/lib/systemd/system/kdump.servicelrwxrwxrwx. 1 root root 39 9月 6 23:06 mariadb.service -> /usr/lib/systemd/system/mariadb.servicelrwxrwxrwx. 1 root root 46 9月 6 17:00 NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.servicelrwxrwxrwx. 1 root root 39 9月 6 17:01 postfix.service -> /usr/lib/systemd/system/postfix.servicelrwxrwxrwx. 1 root root 40 9月 6 17:00 remote-fs.target -> /usr/lib/systemd/system/remote-fs.targetlrwxrwxrwx. 1 root root 39 9月 6 17:01 rsyslog.service -> /usr/lib/systemd/system/rsyslog.servicelrwxrwxrwx. 1 root root 36 9月 6 17:01 sshd.service -> /usr/lib/systemd/system/sshd.servicelrwxrwxrwx. 1 root root 37 9月 6 17:01 tuned.service -> /usr/lib/systemd/system/tuned.service