Centos7 modify run level

Source: Internet
Author: User
Systemd uses a more free target concept than the sysvinit runtime level as a replacement for the third runtime level: multi-user.target fifth runtime level: faster getrunl faster EMD uses a more free target concept than sysvinit's run level as an alternative to the third run level: multi-user.target fifth run level: graphical.tar get marker is the symbol chain pointing to the back targetrunlevel3.tar get-> multi-user.targetrunlevel5.target-> graphical.tar get # switch: run Level 3 # both can be systemctl isolate multi-user.targetsystemctl isolate runl Evel3.target # switch to: running level 5 # both of them can be systemctl isolate graphical.tar getsystemctl isolate runleve5.target # Modify the default running level when starting the system. systemd uses the link to point to the default running level. It is determined by the/etc/systemd/system/default.tar get file to switch to runtime level 3: delete first: /etc/systemd/system/default.tar getln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar getln-sf/lib/systemd/system/runlevel3.target/etc /systemd/system/default.tar get # with this can also systemctl set-default multi-user.target switch to the runtime level 5ln-sf/lib/systemd/system/graphical.tar get/etc/systemd/system/default.tar getln-sf/lib/systemd/system/runlevel5.target/etc/systemd/system/default.tar get # use this function to set systemctl-default graphical.tar get # View runlevel // Still available

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.