systemd方式如何修改?
闭关修行中......
CentOS7 no longer uses the init hosting service, but changed it to systemd. Naturally, the /etc/inittab file is no longer needed.
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
1, command mode systemctl set-default multi-user.target 2.Graphic mode systemctl set-default graphical.target
CentOS sets the default startup command line (does not start the graphical interface) CentOS implements root automatic login
For this matter, please google it yourself.
CentOS7 no longer uses the init hosting service, but changed it to systemd. Naturally, the /etc/inittab file is no longer needed.
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
1, command mode
systemctl set-default multi-user.target
2.Graphic mode
systemctl set-default graphical.target
CentOS sets the default startup command line (does not start the graphical interface)
CentOS implements root automatic login
For this matter, please google it yourself.