LMLPHP后院

解决Nginx报错Permission denied和Primary script unknown

isten 7777; server_name 192.168.1.250; error_log /var/log/nginx/port_7777.error.log; charset utf-8; root /home/may/work/code/repo/lmlphp.com; index index.html index.php; location / { fastcgi_param SCRIPT_...

Nginx 403 错误解决方法

sl_certificate_key ssl/example.com.key; error_log /var/log/nginx/home.may.error.log; charset utf-8; root /home/leiminglin/work/code/may/lml; index index.html index.php; location / { try_files $uri $uri/ /...

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

MySQL 主从同步复制实现步骤

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

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

AirDisk Q2 开箱测评

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

安装Gvim解决Linux下Vim不能访问X11剪切板

ter) ✗ where is vim is not found /usr/bin/vim ➜ lml git:(master) ✗ ls -al /usr/bin/vim -rwxr-xr-x 1 root root 2681760 12月 29 06:04 /usr/bin/vim ...

acme letsencrypt 折腾记

16:33:55 CST] Getting domain auth token for each domain [2022年 09月 30日 星期五 16:34:35 CST] Getting webroot for domain='x.com' [2022年 09月 30日 星期五 16:34:35 CST] Getting webroot for domain='*.x.com' [2022年 09月...

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 上面的命令我一直没有测试成功,折腾了很久,拧巴了一上午,最后发现,是因为我从来没有连接过...
2024-11-22 06:46:03 1732229163 0.021403