Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
Doel
Find out what the system boots into, change it, switch targets without a reboot, and see how enable works.
Voordat je begint
- Work on the console of server1 (not over SSH) as root.
Taken
Vink een taak aan als hij klaar is. Alleen je browser onthoudt dit.
- Show the default target and all active targets.
- Make the system boot into text mode (no desktop) by default.
- Switch to text mode now, without a reboot. Then go back.
- Enable
httpdand show the link that systemd created. Which target pulls it in? - Reboot and check the default target and that httpd runs.
Controleer je werk
Hints
Toon de hints
systemctl set-default,systemctl isolate.WantedBy=in the[Install]section of the unit.
Oplossing
Toon de oplossing
- Default and active targets.
- Text mode by default.
systemctl set-default multi-user.target - Switch now and back (on a system with a desktop).
- Enable and look at the link.
- Reboot and check.
Mijn notities
Nog geen notities.