windows更新错误

cmd执行

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

删除

C:\Windows\SoftwareDistribution


cdn回源配置

打开nginx配置,http模块填写如下内容:

set_real_ip_from 0.0.0.0/0;
real_ip_header X-Forwarded-For;

xiaomiROM限速解决

修改电脑hosts文件,添加以下2行内容保存

183.136.207.132 bigota.d.miui.com

183.136.207.132 hugeota.d.miui.com

上面的不行, 就删掉之后, 再换成这两行 保存

47.74.196.250 bigota.d.miui.com

47.74.196.250 hugeota.d.miui.com

上面的不行, 就删掉之后, 再换成这两行 保存

123.6.13.6 bigota.d.miui.com

123.6.13.6 hugeota.d.miui.com

上面的不行, 就删掉之后, 再换成这两行 保存

110.43.121.13 bigota.d.miui.com

110.43.121.13 hugeota.d.miui.com

上面的不行, 就删掉之后, 再换成这两行 保存

110.43.121.249 bigota.d.miui.com

110.43.121.249 hugeota.d.miui.com


阿里云卸载阿里云盾

卸载阿里云盾监控

wget http://update.aegis.aliyun.com/download/uninstall.sh
sh uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
sh quartz_uninstall.sh

删除残留

pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*

手动安装 — 面板主控机

如果一键脚本提示不支持当前系统版本时,可以尝试使用手动安装的方式。

1. 安装 docker(必须)

curl -fsSL https://get.docker.com | sudo bash -s docker && sudo systemctl enable --now docker
# 国内机器安装可以选择使用阿里镜像
# curl -fsSL https://get.docker.com | sudo bash -s docker --mirror Aliyun && sudo systemctl enable --now docker

# 如果当前执行安装命令的不是 root 用户,请执行下面部分
# =================非root用户执行==================
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
# =================非root用户执行==================
  

2. 安装 docker-compose(必须)

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose

# 如果 /usr/local/bin 不在环境变量 PATH 里
# ============================可选================================
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# ============================可选================================
  

3. 生成 SSH 密钥(建议,非必须)

此步操作目的为让面板服务器通过密钥连接被控机 ssh , 可以提高被控机安全性,非必须步骤 ,如果不采用密钥连接方式,后续在面板添加被控机使可以选择使用密码连接的方式。

# 如果面板服务器并没有已经生成好的 ssh 密钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# 后面一直回车,跳过设置 passphase 即可
# 然后还需要将面板服务器 ~/.ssh/id_rsa.pub 里面的内容复制到每一台被控机的 ~/.ssh/authorized_keys 文件中去。
  

4. 安装并启动面板(必须)

mkdir -p ~/aurora && cd ~/aurora && wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose.yml -O docker-compose.yml && docker-compose up -d
# 创建管理员用户(密码必须设置8位以上,否则无法登陆)
docker-compose exec backend python app/initial_data.py
  

之后可以访问 http://你的IP:8000 进入面板。

配置说明

  1. 修改所有的 POSTGRES_USERPOSTGRES_PASSWORD ,以及相应的 DATABASE_URL ,虽然数据库不公开,但使用默认的数据库用户和密码并不安全!
  2. 后端默认会发送错误信息到 Sentry ( 建议使用测试版本不要关闭,方便排查错误 ),可能会导致信息泄漏,移除 ENABLE_SENTRY: 'yes' 就好。
  3. 默认挂载 ~/.ssh/id_rsa 作为连接服务器的密钥,如使用其他密钥或者不使用密钥可以删除配置文件中的 - $HOME/.ssh/id_rsa:/app/ansible/env/ssh_key

ubuntu安装win11

wget -qO InstallNET.sh https://raw.githubusercontent.com/teddysun/across/master/InstallNET.sh && bash InstallNET.sh -dd "https://dl.lamp.sh/vhd/zh-cn_windows11_22h2.xz"

Navict for mysql破解版

127.0.0.1 activate.navicat.com

parsec

第一步,打开代理
第二步,win+r键打开运行,输入:%appdata%\Parse,在文件夹内打开config.txt
第三步,在txt文件最后,另起一行,输入以下内容:
app_proxy_address = 127.0.0.1# 填写实际代理地址
app_proxy_scheme = http
app_proxy = true
app_proxy_port = 7890 # 填写实际代理端口

DD WIN

国外服务器

wget -qO InstallNET.sh https://raw.githubusercontent.com/teddysun/across/master/InstallNET.sh 
bash InstallNET.sh -dd "https://dl.lamp.sh/vhd/zh-cn_windows11_22h2.xz"

国内服务器

wget  https://u.8cdn.cn/InstallNET1.sh
chmod 777 InstallNET1.sh
bash InstallNET1.sh -dd "https://dl.lamp.sh/vhd/zh-cn_windows11_22h2.xz"

mysql导入

mysql -u root -p --max_allowed_packet=1G --net_buffer_length=1M --force database < database.sql

打开管理员PowerShell后执行这些命令

Remove-Item "$env:APPDATA\Microsoft\Windows\Recent\*" -Force -Recurse -ErrorAction SilentlyContinue
Remove-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Notepad" -Recurse -Force -ErrorAction SilentlyContinue
Stop-Process -Name explorer -Force; Start-Process explorer
最后修改:2025 年 05 月 21 日
如果觉得我的文章对你有用,请随意赞赏