小编Joh*_*ker的帖子

如何使用 systemd 作为 init 系统启动系统 (PID 1)

我使用的是安装了 Windows Subsystem for Linux (WSL) 的 Ubuntu 终端环境。版本是 Ubuntu 20.04.1 LTS (GNU/Linux 4.4.0-18362-Microsoft x86_64)。按照各个站点的说明在我的 WIndows 10 PC 上设置 Wireguard VPN 服务器,我发出以下命令:

systemctl enable wg-quick@wg0.service
systemctl start wg-quick@wg0.service
Run Code Online (Sandbox Code Playgroud)

这会导致以下错误消息:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down.
Run Code Online (Sandbox Code Playgroud)

我花了几天时间进行研究,现在对如何继续感到非常困惑。谁能帮帮我吗。

vpn systemd windows-subsystem-for-linux wireguard

3
推荐指数
1
解决办法
5万
查看次数