libvirt无法与主机通信解决回顾

先放结论 根据libvirt关于防火墙的说明: If firewalld is active on the host, libvirt will attempt to place the bridge interface of a libvirt virtual network into the firewalld zone named **“libvirt” ** (thus making all guest->host traffic on that network subject to the rules of the “libvirt” zone). 我需要在firewalld (I am using a Fedora host)的libvirt区域中添加对应的放行规则: ...

2021年7月31日 · 1 分钟 · 369 字 · Thomas Xu

Radicale with Caddy v2

In this article (in Chinese), I discussed installing and using Radicale in termux. However, in most sceneries we are more likely to put radicale behind a web proxy. In this article I take notes on how did I make radicale work with Caddy v2. If you search “radicale with caddy”, you are more likely to find information about using radicale with Caddy v1. By explicitly searching “radicale with caddy v2” you can fetch meaningful answers as in this post. Though I didn’t find the very post before I worked out the solution myself. T_T ...

2021年1月26日 · 2 分钟 · 539 字 · Thomas Xu

Learn from Linux from Scratch (LFS) (Part 2)

在Part 1中,涉及的知识点主要集中在宿主机上准备构建环境。本篇将记录对应于书中第5章”Constructing a Temporary System”一章的从“Introduction”到“GCC-9.2.0 – Pass 2”有关内容。 ...

2020年6月12日 · 4 分钟 · 1833 字 · Thomas Xu

Learn from Linux from Scratch (LFS) (Part 1)

Learn from Linux from Scratch (LFS)这个系列的文章是我在阅读Linux from Scratch 9.1过程中的笔记。我用的宿主系统为CentOS 8(运行于VituralBox虚拟机中,VirtualBox虚拟机的Host是Windows 10)。 ...

2020年4月26日 · 4 分钟 · 1659 字 · Thomas Xu

SELinux学习笔记

前排提示(2022-08-18):这 post 一直躺在我的草稿箱里面,没有写完,但不发出来又觉得难过 基于规则的安全模型 具体地说,在CentOS和Fedora的默认配置中,SELinux使用的targeted策略只覆盖了有限的(系统)应用程序。用户,特别是在/usr/local和/home目录运行的东西不受targeted约束。设计这样的默认配置显然是为了在易用性和安全性之间取得某种平衡。 ...

2020年3月1日 · 3 分钟 · 1274 字 · Thomas Xu