Luoye
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链

ansible-delegate_to

delegate_to是ansible的委派主机,使用委派主机需要注意上下问变量不会切换12345678910111213[hosts]node1 ansible_host=xxxxx work_dir=root_dir_1node2 ansible_host=xxxx work_dir=root_dir_2[work1]node1[work2]node2[hosts:vars]ansible_s
2025-08-05
#ansible

harbor-proxy

docekr buildx push 出现错误 ERROR: failed to solve: failed to push registry.xxxx.com/xxx: unauthorized: unauthorized to access repository: xxxx, action: push: unauthorized to access repository: xxx,
2025-07-30
#docker #harbor

virsh常用命令

virsh介绍virsh是libvirt的命令行工具,用于管理kvm虚拟机。可以用来完成创建虚拟机,查看虚拟机,动态热插拔硬盘,给虚拟机做快照,迁移、启动、停止、挂起、暂停、删除虚拟机等操作 kvm虚拟机管理的不同方式virt-manager图形界面,virsh是终端命令行,两者都是通过libvirt连接至libvirtd管理虚拟机;qemu直接调用kvm内核中模块的API管理虚拟机; virsh
2025-06-19
#virsh #kvm

Docker Buildx 配置

gitlab ci 中使用 buildx 生成 buildx 的私有仓库配置文件 1234567891011121314cat << EOF > buildkitd.tomldebug = trueinsecure-entitlements = [ "network.host", "security.insecure" ][dns] n
2025-05-24
#docker #buildx

Nexus3 重置密码

nexus3 reset password 启用 h2 数据库 http 界面在$datadir/etc/nexus.properties(/nexus-data)增加配置 12nexus.h2.httpListenerEnabled=truenexus.h2.httpListenerPort=1234 映射 1234 端口到主机端口,重启服务 配置 1234 端口 ssh 映射
2025-05-24
#nexus3

ansible-playbook中根据主机ip聚合

ansible-playbook中根据主机ip聚合 inventery测试文件 12345[hosts]172.17.100.100 ansible_ssh_user=root ansible_ssh_pass=passwordtest-1 ansible_host=172.17.100.100 ansible_ssh_user=root ansible_ssh_pass=passwordtes
2025-05-13
#ansible

RPMDB 文件损坏问题分析

介绍本文介绍RPMDB 文件损坏问题分析 检查使用rpm的进程 检查正在使用 /var/lib/rpm 的进程fuser -v /var/lib/rpm 停止任何由 fuser -v /var/lib/rpm 报告的服务或进程 删除 /var/lib/rpm/Packages 文件rm /var/l
2025-05-13
yum
#rpmdb #yum

Git配置代理

Git 代理的相关配置
2025-04-15
#git #proxy

Authelia 使用说明

authelia使用说明authelia 是一个专门用于应用程序和用户安全的 2FA 和 SSO 认证服务器。可以集成到反向代理服务,为其提供身份验证。相对其他认证服务更加轻量,高效。有扩展性,支持多因素认证,单点登录,权限管理。Authelia 使用会话 cookie 来授权用户访问各种受保护的网站。配置会话 cookie 行为为请求的域提供授权。 authelia官方文档配置Host: aut
2025-04-14
#authelia

nmcli-usage

使用nmcli连接wifi 启用并查看可用wifi访问点 1234# 启用wifinmcli radio wifi on# 查看wifinmcli dev wifi list 连接wifi 1nmcli dev wifi connect xxx password xxxxxx 配置静态ip 1234567# ipv4nmcli con modify xxx ipv4.method man
2025-04-06
#nmcli
12

搜索

Hexo Fluid
载入天数... 载入时分秒...
载入访问信息...