LMLPHP后院

MySQL 主从同步复制实现步骤

--------------------------------------------------------------+------------------+----------+ | 2 | root | localhost | lmlphp | Query | 0 | init | show processlist | 0.000 | | 3 | system user | | NULL | C...

spring boot jpa 多个数据源配置

:mysql://192.168.1.250:3306/main?useUnicode=true&characterEncoding=utf-8 spring.datasource.username=root spring.datasource.password= spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.dataso...

OpenResty Lua Redis 加速接口响应

90; server_name lua.may; error_log /usr/local/openresty/log/nginx/lua.may.error.log; charset utf-8; root /srv/www/may/lua; index index.html index.php; location / { try_files $uri $uri/ /index.php?$query_s...

MySQL8 关闭 binlog

MySQL8 除了默认密码不好用之外,还默认打开了 binlog,简直完全不符合正常人思维,算是越来越不好用了。root@localhost:/var/lib# du -sh ./* 32K./apache2 113M./apt 8.0K./aspell 4.0K./dbus 4.0K./dhcp 24K./dictionaries-common 19M./dpkg 24K./emacse...

AirDisk Q2 开箱测评

服务必然是 http。 看图:包装我拍的还是很漂亮的,看网上拍的那个磨的不成样的图片,怕被打。配件数据线背面图AirDisk 只支持 samba,samba 其实挺麻烦的,termux 虽然能使用 Proot 模拟 chroot,但是并不能真正的实现挂载,所以,samba 真的很难用,我用 万播投影仪 自带的 samba 功能居然连不上,可能是版本兼容问题,AirDisk 自带的 APP 开放的细节太少了...

GIT之filter-branch修改作者信息

publishing the project, like this: git filter-branch --env-filter ' if test "$GIT_AUTHOR_EMAIL" = "root@localhost" then [email protected] export GIT_AUTHOR_EMAIL fi if test "$GIT_COMMITTE...

Raspberry Pi 偶尔的网络问题

16] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110) May 1 03:39:01 raspberrypi CRON[24365]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessi...

VirtualBox 虚拟机 Ubuntu 磁盘扩容

ytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/ubuntu--may--vg-root: 3.2 GiB, 3460300800 bytes, 6758400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logi...

Vultr 不厚道的玩意儿

早就听说 Vultr 比较有名,并且比较新,我想应该没有太多历史包袱,或许会好一点,于是试了一下。root@vultr:~# df -h Filesystem Size Used Avail Use% Mounted on udev 479M 0 479M 0% /dev tmpfs 99M 3.1M 96M 4% /run /dev/vda1 24G 4.8G 18G 22% / tmpfs 494M ...

vim 无法编辑日文

(2016 Sep 12, compiled Nov 29 2017 18:37:46) Included patches: 1-503, 505-680, 682-1283 Compiled by root@apple.com Normal version without GUI. Features included (+) or not (-): +acl +file_in_path -mouse_s...
2025-06-07 19:01:58 1749294118 0.023611