![CentOS Stream 9에서 다중 사용자 대상 또는 그래픽 대상을 활성화/비활성화할 수 없습니다.](https://linux55.com/image/208814/CentOS%20Stream%209%EC%97%90%EC%84%9C%20%EB%8B%A4%EC%A4%91%20%EC%82%AC%EC%9A%A9%EC%9E%90%20%EB%8C%80%EC%83%81%20%EB%98%90%EB%8A%94%20%EA%B7%B8%EB%9E%98%ED%94%BD%20%EB%8C%80%EC%83%81%EC%9D%84%20%ED%99%9C%EC%84%B1%ED%99%94%2F%EB%B9%84%ED%99%9C%EC%84%B1%ED%99%94%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
명령을 시도하고 있지만 systemctl enable multi-user.target
다음과 같은 결과가 나타납니다.
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
같은 일이 일어났습니다.systemctl enable graphical.target
systemctl disable
두 가지를 동시에 사용해 보았 으나 아무런 효과가 없었습니다.
systemctl isolate
참고: 또는 재부팅을 사용하여 부팅 대상으로 전환할 수 있습니다 systemctl set-default
. 하지만 왜 and systemctl enable/disable
에서는 작동하지 않는지 알고 싶습니다 .mult-user.target
graphical.target