In RedHatLinux, the problem encountered in the prerequisite detection for installing Oracle10g is: 1. Warning: The swap space in the memory is not enough. If there is a prompt that the number of m is small, the number of m already exists. Follow these steps: (add swap partition) 1) Add 2 GB swap partition [root @ localhost ~] # Mkdir/root/swap2) Add the swap file and set its size to 2 GB. Run the following command [root @ localhost ~] # Ddif =/dev/ze
In Red Hat Linux, the following problems are encountered during the prerequisite detection during Oracle 10g installation:
1. Warning: there is not enough swap space in the memory. If there is a prompt that m is required to be smaller, how m is there.
Follow these steps: (add swap partition)
1) Add 2 GB swap Partition
[Root @ localhost ~] # Mkdir/root/swap
2) Add the swap file and set its size to 2 GB. Run the following command:
[Root @ localhost ~] # Dd if =/dev/zero of =/root/swap bs = 1024 count = 2048000
Read 2048000 + 0 blocks
Output 2048000 + 0 blocks
3) create (SET) the swap space and run the mkswap command.
[Root @ localhost ~] # Mkswap/root/swap
Setting up swapspace version 1, size = 2097147 kB
4) Check the size of the existing swap space and run the free command.
[Root @ localhost ~] # Free-m
Or
[Root @ localhost ~] # Grep SwapTotal/proc/meminfo
5) Start the newly added 2 GB swap space and run the swapon command.
[Root @ localhost ~] # Swapon/root/swap
6) Confirm that the new 2G swap space has taken effect. Run the free command.
[Root @ localhost ~] # Free-m
7) modify the/etc/fstab file so that the newly added 2G swap space will automatically take effect after the system restarts.
Add at the end of the file:
/Root/swap defaults 0 0
2. The request to be verified is prompted as follows:
Checking Network Configuration Requirements...
Check complete. The overall result of this check is: not executed <
Recommended Solution: Oracle supports installation on a system with a public IP Address Assigned by DHCP. However, static IP addresses should be used to configure the system's primary network interface so that the Oracle software can work normally. For more information about installing software on a system with DHCP configured, see the Installation Guide.
Solution:
1) manually set static IP addresses (in fact, it is to write the IP address assigned to you by the DHCP server here)
2) edit the hosts file (yes, there are also hosts files in Linux. It is the same as the hosts file in Windows. It is not clear who imitates it)
# The vi/etc/hosts file usually has a line (hosts file format: IP host name alias ):
"127.0.0.1
Localhost. localdomain
Localhost"
Change it to: 60.176.38.13 localhost. localdomain localhost
The 60.176.38.13 is your ip address.
(DEVICE = eth0
ONBOOT = yes
BOOTPROTO = static
IPADDR = 60.176.38.13
NETMASK = 255.0.0.0
GATEWAY = 60.00000000254)
Then press: esc -- shift +: -- w -- q -- Press enter. The modification takes effect immediately. Then, reinstall Oracle and try again, so no DHCP problem will be reported.
Run the following command to view the Host Name of a machine in Linux:
# Hostname
Then you can test it again ~~~
For more information about Oracle, see Oracle topics page http://www.linuxidc.com/topicnews.aspx? Tid = 12