I want to setup oracle10g express edition,but with error like:
"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 1008 MB of swap space. This system has 949 MB
of swap space. Configure more swap space on the system and retry the installation."
So i try to change my swap space.
first:use the fdisk to expands swap space
#fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 130 83 Linux swap
/dev/sda2 * 151 1305 9277537+ 83 Linux
#swap off
#shutdown -r now
enter into failsafe mode,and i don't use swap off again
then
#fdisk /dev/sda
delete /dev/sda1 then recreate /dev/sda1
#fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 150 1204843+ 83 Linux
/dev/sda2 * 151 1305 9277537+ 83 Linux
then
#mkswap /dev/sda1
god ,only 949M swap space, i failed to expand the swap space? anything problem?
i don't know ,what can do is trying to expand the swap space using /swapfile.
After reboot.use
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda1 partition 971892 0 -1
#dd if=/dev/zero of=/swapfile bs=1024 count=76800
#mkswap /swapfile
#swapon /swapfile
#free
total used free shared buffers cached
Mem: 516400 442116 74284 0 36372 299932
-/+ buffers/cache: 105812 410588
Swap: 1048684 0 1048684
my swap space expands to 512*2=1024M
then i install ora10g express edition successfully
note:use parted instead of fdisk
"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 1008 MB of swap space. This system has 949 MB
of swap space. Configure more swap space on the system and retry the installation."
So i try to change my swap space.
first:use the fdisk to expands swap space
#fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 130 83 Linux swap
/dev/sda2 * 151 1305 9277537+ 83 Linux
#swap off
#shutdown -r now
enter into failsafe mode,and i don't use swap off again
then
#fdisk /dev/sda
delete /dev/sda1 then recreate /dev/sda1
#fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 150 1204843+ 83 Linux
/dev/sda2 * 151 1305 9277537+ 83 Linux
then
#mkswap /dev/sda1
god ,only 949M swap space, i failed to expand the swap space? anything problem?
i don't know ,what can do is trying to expand the swap space using /swapfile.
After reboot.use
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda1 partition 971892 0 -1
#dd if=/dev/zero of=/swapfile bs=1024 count=76800
#mkswap /swapfile
#swapon /swapfile
#free
total used free shared buffers cached
Mem: 516400 442116 74284 0 36372 299932
-/+ buffers/cache: 105812 410588
Swap: 1048684 0 1048684
my swap space expands to 512*2=1024M
then i install ora10g express edition successfully
note:use parted instead of fdisk