摘要: 1、查看内核版本#cat/proc/version#uname-a#uname-r2、查看linux版本#cat/etc/issue#cat/etc/redhat-release3、查看系统是64位还是32位#getconfLONG_BIT#file/bin/ls4、查看CPU型号和内核数#more/proc/cpuinfo|grep"modelname"#grep"modelname"/proc/cpuinfo#grep"modelname"/proc/cpuinfo|cut-f2-d:5、查看CPU使用情况#vmstat5(每5秒 阅读全文
posted @ 2013-12-03 23:40 天行侠 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 备份# cp /etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.bak修改# vi /etc/yum.repos.d/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 pick mirrors that are updated to and# geographically close 阅读全文
posted @ 2013-12-03 23:38 天行侠 阅读(6721) 评论(0) 推荐(0) 编辑