from -- https://docmiao.com/community/tutorials/how-to-install-and-configure-vnc-on-debian-10 其他资料: https://www.digitalocean.com/community/questions/unable-to-start-vnc-server-on-ubuntu-20-04-w-docker-droplet 虚拟网络计算(Virtual Network Computing,简称 VNC)是一种连接系统,它允许您使用键盘和鼠标与远程服务器上的图形桌面环境交互。 它使远程服务器上管理文件、软件和设置变得更加容易,因为用户还不熟悉命令行。 在本指南中,您将在 Debian 10服务器上设置一个 VNC 服务器,并通过 SSH 隧道安全地连接…
Openwrt直通SR-IOV网卡,然后与另一个网卡桥接,桥接正常,但是网络DHCP不通,踩了很多坑,最后发现SR-IOV的网卡软桥接会有问题,功能不支持。 Intel官方就描述了相关的问题。 from -- https://forum.proxmox.com/threads/communication-issue-between-sriov-vm-vf-and-ct-on-pf-bridge.68638/ Maybe not as uncommon as I thought it would be, the Intel DPDK documentation is even describing exactly that us case. The problem I\'m having is that VMs from the left s…
loadlocale.c:130: _nl_intern_locale_data: Assertioncnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. Aborted (core dumped) export LC_ALL=C 把这行代码添加到/home/username/.bashrc 文件中。 那么这句配置是什么意思呢? 搜索得到: LC_ALL=C 是为了去除所有本地化的设置,让命令能正确执行。 https://blog.csdn.net/aaa111/article/details/80330848
有时候我们关闭程序后,发现之前被程序占用的文件夹还是被占用状态。 因为一些程序逻辑不完善的原因,常规的关闭并没有彻底的杀死进程。 下面给大家介绍下查看占用文件夹进程的方法。 第一步: 在任务管理器性能下面打开资源监视器。 第二步: 在 cpu 页签里的关联句柄处搜索被占用的文件夹路径。然后就能查到占用该文件夹相关的进程,右键结束就 ok 了。
from -- https://www.cnblogs.com/xuliuzai/p/10055535.html MongoDB中的多表关联查询($lookup) 一. 聚合框架 聚合框架是MongoDB的高级查询语言,它允许我们通过转换和合并多个文档中的数据来生成新的单个文档中不存在的信息。 聚合管道操作主要包含下面几个部分: 命令 功能描述 $project 指定输出文档里的字段. $match 选择要处理的文档,与fine()类似。 $limit 限制传递给下一步的文档数量。 $skip 跳过一定数量的文档。 $unwind 扩展数组,为每个数组入口生成一个输出文档。 $group 根据key来分组文档。 $sort 排序文档。 $geoNear 选择某个地理位置附近的的文档。 $out 把管道的结果写入某个集合。 $redact 控…
mongodb 比较集合内两个字段值是否一样 查询集合数据: { "_id" : ObjectId("599d5b198ead0e5e6f00619e"), "fields1" : 2000.0, "fields2" : 2000.0 } { "_id" : ObjectId("599d5b198ead0e5e6f0061a3"), "fields1" : 1000.0, "fields2" : 500.0 } find方法查询fields1 与 fields2字段值相同: db.test.find({ "$where": "this.fields1 =…
相关资料文档: https://github.com/mwarning/docker-openwrt-builder https://github.com/noonien/docker-openwrt-buildroot https://blog.mjyai.com/2021/02/12/docker-compile-lede-openwrt/ https://blog.laolilin.com/posts/2020/02/using_docker_to_build_openwrt.html 清理docker残留数据 docker system prune docker volume prune docker image prune 构建镜像 docker build -t foxopenwrt . --network host 运行镜像 …