分类: Linux

34 篇文章

lldap 部署
LLDAP 是用 Rust 开发的现代轻量级 LDAP 服务器,适合个人和小团队,易于 Docker 部署。20MB ~ 80MB 配置 version: '3.8' # docker 部署 https://github.com/lldap/lldap/blob/8a803bfb11faa11e04b8eb36cbc39acbc…
解决阿里云和 Tailscale 的 100 网段冲突的问题
# Tailscale 会自动建一条 DROP 规则 DROP 了阿里云的内网数据 sudo iptables -L --line-numbers # Chain ts-input 中有一条规则,将 100.64.0.0/10 DROP 操作 # 如果删除该规则, sudo tailscale up --netfilter-mode=off --a…
Authelia 部署
项目地址 https://www.authelia.com/ 应用下载 我使用 Lite Compose Bundle, 适合服务器暴露在公网的场景 克隆项目并切换到最新版本的分支 git clone https://github.com/authelia/authelia.git cd authelia # 切到最新的版本,如果运行有问题,可以分…
iptables 一些资料
引用 iptables 命令,Linux iptables 命令详解:Linux上常用的防火墙软件 - Linux 命令搜索引擎 iptables详解及docker的iptables规则_docker iptables-CSDN博客 聊聊容器网络和 iptables | MoeLove 常用命令 列出规则 # 查看所有规则 ,-n 表示不解析主机名…
tailscale 到 clash 转发规则 (未测试)
说明 AI 给的设置建议 linux 下 tailscale 到 clash 有兼容问题,所以该功能会有问题 因为里面讲了一下原理,先记录一下,有空时再查证及解决兼容问题 流程总结 要管理 tailscale0 虚拟网卡,需先在 LuCI 中创建一个关联它的接口(如 tailscale_if),将其加入自定义安全区域(如 vpn),然后配置 DNA…
Ubuntu 下的 screen2gif
pypeek : https://github.com/firatkiral/pypeek # 为了不污染系统 Python 环境, 使用 pipx 安装,它会为应用创建一个独立的虚拟环境 sudo apt install pipx # 换国内源,它与 pip 是一样的 nano ~/.config/pip/pip.conf # 加入以下内容 [g…
linux 下脚本中显示对话框
手册:https://help.gnome.org/users/zenity/stable/index.html.en 不少发行版本中集成了 zenity 例子 显示一条信息 zenity --info --title "提示" --text="显示信息" 常规选项 --title=title 标题 --wi…
ubuntu 执行定时任务
临时执行定时任务 at 精度只有一分钟 安装 sudo apt install at 执行定时合集 echo "sudo systemctl suspend" | at 23:00 2025-04-05 echo "sudo systemctl suspend" | at 23:00 echo 'e…
AxCrypt 文件加密工具免费的新版本
下载地址 (有 1.x r 版本) https://www.axantum.com/download-xecrets 或是直接下载开源的命令行版本 https://github.com/xecrets/xecrets-cli # 加密 XecretsCli -p pass -e file file.axx # 加密 ,输出时间戳 XecretsCl…
Ubuntu 下运行 wps 提示缺少字体
提示缺少 Symbol, Wingdings, Wingdings 2, Wingdings 3, MT Extra 等字体 从 https://github.com/udoyen/wps-fonts 下载字体 创建字体目录 mkdir -p ~/.fonts 复制字体 cp *ttf ~/.fonts/ 刷新字体缓存 fc-cache -fv 再…