WIN10/WIN11 彻底关闭系统更新

新建一个BAT文件,把内容放入,把下一次更新时间改久远一些。 ::Windows auomatic updates reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v AutoInstallMinorUpdates /t REG_DWORD /d 1 /f reg add HKLM\SOFTWARE\Pol...

继续阅读 »

nginx1.22配置代理

location ~^/prod-api/(.*) { proxy_pass http://1.1.1.11:8088/$1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_f...

继续阅读 »

MySQL 数据库允许外部IP访问

1首先通过密码登录2.use mysql; select host,user from user; update user set host='%' where user ='root'; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION; 之前也说过如何操作内容基本一致。最后条S...

继续阅读 »