执行yum命令时,提示Another app is currently holding the yum lock; waiting for it to exit等错误字样。这是因为yum被锁定无法使用导致的。 错误信息参考: Another app is currently holding the yum lock; waiting for it to exit... The other applicat...
用过Linux的人知道在centos下是有 setup 这个命令的。用于系统服务,网络配置,X配置等方面的图形配置界面。在command not find 说明你还没有安装支持这个命令的软体套件,安装它即可,命令 yum -y install setup tool...
上天查看了服务器安全日志,防火墙屏蔽了处理了一些暴力破解ssh密码的ip(其中一个ip地址为北京一家有名的CDN服务提供商),然后删除了所有的/var/log/secure* 日志文件。 今天再来查看日志的时候,发现/var/log/secure竟然没有记录,才想到直接删除日志文件...
Centos 6 关闭ipv6 在 /etc/modprobe.d/dist.conf增加如下内容 alias net-pf-10 off alias ipv6 off 此步可以禁止ipv6,但重启网络会提示报错FATAL: Module off not found. 解决方法如下: 1. 将/etc/modprobe.d/dist.conf 文件中 alias ipv6 off 替换成 optio...
虚拟机上装好了centos5.5,并配好了nginx+php+mysql,但是本机就是无法访问。 具体情况如下 1.本机能ping通虚拟机 2.虚拟机也能ping通本机 3.虚拟机能访问自己的web 4.本机无法访问虚拟己的web 后来发现是防火墙将80端口屏蔽了的缘故。 检查是不是服务器的80...
在VMware中新安装了CentOs 6.6,重启系统发现kdump服务启动失败 先来说一下,什么是kdump kdump 是一种先进的基于 kexec 的内核崩溃转储机制。当系统崩溃时,kdump 使用 kexec 启动 到第二个内核。第二个内核通常叫做捕获内核,以很小内存启动以捕获转储镜像...
在CentOS中普通用户使用sudo命令,通常会提示 用户不在sudoers中。所以该用户就不具有sudo命令的权限,下面告诉大家怎么添加sudo命令权限。 用sudo时提示xxx is not in the sudoers file. This incident will be reported.其中XXX是你的用户名,也就是你的用...
CentOS中,/etc/sudoer 的权限为 0440时才能正常使用,否则sudo命令就不能正常使用。出现类似:sudo: /etc/sudoers is mode 0640, should be 0440 的对话。 解决办法: 1、Ctrl+Alt+F1进入文本模式。用超级用户登录,如root 2、输入:chmod 0440 /etc/sudoer...
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 下载了新的yum源,安装之后,但是没法更新,出现了下面的错误。os是centos6.5 Loaded plugins: fastestmirror, security Determining fastest mirrors Error: Ca...
参考了一些网上的资料 -----------------版本信息 [zhangfen@localhost ~]$ cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) [zhangfen@localhost ~]$ uname -m x86_64 [zhangfen@localhost ~]$ uname -r 3.10.0-123.el7.x86_64 [zhangfen@loc...