完美代码
编程语言
系列教程
Python
Rust
C语言
Go语言
主页
systemctl
systemctl
systemctl是一个Linux系统上一个常用的工具,主要用于控制systemd系统和服务管理;
System has not been booted with systemd as init system (PID 1). Can't operate.解决方法
在WSL(Windows Subsystem for Linux,适用于Linux的Windows子系统)下通过systemctl命令启动某些服务将造成System has not been booted with systemd as init system (PID 1). Can't operate.这样的错误;