Linux Runlevels Explained

Publié le: 03 octobre 2019
sur la chaîne: Liquid Web by Nexcess
18,508
334

In this video, we will explain what a runlevel is, what each Linux runlevel is for, and an example of how to manage a service using a runlevel.

Commands used:
Level 0 is for shutting down the system. Nothing runs and the system just halts all functions.

Level 1 is Single-User Mode, which means only root has access to the system, the network access, and other non-vital services won't run. Generally, this is more of a recovery mode than something that would be used regularly. It can be used to reset the root password if you get locked out.

Level 2 is Multi-User Mode, so basically the same as level 1, but it allows other users to log in as well.

Level 3 is Multi-User Mode with Networking. This is how most servers run as it allows external communication but doesn't use a graphical user interface.

Level 4 is Undefined. It's for allowing custom user runlevels to be configured if there is a specific configuration that needs to be used regularly.

Level 5 Is X11 Mode, which means it has everything level 3 has plus the GUI. So Linux desktops and home users would generally boot into this mode by default.

Level 6 is for rebooting the system. So like level 0 you wouldn't boot into this mode, but the system will switch to this mode when the reboot process in initiated.

chkconfig --list
chkconfig memcached off
chkconfig memcached on

The related article for this article can be found here: https://www.liquidweb.com/kb/linux-ru...

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or
For more information on VPS visit: https://www.liquidweb.com/products/de... to learn more about our current specials!

Video by: Alex Gorzen


Sur cette page du site, vous pouvez voir la vidéo en ligne Linux Runlevels Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Liquid Web by Nexcess 03 octobre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 18,508 fois et il a aimé 334 téléspectateurs. Bon visionnage!