After installing Oracle10g in Linux, I encountered the DHCP problem again and finally found a solution.
Source: Internet
Author: User
After installing Oracle10g in Linux, I encountered the DHCP problem again and finally found the solution-Linux Enterprise Application-Linux server application information. For more information, see the following. The new two servers are Red Hat Enterprise Linux ES Version 4. DHCP is encountered again when Oracle is installed at 10 Gb. Fortunately, I finally found the solution, but it took me two days for the solution.
This is the first time I installed Oracle on Linux. I still think it is a nightmare to install Oracle on Linux. Every time it is difficult, who made me unfamiliar with Linux.
When installing Oracle in Linux, the installer prompts DHCP as follows:
Checking Network Configuration Requirements...
Check complete. The overall result of this check is: not executed <
Proposal: 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.
This DHCP problem may be caused by the solution being too simple, so no one writes the information, and the Oracle Installation manual is also underwritten, which is confusing and cannot be found on the Internet, it's hard to know what I don't know. In addition, people who are stupid like me may spend a lot of time and return without success. This is a vicious circle. Let me end it.
The solution is actually very simple:
1. manually set the static IP address (in fact, 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/hostshosts file usually has a line (in the hosts file format: IP host name alias ):
"127.0.0.1
Localhost. localdomain
Localhost "adds a line at the end of the hosts file
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
Abc.net
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service