分类 Linux 对应的文章如下

Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again环境:docker方式  CentOS6.5 镜像 [root@890592f45b6f yum.repos.d]# vim CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to ...

阅读全文 »

Centos6.5 yum 被锁,被占用 如何强制退出或者杀死yum进程。  看报错信息理解和windows下面文件被占用一样的道理。报错信息如下: [root@890592f45b6f yum.repos.d]# yum clean allExisting lock /var/run/yum.pid: another copy is running as pid 91.Another app is currently holding the yum lock; waiting for it to exit...  The oth...

阅读全文 »

php rename Operation not permitted 初步分析:mkdir的时候权限等级不明确在linux下未识别到或者不起作用,if (mkdir($path, 755)) 这种创建目录的方式貌似在服务器上可以创建成功,但是修改权限不够。所以在rename的时候 会报错:php rename Operation not permitted。推荐一下八进制写法:if (mkdir($path, 07...

阅读全文 »

777,644,755等用户权限说明      读取    写入    执行0     x    x    x1     x    x    o2     x    o  &...

阅读全文 »

E45: 'readonly' option is set (add ! to override) 最快捷的解决办法就是保存时 :wq!   保存时加上感叹号,强制保存退出。

阅读全文 »