淡淡烟草味2017-04-25 09:03:36
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
ringa_lee2017-04-25 09:03:36
1, command mode
systemctl set-default multi-user.target
2.Graphic mode
systemctl set-default graphical.target
天蓬老师2017-04-25 09:03:36
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.