2009年9月7日

摘要: 从官方文档上查到Note 1048303 - Red Hat Enterprise Linux 5.x: Installation and upgrade有几处提示:1、kernel.msgmni=1024kernel.sem=1250 256000 100 1024vm.max_map_count=300000Activate these settings with the command "sysctl -p".2、/etc/security/limits.conf@sapsys hard nofile 32800@sapsys soft nofile 32800@db 阅读全文
posted @ 2009-09-07 22:56 站在高处眺望 阅读(298) 评论(0) 推荐(0) 编辑
 
摘要: 1、检查当前的分区情况:[root@localhost]#free -m2、增加交换分区文件及大小,如果要增加2G大小的交换分区,则命令写法如下,其中的 count 等于想要的块大小。 [root@localhost]# dd if=/dev/zero of=/home/swap bs=1024 count=81920003、设置交换文件: [root@localhost]# mkswap /home/swap4、立即启用交换分区文件 [root@localhost]# swapon /home/swap 5、如果要在引导时自动启用,则编辑 /etc/fstab 文件,添加行:/home/.. 阅读全文
posted @ 2009-09-07 10:04 站在高处眺望 阅读(245) 评论(0) 推荐(0) 编辑