疑难杂症

Linux运维常用问题处理 收集
2 年前

解决curl: (60) Peer‘s Certificate issuer is not recognized.错误

运维技术   疑难杂症  

yum install 出错 curl: (60) Peer's Certificate issuer is not recognized. More details here: http://curl.haxx.se/docs/sslcerts.html 解决办法 安装 ca-certificates 包 yum install ca-certificates 启用动态 CA 证书 up…

2 年前

shell 如何处理带有空格的文件名

疑难杂症  

场景 对目录下的所有文件进行打包并加密码 但是某些文件名中存在空格例如 “xxxx .psd” 报错提示 zip warning: name not matched: ./风格搞0506.psd zip error: Nothing to do! (try: zip -rP xxxx /data/cos/test/d1ee1633d80e92e0740b8201812fc331.z…

2 年前

/dev/sdb 提示 Device /dev/sdb excluded by a filter解决办法

疑难杂症   运维技术  

无法创建PV,找不到分区表 [root@localhost etc]# pvcreate /dev/sdb Device /dev/sdb excluded by a filter 通过blkid发现磁盘类型为gpt [root@localhost etc]# blkid /dev/sdb: PTTYPE="gpt" /dev/sdc: PTTYPE="gpt" /dev/sdd: P…