Swap Increasing Howto

I need more swap in order to gat started my oracle xe server for debugging purposes, so I don't wnat to waste money in physiscal RAM:

First I have to create the swap file system:
ocm@achtung:/usr/lib/oracle$ swapon -s
Filename Type Size Used Priority
/dev/sda5 partition 492540 0 -1
/dev/sdc partition 1112060 0 -2

Create the swap file:

dd if=/dev/zero of=/extra-swap bs=1024 count=2048000

And add to the availavle swap memory:

[root@formshost ~]# swapon
NAME        TYPE      SIZE USED PRIO
/dev/dm-1   partition 1.2G   0B   -1
/extra-swap file        2G   0B   -2
[root@formshost ~]# swapon -v /extra-swap
[root@soahost Disk1]# sudo dd if=/dev/zero of=/extra-swap bs=1024 count=2248000
2248000+0 registros leĆ­dos
2248000+0 registros escritos
2301952000 bytes (2,3 GB) copiados, 34,2878 s, 67,1 MB/s
[root@soahost Disk1]# sudo chmod 0600 /extra-swap
[root@soahost Disk1]# mkswap /extra-swap
Setting up swapspace version 1, size = 2247996 KiB
no label, UUID=051e1463-738b-4ee1-93a2-e6ddb5ac435a
[root@soahost Disk1]# swapon /extra-swap
[root@soahost Disk1]# swapon
NAME        TYPE SIZE USED PRIO
/extra-swap file 2,1G   0B   -1
[root@soahost Disk1]#