摘要: 第一步设置虚拟网卡ip:第二部设置网络连接方式为nat:第三部虚拟机网路参数与虚拟网卡8对应:网关为192.168.206.2第四步 阅读全文
posted @ 2015-08-19 17:58 MrJen 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 理解Linux系统中的load average(图文版)博客分类:Linuxlinux load nagios一、什么是load average?linux系统中的Load对当前CPU工作量的度量(WikiPedia: the system load is a measure of the amount of work that a computer system is doing)。也有简单的说是进程队列的长度。Load Average 就是一段时间 (1 分钟、5分钟、15分钟) 内平均 Load 。我们可以通过系统命令"w"查看当前load average情况[roo 阅读全文
posted @ 2013-12-31 10:10 MrJen 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 红帽中出现"This system is not registered with RHN"这个的原因是因为红帽中没有注册RHN。解决办法:(假定你已安装yum,且网络畅通)更改yum的源,即更换/etc/yum.repos.d/rhel-debuginfo.repo 这个文件。进入/etc/yum.repos.d/目录。[oracle@redhat5 ~]$ cd /etc/yum.repos.d/备份[root@redhat5 yum.repos.d]# mv rhel-debuginfo.repo rhel-debuginfo.repo.bk[root@redhat5 阅读全文
posted @ 2013-08-29 08:29 MrJen 阅读(359) 评论(0) 推荐(0) 编辑
摘要: chengpeng21186Linux 修改swap虚拟内存大小Linux 修改swap虚拟内存大小===========================================================================================一、 查看内存和swap 大小,发现swap 是内存大小的一半 [root@gamedb ~]# free -m total used free shared buffers cachedMem: 1001 338 662 0 8 307-/+ buffers/cache: 22 978Swap: 509 0 509 阅读全文
posted @ 2013-08-29 08:28 MrJen 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1、以root用户登录在执行xhost +命令(使得所有客户都可以访问)若返回信息为:access control disabled,clients can connect from any host 表示xhost +可执行直接切换至oracle用户运行安装oracle如果xhost +不能执行,第一步:用root登陆linux,启动vnc服务;第二步:根据vnc起来的端口,设置export DISPLAY=:1(1表示vnc在第一个tty上启动的),vnc的启动信息见下文的linux操作日志;第三步:xhost +ip (ip为主机ip地址)2、以oracle用户登录那么在该oracle用 阅读全文
posted @ 2013-08-29 08:26 MrJen 阅读(11863) 评论(2) 推荐(1) 编辑