yijigen
文章 0
文章搜索
阿蛮君
有了AI以后,笔记似乎变得不那么重要......
用户数
814
文章数
545
评论数
1784
阅读量
1026829
随机文章

iptables 两种持久化方式 – centos 和 ubuntu 下 iptables 的持久化
这里介绍两种 iptables 持久化的方法: iptables-persistent 用于基于 deb 的 Linux 发行版,比如 ubuntu iptables-services 用于基于 rpm 的 Linux 发行版,比如 centos 1. iptables-persistent iptables-persistent 会在重启后自动加载 iptables 规则。 1.1 安装并设置自...

Linux 配置 socks5 代理以及和 socks5h 的区别
socks5 和之前写的 Linux 以及 Docker 配置 http 代理 类似,只不过把 http 修改为 socks5 就可以。 也就是说,之前 curl 使用 http 代理是这样: curl https://www.baidu.com/ -x http://127.0.0.1:7890 现在使用 socks5 是这样: # 使用本地域名解析 curl https://www.baidu...

Linux 批量创建用户的 shell 脚本
首先需要将用户名保存在一个 txt 文件内,命名为 username.txt cat > username.txt <<EOF user1 user2 user3 EOF 然后编写 shell 脚本 create_users.sh #!/bin/bash PASSWORD="password" HOME_DIR="/home" SHELL=...

WordPress 主题美化 – 头像添加呼吸光环以及旋转和放大
鼠标悬停时头像旋转和放大的 css 代码如下: /*头像呼吸光环和鼠标悬停旋转放大开始*/ .widget-admin-author-avatar img { border-radius: 50%; animation: light 4s ease-in-out infinite; transition: 0.5s; height: 65px; width: 65px; } .widget-adm...

Syncthing 同步文件问题记录
syncing: opening temp file: open xxx: permission denied 这种是经典的权限问题。可以将需要文件夹的权限修改为容器内用户可操作的权限。 或者以 root 用户运行容器: services: syncthing: image: syncthing/syncthing:latest container_name: syncthing ports: -...
标签云
最新评论