I installed oracle linux 6 on my desktop but I forgot to configure the swapfile, I want to install oracle 11gr2 on it and it requires 2gig or ram, if I type the following commands on the terminal I get these
[root@localhost ~]# grep MemTotal /proc/meminfo
MemTotal: 1789764 kB
You have new mail in /var/spool/mail/root
[root@localhost ~]# grep SwapTotal /proc/meminfo
SwapTotal: 0 kB
[root@localhost ~]# df -k /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda4 100704696 5106508 90482644 6% /
[root@localhost ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda4 100704696 5106508 90482644 6% /
tmpfs 894880 100 894780 1% /dev/shm
[root@localhost ~]#
How do I set the swap file to the required ram for oracle installation which requires 2gig any ideas on how I can go about it?