LMLPHP后院

解决Ubuntu cannot change locale (en_US.UTF-8)

3.158 -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 使用 locale 命令,查看错误原因,如下。 root@may:/var/www/WebChat# locale locale: Cannot set LC_CTYPE to default locale: No such file or directo...

ArchLinux及Gnome主题安装精简教程

// 查看 > w // 保存一般四个分区,建议:第一分区 EFI 系统分区结束在 514M(选择类型 ef00),第二分区交换分区结束在 1538M(选择类型 8200),第三分区大小 20G 给 ROOT 使用结束在 22018M(类型默认 8300),第四分区 home 分区默认回车。最后使用 i 查看,使用 w 保存。格式化磁盘# mkfs.vfat -F32 /dev/sda1 # mkswap...

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

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

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

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

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

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

SSH免密码登录方法简易教程

lmlphp 将本地 .ssh/id_rsa_pub 中的内容拷贝到远程机器的 /home/lmlphp/.ssh/authorized_keys 文件中(这里的用户名需要与本地的名字对应,如果是 root 用户,则在 /root/.ssh 文件夹下面),如果不存在文件,则以 sudo 权限创建,如果存在,则追加写入。下面的例子是将文件直接拷贝上去: $ scp ~/.ssh/id_rsa.pub lm...

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 上面的命令我一直没有测试成功,折腾了很久,拧巴了一上午,最后发现,是因为我从来没有连接过...
2025-06-07 23:07:23 1749308843 0.006881