[CentOS] How to Increase Swap Memory in Centos 4.4?

Tue Apr 3 14:49:54 UTC 2007
Pham Hai <haisoncompany at gmail.com>

To install Oracle Database 10g, I need to increase the swap memory to 1004
MB.
[root at server OpenBravo]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
Preparing...                ###########################################
[100%]
This system does not meet the minimum requirements for swap space.  Based on
the amount of physical memory available on the system, Oracle Database 10g
Express Edition requires 1004 MB of swap space. This system has 504 MB
of swap space.  Configure more swap space on the system and retry the
installation.
error: %pre(oracle-xe-univ-10.2.0.1-1.0.i386) scriptlet failed, exit status
1
error:   install: %pre scriptlet failed (2), skipping
oracle-xe-univ-10.2.0.1-1.0

Below is my system information.
[root at server ~]# cat /proc/meminfo | grep MemTotal
MemTotal:       514152 kB
[root at server ~]# cat /proc/meminfo | grep SwapTotal
SwapTotal:      524280 kB
[root at server ~]# ipcs -lm

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1


Couldsomebody explain how to do this the fastest way? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070403/c941b6e8/attachment-0004.html>