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...
Linode - Why No Space Left On Device
auto_home 0 0 0 100% 0 0 100% /home Raspberry 8Gpi@raspberrypi:~ $ df -h 文件系统 容量 已用 可用 已用% 挂载点 /dev/root 117G 60G 53G 54% / devtmpfs 3.7G 0 3.7G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 3.9G 281M 3.6G ...
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...
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...
MySQL 主从同步复制实现步骤
--------------------------------------------------------------+------------------+----------+ | 2 | root | localhost | lmlphp | Query | 0 | init | show processlist | 0.000 | | 3 | system user | | NULL | C...
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 开放的细节太少了...
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...
LMLPHP第二期更新功能
LMLPHP节后更新功能LML_REQUEST_URI增加了常量LML_REQUEST_URI,此常量一般情况下和SERVER变量的REQUEST_URI相同,当项目目录在DOCUMENT_ROOT下级时,会去除入口文件之前的部分。此常量在路由抵达控制器方法后再次匹配进行二次路由时特别有效。修复assign方法部分变量名冲突优化使用assign方法后可能会出现变量值丢失问题,通过增加fetch方...