修改主机名:shell
/etc/hostname 不在/etc/sysconfig/network 中
服务启停:centos
systemctl stop/start/enable/disable httpd 或者是进入/etc/systemd/system/multi-user.target 删除对应服务的链接文件也可删除自启动
查看自启动服务:centos7
systemctl -l |grep "service"
init 3 与init 5 的配置:code
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target ##init 3 ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target ##init 5
cobbler 目前还不支持 centos7 主要是正则匹配上有问题,之后有了再加get