How to Release Port 8888 on OEL5.5

准备在OEL5.5中安装Oracle VM Manager,文档中说明要保证8888端口可用。 # netstat -na |grep 8888 unix 3 [ ] STREAM CONNECTED 8888 说明该端口已经被占用,那么如何释放该端口? 通过lsof命令可以看到该端口被avahi-daemon程序占用。avahi-daemon的主页可以参看avahi.org。 # lsof | grep 8888 avahi-dae 2747 avahi 12u unix 0xeb4d9740 8888 socket…

Continue ReadingHow to Release Port 8888 on OEL5.5

How to change I/O scheduler in Linux

Updated@2015/12/15 为什么可能会去修改Linux I/O Scheduler (elevator)?以及什么是I/O Scheduler,应该如何为数据库系统选择合适的I/O Scheduler?可以参看以下文章。 Linux, i/o scheduler and ASM - 在极大I/O压力的情况下,采用Deadline scheduler可能会提高5%-10%的I/O性能。 Choosing an I/O Scheduler for Red Hat® Enterprise Linux® 4 and the 2.6 Kernel -…

Continue ReadingHow to change I/O scheduler in Linux

How to modify firewall setting in CentOS

在尝试通过sqlplus连接安装在VMWare虚拟机中的CentOS 5上的Oracle数据库时,遇到ORA-12532错误。而在CentOS服务器端上通过监听连接自己的数据库,却是正常的。 D:\Temp>sqlplus system/oracle@av SQL*Plus: Release 11.1.0.7.0 - Production on Fri May 8 16:24:25 2009 Copyright (c) 1982, 2008, Oracle. All rights reserved. ERROR: ORA-12532: TNS:invalid argument 通常这种情况是由于服务器端的防火墙设置引起的。 有几种解决方法。需要用root用户执行。 1.…

Continue ReadingHow to modify firewall setting in CentOS