21.2 通过 FreeBSD Ports 安装 Rocky Linux 兼容层
bash-5.1$ cat /etc/redhat-release
Rocky Linux release 9.5 (Blue Onyx)启用 Linux 兼容层服务
# service linux enable # 启用 Linux 兼容层服务,并设置为开机自启
# service linux start # 启动 Linux 兼容层服务安装基本系统
# pkg install linux-rl9# cd /usr/ports/emulators/linux-rl9/
# make install clean配置相关服务
# service dbus enable # 通常桌面环境已经配置
# service dbus start # 通常桌面环境已经配置
# dbus-uuidgen > /compat/linux/etc/machine-id # 生成 machine-id 并写入 Linux 兼容环境配置文件(可选)最后更新于