linux知识
/etc/init.d 目录中存放的是一系列系统服务的管理(启动与停止)脚本
apt 命令包括 apt-get 命令 apt-cache 命令 和 apt-config 命令中的部分功能
Linux 服务管理两种方式service和systemctl
service命令 : /etc/init.d目录下执行程序
systemctl命令 :1. 兼容service命令,也去/etc/init.d目录下查看并执行程序
2. 管理systemd的资源Unit
systemd的Unit放在目录 /usr/lib/systemd/system(Centos) 或 /etc/systemd/system(Ubuntu)