LMLPHP后院

树莓派安装 MySQL 设置密码

u4) 的触发器 ... 正在处理用于 man-db (2.8.5-2) 的触发器 ... 正在处理用于 libc-bin (2.28-10) 的触发器 ... sudo mysqladmin -u root -p password // 首次设置密码原密码随便输入,需要重启生效另一种方式/etc/init.d/mysql stop sudo killall mysqld_safe sudo killal...

nginx client intended to send too large body

5MvG5rea0eKq1Jps8W8lOpaoi0AVyro. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /root/.ssh/known_hosts:1 remove...

Nginx SSL 代理设置完整示例

s://test.macbook; } }服务端 nginx 配置server { listen 8443 ssl; server_name test.macbook; charset utf-8; root /srv/www/test; index index.html index.php; ssl_certificate /usr/local/etc/nginx/certs/server-cert.p...

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...

GIT之filter-branch修改作者信息

publishing the project, like this: git filter-branch --env-filter ' if test "$GIT_AUTHOR_EMAIL" = "root@localhost" then GIT_AUTHOR_EMAIL=john@example.com export GIT_AUTHOR_EMAIL fi if test "$GIT_COMMITTE...

rsync 结合 sshpass 实现无人值守

vz --append --progress -e "sshpass -d 123 ssh -p 22 -o ProxyCommand=\"sshpass -e ssh -p 22 -W %h:%p root@jumper\" root@dest" :bak/* /home/local/ 123<<<password 上面的命令我一直没有测试成功,折腾了很久,拧巴了一上午,最后发现,是因为我从来没有连接过...

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...

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...

How to Increase Number of Open Files Limit in Linux

t runtime. For example, to increase open file limit to 500000, you can use the following command as root: # sysctl -w fs.file-max=500000 You can check the current value for opened files with the following...

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 ...
2024-04-24 04:55:49 1713905749 0.023134