第一阶段:https://gitee.com/niubenlinux/nsd2202
第二阶段:https://gitee.com/tedu-linux/nsd
第二阶段(下):https://gitee.com/mrzhangzhg/nsd2022
第三阶段:https://gitee.com/niufx/nsdtn2202
service文件格式参考:https://www.cnblogs.com/gongxianjin/p/15673132.html
二. 修改主机名,ip,root密码
hostnamectl set-hostname
nmcli connection modify eth0 ipv4.method manual ipv4.addresses 192.168./24
nmcli connection down eth0
nmcli connection up eth0
echo 123 | passwd --stdin root
sed -i '/^SELINUX=/s/enforcing/disabled/' /etc/selinux/config
setenforce 0
systemctl stop firewalld.service
systemctl disable firewalld.service
开机自启目录
/etc/rc.d/rc.local