分类 Linux 对应的文章如下
Error: Cannot retrieve repository metadata (repomd... 2017-01-21 16:05:50
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... 2017-01-21 11:33:06
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 centos 2016-06-08 16:41:27
php rename Operation not permitted 初步分析:mkdir的时候权限等级不明确在linux下未识别到或者不起作用,if (mkdir($path, 755)) 这种创建目录的方式貌似在服务器上可以创建成功,但是修改权限不够。所以在rename的时候 会报错:php rename Operation not permitted。推荐一下八进制写法:if (mkdir($path, 07...
E45 readonly option is set (add!to override) 2016-05-30 14:49:19
E45: 'readonly' option is set (add ! to override) 最快捷的解决办法就是保存时 :wq! 保存时加上感叹号,强制保存退出。