Linux常见问题记录

Posted by
  1. vmware通过挂载主机文件实现共享,但是应用无法访问共享的文件,即使使用root针对挂载目录进行权限改写同样拒绝
[root@localhost mnt]# chmod a+w hgfs 
[root@localhost mnt]# chmod: changing permissions of ‘hgfs’: No such file or directory

解决方案:挂载时允许其他用户访问
vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other

2.certbot 针对证书自动续期

https://github.com/certbot/certbot/issues/5077

https://certbot.eff.org/

3、docker no space left

docker system prune

4、本地直接上传至服务器代码

scp -r dist/* root@117.78.4.26:/www

Leave a Reply

您的电子邮箱地址不会被公开。 必填项已用*标注