LMLPHP后院

迁移服务器遇到的事技术

maybe yes 发表于 2023-12-14 23:20

又是迁移服务,每次都是拖延症,因为迁移很痛苦,很烧脑,需要一整天的专注。

这次终于住上了别墅,再也不会因为空间的问题而烦恼,MySQL 这种垃圾软件,解决了 1% 的问题,带来了 99% 的痛苦,像这样的垃圾软件竟然在我等初入 IT 界时被奉为圭臬,几乎是面试必须要懂的,真是时代之悲哀啊!

先讲一讲我一路走来,十多年了,这次迁移遇到的怪事。

  331  rm /var/log/main.log
  332  ls -alrt /var/log/mail*
  333  rm /var/log/mail.log
  334  df -h
  335  rm /var/log/mail.info
  336  df -h
  337  df -h
  338  ls -alrt /var/log/mail*
  339  du -sh /var/log/*| grep G
  340  rm /var/log/mail.log.1
  341  df -h
  342  du -sh /var/log/*| grep G
  343  rm /var/log/mail.info.1
  344  rm /var/log/syslog
  345  rm /var/log/syslog.1


/var/log/mail.log
/var/log/mail.info
/var/log/mail.log.1
/var/log/mail.info.1
/var/log/syslog
/var/log/syslog.1
迁移服务器遇到的事
迁移服务器遇到的事

Windows11 链接 5G WIFI技术

maybe yes 发表于 2023-09-03 18:48

Windows 11 如何链接 5G WIFI,找了一下,还真有设置的地方。

看图

找到网络,右击,选择属性,打开后,点击配置。

弹出框里面,找到 Prefererd Band,我的是在高级里面找到的,有的低版本的 Windows 是没有这么多 tab 的。

在右边 Value 那里选择 Perfer 5GHz band。最后点击 OK 完成,搞定,会出现短暂的断网。

很久没有写技术文章了。

Windows11 链接 5G WIFI
Windows11 链接 5G WIFI

traffmonetizer 小鸡折腾记技术

maybe yes 发表于 2023-07-24 09:39

今天尝试了下 traffmonetizer 小鸡折腾记录,给大家参考一下。

安装前的 ifstat 查看下。

pi@raspberrypi:~ $ ifstat
       eth0               wlan0              docker0           veth8924a78             tun0       
 KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
    0.00      0.00      2.57      4.31      0.00      0.00      0.00      0.00      0.00      0.00
    0.00      0.00      0.95      1.43      0.00      0.00      0.00      0.00      0.00      0.00
^C
traffmonetizer 小鸡折腾记

Windows 远程关闭防火墙技术

maybe yes 发表于 2023-06-24 11:01

这个事情困扰了我多次了,以至于我要记录一下。

众所周知,软件都是越来越难用的,为什么会这样呢,因为门槛越来越高,以至于大部分人类都脱节了,而大型软件服务商总是担心别人的安全,于是一道又一道门槛建立起来了。

比如苹果手机的,每次连接 WIFI 网络的 MAC 地址都不一样,导致每次查看路由器都会出现陌生的设备。

比如 Windows 的防火墙,XP 时代应该没有影响,后来不知道什么时候开始,强制开启了。

比如 Chrome 浏览器,总是莫名其妙的提醒用户,"您要访问的是诈骗网站 x.x.x.x 上的攻击者可能会诱骗您做一些危险的事情,例如安装软件或泄露您的个人信息(如密码、电话号码或信用卡信息)。了解详情" 或者是 钓鱼网站 等等。

刚刚,发生了一件怪事技术

maybe yes 发表于 2023-06-14 18:39

php-fpm.sock 文件突然的消失了。于是...

php-fpm.sock 文件莫名其妙的没有了。

2023/06/14 06:26:49 [crit] 2674160#2674160: *41405992 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /04/723/949.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"

... 26664 lines

2023/06/14 09:22:10 [crit] 3116132#3116132: *34776 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /03/358/029.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"
2023/06/14 09:47:19 [notice] 3133503#3133503: signal process started
2024-04-20 13:18:11 1713590291 0.014566