跳转至

软件工具

docker

记录 docker 的使用,包含 docker 常用命令和 Dockerfile 的编写。目前已经成功使用 dockerfile 发布了第一个应用rzero/pal

hexo 使用

记录 hexo 相关内容

tag:关键词 categories:

  • 软件工具:介绍新发现的好用工具
  • 折腾:做的一件事
  • 网络:路由器,openwrt,软路由

LXC 使用

1 说明

lxc vs docker

LXC 是一种轻量虚拟机,复用 host 内核。与 docker 尽可能每个容器只跑一个应用不同,lxc 的思路更接近虚拟机。 image-20221102112404544

The key networking difference between Docker and LXC is that with LXC one can attach a container to any bridge on the Host. This includes a bridge on the outside interface. Via transparent bridging the container can have unfettered access to the existing IPv6 subnet, including picking up Global Unique Addresses (GUAs) without the host having to do router-like functions, such as adding routes, auto propagation of prefixes (with DHCPv6-PD), redistribution of routes, etc. Again, things which Docker doesn't support.

lxc vs lxd

LXD is actually two parts, the lxd daemon, and the lxc CLI client which makes calls to the lxd daemon

retroarch 配置

RetroArch Starter Guide – Retro Game Corps

retroarch 是一个模拟器前端,不同的模拟器以 core 的形式嵌入 retro。retroarch 相对于单独的模拟器来说好处如下

  • 跨平台。retroarch 支持非常多的平台。由于 core 是动态链接库的形式嵌入 retroarch 的,相当于解决了不同 core 的跨平台问题。
  • 支持全局的按键映射。不用为每个模拟器设置手柄,快捷键等等配置。
  • shader and filters。可以实现一些特别的视觉效果,比如

vnc 和 rdp 远程

说明

写这个的原因是,网络上的教程真的太烂了。比如:

  • 没有说明就默认用 centos
  • 默认是服务器版本的 Linux 发行版,没有桌面环境
  • 桌面环境默认用 xfce,而很少有 gnome 的
  • vnc 各种版本,默认只说明其中一种
  • xstartup 没有任何说明,如何配置

各种 remote desktop 软件,可以看到最近更新时间