To install Oracle Database 10g, I need to increase the swap memory to 1004 MB.
[root@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@server ~]# cat /proc/meminfo | grep MemTotal
MemTotal:       514152 kB
[root@server ~]# cat /proc/meminfo | grep SwapTotal
SwapTotal:      524280 kB
[root@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!