CentOS
KKSamoyed
这个作者很懒,什么都没留下…
展开
-
CentOS永久禁止PackageKit后台运行
使用centos时,使用yum安装软件,老是会遇到这种提示: Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 39 M RSS (347 MB VSZ) Started: Wed Aug 5 02:09原创 2015-08-05 17:19:37 · 1004 阅读 · 0 评论 -
Error:No suitable device found: no device found for connection "System eth0"
环境描述: Vmware下的虚拟机CentOS 6.5 故障说明: 在克隆几台CentOS虚拟机,ifconfig 没有eth0, eth1, 只有eth3, eth4,直接配置ifcfg-eth0文件, 而在使用"service network restart",出现错误: Error:No suitable device found: n原创 2015-08-05 16:41:42 · 724 阅读 · 0 评论 -
centos普通用户设置sudo权限
敲入命令:visudo, visudo命令是用来编辑修改/etc/sudoers配置文件 找到"root ALL=(ALL) ALL" 在“root ALL=(ALL) ALL”这一行下面,再加入一行: op ALL=(ALL) ALL 其中,op为你当前使用的用户名,也就是普通用户的用户名 保存之后,输入exit,退出root用户原创 2015-08-05 16:49:59 · 673 阅读 · 0 评论 -
CentOS 修改主机名
第一步: hostname myhost 第二步: 修改/etc/sysconfig/network中的hostname vi /etc/sysconfig/network HOSTNAME=myhost #修改localhost.localdomain为myhost 第三步: 修改/etc/hosts文件 vi /etc/hosts 127.0.0.1 myhost loc原创 2015-08-05 16:43:14 · 394 阅读 · 0 评论