随笔 - 192  文章 - 0  评论 - 14  阅读 - 24万
  2025年2月28日
摘要: nano /etc/apt/sources.list Debian12一键换阿里云源的脚本 mv /etc/apt/sources.list /etc/apt/sources.list.bak echo ' deb http://mirrors.cloud.aliyuncs.com/debian b 阅读全文
posted @ 2025-02-28 20:28 项希盛 阅读(33) 评论(0) 推荐(0) 编辑
  2025年2月4日
摘要: 可以用于Wireguard的端口跳跃 AI提示词 写一个bash脚本用于修改iptables,传入参数,例如udp 1.2.3.4:700 50000-59999 就会自动添加/sbin/iptables -t nat -A OUTPUT -p udp -d 1.2.3.4 --dport 700 阅读全文
posted @ 2025-02-04 13:45 项希盛 阅读(13) 评论(0) 推荐(0) 编辑
  2025年1月19日
摘要: 为btrfs文件系统启用swap 1:首先挂载一个btrfs卷到/swap mount -o subvol=@swap /dev/disk/by-uuid/6cf264fc-e15b-456f-aaa1-ce7f194e1599 /swap 2:创建swapfile truncate -s 0 /s 阅读全文
posted @ 2025-01-19 18:13 项希盛 阅读(22) 评论(0) 推荐(0) 编辑
  2025年1月7日
摘要: 首先下载23988个域名 https://raw.githubusercontent.com/Loyalsoldier/cn-blocked-domain/release/domains.txt 然后编写node代码,修改爱快的IP和Cookie const fs = require('fs'); 阅读全文
posted @ 2025-01-07 01:45 项希盛 阅读(13) 评论(0) 推荐(0) 编辑
  2024年11月13日
摘要: 服务端部署 用nono编辑ipsec配置文件 nano /etc/ipsec.conf 替换成下面的内容 config setup charondebug="ike 2, knl 2, cfg 2" conn ikev2-vpn auto=add compress=yes type=tunnel k 阅读全文
posted @ 2024-11-13 08:44 项希盛 阅读(73) 评论(0) 推荐(0) 编辑
  2024年11月11日
摘要: 查看源 root@debian:~# cat /etc/apt/sources.list #deb cdrom:[Debian GNU/Linux 12.7.0 _Bookworm_ - Official amd64 NETINST with firmware 20240831-10:38]/ bo 阅读全文
posted @ 2024-11-11 11:49 项希盛 阅读(76) 评论(0) 推荐(0) 编辑
  2024年11月3日
摘要: 一、部署服务器 1:安装WireGuard apt install wireguard 2:生成配置文件 cd到/etc/wireguard #!/bin/bash # Convert IP address to integer ip_to_int() { local ip=$1 local a b 阅读全文
posted @ 2024-11-03 16:56 项希盛 阅读(181) 评论(0) 推荐(0) 编辑
  2024年10月31日
摘要: 已测试可以成功向qq邮箱、icloud和gmail发邮件,除了gmail会进垃圾邮箱,其他都正常收信 下面是linux的搭建步骤 wget -O /root/go1.23.2.linux-amd64.tar.gz https://golang.google.cn/dl/go1.23.2.linux- 阅读全文
posted @ 2024-10-31 10:58 项希盛 阅读(25) 评论(0) 推荐(0) 编辑
  2024年10月26日
摘要: 华为S5735S交换机配置QinQ 1:首先把交换机上的第24口接到PVE虚拟化服务器(运行4个客户的4台软路由) 2:然后把交换机上的第1、2、3、4口分别接到4个不同客户房间里的PoE交换机或直接到AP里 下面是交换机的配置指令 # vlan batch 101 to 104 # interfa 阅读全文
posted @ 2024-10-26 01:07 项希盛 阅读(260) 评论(0) 推荐(0) 编辑
  2024年10月25日
摘要: 在Linux云VPS中再分小鸡出来(docker版) 在docker创建ubuntu22.04系统容器 1:创建网络 docker network create --driver bridge --subnet=10.247.88.0/24 net88 docker network ls 2:建立容 阅读全文
posted @ 2024-10-25 19:22 项希盛 阅读(11) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示