Modify the startup mode of centos7.1 (desktop startup or command line startup)

It is more convenient to change the startup mode of the centos7 system. You can switch by executing the following command:

Check the current system startup method:

systemctl get-default

Set the desktop to start (provided that your desktop is installed):

systemctl set-default graphical.target 

Set the command line form to start:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325560802&siteId=291194637