openwrt 单独设置DHCP
可以单独设置指定指定MAC的网关地址,方便使用旁路 #dhcp-option=tag:test, option:router: 192.168.1.2 (旁路由地址) #dhcp-option=tag:test, option:dns-server: 192.168.1.2 (旁路由地址, 如果dns有其他选择,也可以指定) #dhcp-host = 11:22:33:44:55:66, set:test (指定mac地址对应相应的tag的option)  
openwrt 安装 Tailscale
官方教程:https://openwrt.org/docs/guide-user/services/vpn/tailscale/start 完全不需要使用其他的第三方程序,官方本身就有相关的包可以安装使用。 防火墙配置如果要生效需要加--netfilter-mode=off 参数,否则tailscale 会自动配置防火墙,手动配置的防火墙策略可能会失效 tailscale up --accept-dns=false --advertise-routes=192.168.1.0/24 --netfilter-mode=off --reset
PostgreSQL 提示 The database was created using collation version 2.31, but the operating system provides version 2.36
该问题是数据库更新后排序规则变动导致的。使用下面的命令更新更新排序规则库 ``` ALTER DATABASE <your-database-name> REFRESH COLLATION VERSION; ``` 参考资料: https://forum.greenbone.net/t/the-database-was-created-using-collation-version-2-35-but-the-operating-system-provides-version-2-36/13562/3 https://dba.stackexchange.com/questions/324649/collation-version-mismatch
thumbnail
unBALANCE 文件转移工具使用方法和应用案例介绍
from--https://www.jackiewu.top/article/unbalance 参考资料: https://post.smzdm.com/p/a5d62wpk/ https://post.smzdm.com/p/ar6q8p7z/ https://post.smzdm.com/p/ar6q8p7z/ unBALANCE 插件是 unRAID 上一个好用的文件转移工具,可以将一个硬盘内的所有数据转移到另一个硬盘中,也可以将某个共享文件夹内散布在各个硬盘的文件同一进行转移。 利用此工具,可以实现: 整合文件:比如将共享文件夹内的所有文件都转移到某个盘中进行单独存储; 更换硬盘:例如要将某个硬盘进行替换,可以通过此插件将这个盘内的所有文件转移到其他的硬盘中,然后即可放心的更换硬盘而不用担心数据丢失。 1、插件下载 CA 商店搜索…
Unraid虚拟机映射9p文件系统
在/etc/fstab中添加 ``` data /data 9p trans=virtio,version=9p2000.L,_netdev,nofail 0 0 ``` _netdev 很关键,如果没有这个参数在网络没有启动完成时加载文件系统会出现报错。 nofail 是告诉系统,如果挂载失败,不要中断启动过程。 参考资料: https://ubuntuforums.org/showthread.php?t=2487093 https://unix.stackexchange.com/questions/377325/how-to-mount-9p-drive-using-etc-fstab https://superuser.com/questions/502205/libvirt-9p-kvm-mount-in-fstab-fails…
thumbnail
在 VMware 中安装 unraid 系统
from--https://www.maxiaowei.tech/posts/3612691073.html 起因 家里的 nas 的第一个系统就是 unraid,整体体验不错,系统蛮符合我的需求的。只是由于它自带的 app 商店经常需 要科学的方法才能连上,体验不太好,才换成现在的 truenas。而现在的 truenas 社区 app 的 docker 镜像地址都换成了 tccr.io,不能用 dockerhub 的镜像加速以后连接速度感人。最近在犹豫是否换回 unraid,就准备在虚拟机中尝试下 unraid 现在的 app 商店情况如何。 由于 unraid 没有提供系统镜像,只能从 U 盘启动系统,在虚拟机中使用 unraid 就比较麻烦,百度搜索只搜到一篇安装失败的博客,参考价值不大,只能自己想办法。 不想看折腾过程的直接看结…
thumbnail
Debugging Vue.js 2 in WebStorm
from--https://stackoverflow.com/questions/46697906/debugging-vue-js-2-in-webstorm Ask Question Asked 5 years, 11 months ago Modified 4 years, 8 months ago Viewed 9k times 10 Problem is that debugger not only stepping into the right source files but also its stepping into app.js file which is autogenerated by Webpack. How can I prevent it from doing that ? I have following …