fnOS 虚拟机使用 Windows 时加载驱动

首先前往 Fedora 下载最新的 virtio-win.iso,然后在创建虚拟机时,将此 iso 添加为驱动镜像。 硬盘:VirtIO-Block 在安装系统选择安装位置时发现硬盘没有加载出来,此时点击“加载驱动程序”,然后从加载的驱动镜像中选择“viriostor/w11/amd64”文件夹,会出现”Red Hat VirtIO SCSI controller“这个驱动,点击安装,然后就能显示出来硬盘了。 网卡:VirtIO 进入系统后发现没有网卡,还是点击安装驱动程序,从加载的驱动镜像中选择“NetKVM/w11/amd64”文件夹,点击安装,然后就能显示出来网卡了。…

WSL 中使用 Bitwarden SSH-Agent

参考文章:https://community.bitwarden.com/t/ssh-agent-native-support-for-ssh-agent-in-wsl/83831/5 很简单,把这几句加到 .bashrc 文件的开头(或结尾,或直接 /etc/profile.d/*.sh,但这样使用 JetBrains Gateway 的时候就不能访问到了,其他不受影响): alias ssh='ssh.exe' git config --global core.sshCommand "ssh.exe" alias ssh-add=…

WSL Ubuntu 22.04 systemctl 命令报错

参考文献:Advanced settings configuration in WSL | Microsoft Learn 在 WSL Ubuntu 22.04 下,systemctl 命令报错以下内容: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 解决方案 安装 wsl-setup sudo apt install wsl-setup 配置…

WSL CentOS 7 安装 Python 3.10.0

参考文章 - CentOs 7 下安装python3_猫腻的博客-CSDN博客 - 在 CentOS 上编译安装 Python 3 - 知乎 (zhihu.com) CentOS 7 自带 Python 2.7.5,但我们需要的是 Python 3.10.0。我们需要先按安装依赖。 安装 yum-utils: yum install yum-utils 然后利用它提供的命令 yum-builddep 来安装当前系统中缺失的 Python 依赖软件: yum-builddep python3 我所使用的 WSL CentOS 7 镜像没有安装 pip,所以需要安装。…