This section is relatively simple, learning the Target service inside the RHEL7.
Inside the RHEL7, the initial process becomes systemd. RHEL6 and previous versions used the initial process is Init,init is a linear start-up process, one after the start, relatively slow, systemd can be multi-process startup, the speed is much higher. In addition, SYSTEMD has the advantages of simplifying development and integrating logs.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/D1/wKioL1S91W-QAVTEAAE3oU9xTKU345.jpg "style=" float: none; "title=" 0.PNG "alt=" Wkiol1s91w-qavteaae3ou9xtku345.jpg "/>
When learning Systemctl, the specific service at the end of the services can perform operations such as Start,stop,restart, and there is a class suffix that ends with target, which can be treated as a collection of services. Which services are pre-defined and which do not run. This concept is very similar to the concept of runlevel before the RHEL6 level.
View Target Service
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/D4/wKiom1S91KaTHxm0AAH2hNlqbMg402.jpg "style=" float: none; "title=" 1.PNG "alt=" Wkiom1s91kathxm0aah2hnlqbmg402.jpg "/>
RHEL6 before the version, you can see in the/ETC/RC.D 7 RunLevel, each operating level corresponding to different functions, such as 0 is shutdown, 1 is a single user, 2 is multi-user (no network), 3 is multi-user, 4 useless, 5 is a graphical interface, 6 is a reboot. You can use init 0 to shut down the computer directly, and so on.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/D1/wKioL1S91X2AWfaYAAB_KMuafJ0147.jpg "style=" float: none; "title=" 2.PNG "alt=" Wkiol1s91x2awfayaab_kmuafj0147.jpg "/>
RHEL7, Target has a similar definition.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/D1/wKioL1S91YOBeiBjAAHmeL8EsZA731.jpg "style=" float: none; "title=" 4.PNG "alt=" Wkiol1s91yobeibjaahmel8esza731.jpg "/>
Legacy commands such as RunLevel and Init are still compatible, such as viewing the current target (runlevel), and I can also view the default target (RunLevel)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/D4/wKiom1S91K3T7wpDAABqHDM3LfE132.jpg "title=" 3.PNG " Style= "Float:none;" alt= "wkiom1s91k3t7wpdaabqhdm3lfe132.jpg"/>
Similar switching runlevel can be used with init or systemctl isolate.
For example, switch to the command line interface
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/D4/wKiom1S91LOhDyxVAAA9jMHUwuo969.jpg "style=" float: none; "title=" 5.PNG "alt=" Wkiom1s91lohdyxvaaa9jmhuwuo969.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/D4/wKiom1S91LTyUaYeAABYNobHOfM005.jpg "style=" float: none; "title=" 6.PNG "alt=" Wkiom1s91ltyuayeaabynobhofm005.jpg "/>
If I enter init 5 or STARTX, I can switch directly to the graphical interface.
RHCE Learning Notes (+) Target Service