Oracle Installing on DHCP Computers(我是在校园宿舍)

来源:互联网 发布:全国城市街道数据库 编辑:程序博客网 时间:2024/04/30 00:57

Installing on DHCP Computers

Dynamic Host Configuration Protocol (DHCP) assigns dynamic IP addresses on a network. Dynamic addressing allows a computer to have a different IP address each time it connects to the network. In some cases, the IP address can change while the computer is still connected. You can have a mixture of static and dynamic IP addressing in a DHCP system.

In a DHCP setup, the software tracks IP addresses, which simplifies network administration. This lets you add a new computer to the network without having to manually assign that computer a unique IP address. However, before installing Oracle Database onto a computer that uses the DHCP protocol, you need to install a loopback adapter to assign a local IP address to that computer. 

以上的意思大致上是说:由于动态编址每次联网时分配的是不同的IP地址,有些情况下,当计算机联网时,地址也是会变的。所以在这之前要安装loopback adapter ,给计算机指派一个当地的IP地址

以下是原文,后面我稍微翻译了一下

Checking if a Loopback Adapter Is Installed on Your Computer

To check if a loopback adapter is installed on your computer, run the ipconfig /all command:SYSTEM_DRIVE:/> ipconfig /all
If there is a loopback adapter installed, you would see a section that lists the values for the loopback adapter. For example:

Ethernet adapter Local Area Connection 2:
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft Loopback Adapter
  Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
  DHCP Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  Autoconfiguration IP Address. . . : 169.254.25.129
  Subnet Mask . . . . . . . . . . . : 255.255.0.0

Installing a Loopback Adapter on Windows 2003

  1. Open the Windows Control Panel.

  2. Double-click Add Hardware to start the Add Hardware wizard.

  3. In the Welcome window, click Next.

  4. In the Is the hardware connected? window, select Yes, I have already connected the hardware, and click Next.

  5. In the The following hardware is already installed on your computer window, in the list of installed hardware, select Add a new hardware device, and click Next.

  6. In the The wizard can help you install other hardware window, select Install the hardware that I manually select from a list, and click Next.

  7. From the list of hardware types, select the type of hardware you are installing window, select Network adapters, and click Next.

  8. In the Select Network Adapter window, make the following selections:

    • Manufacturer: Select Microsoft.

    • Network Adapter: Select Microsoft Loopback Adapter.

  9. Click Next.

  10. In the The wizard is ready to install your hardware window, click Next.

  11. In the Completing the Add Hardware Wizard window, click Finish.

  12. If you are using Windows 2003, restart your computer.

  13. Right-click My Network Places on the desktop and choose Properties. This displays the Network Connections Control Panel.

  14. Right-click the connection that was just created. This is usually named "Local Area Connection 2". Choose Properties.

  15. On the General tab, select Internet Protocol (TCP/IP), and click Properties.

  16. In the Properties dialog box, click Use the following IP address and do the following:

    1. IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses:

      • 192.168.x.x (x is any value between 0 and 255)

      • 10.10.10.10

    2. Subnet mask: Enter 255.255.255.0.

    3. Record the values you entered, which you will need later in this procedure.

    4. Leave all other fields empty.

    5. Click OK.

  17. Click OK.

  18. Close Network Connections.

  19. Restart the computer.

  20. Add a line to the SYSTEM_DRIVE:/WINDOWS/system32/drivers/etc/hosts file with the following format, after the localhost line:

    IP_address   hostname.domainname   hostname

    where:

    • IP_address is the non-routable IP address you entered in step 16.

    • hostname is the name of the computer.

    • domainname is the name of the domain.

    For example:

    10.10.10.10   mycomputer.mydomain.com   mycomputer
  21. Check the network configuration:

    1. Open System in the Control Panel, and select the Computer Name tab. In Full computer name, make sure you see the host name and the domain name, for example, sales.us.mycompany.com.

    2. Click Change. In Computer name, you should see the hostname, and in Full computer name, you should see the host name and domain name. Using the previous example, the host name would be sales and the domain would be us.mycompany.com.

    3. Click More. In Primary DNS suffix of this computer, you should see the domain name, for example, us.mycompany.com.

自己翻译,并实践了一下:(我是在XP下的,Windows 2003也适应)

运行cmd,
输入:ipconfig / all
如果出现了:(仔细观察是否有了Microsoft Loopback Adapter)

如:
Ethernet adapter Local Area Connection 2:
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft Loopback Adapter
  Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
  DHCP Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  Autoconfiguration IP Address. . . : 169.254.25.129
  Subnet Mask . . . . . . . . . . . : 255.255.0.0
说明已经安装了,如否,则进行安装。
如何安装:
1.打开控制面板->添加硬件->下一步->选择是,我已经连接了此硬件->在已安装的硬件下选择添加新的硬件->安装我手动从列表选择的硬件->网络适配器->选择Microsoft Loopback Adapter->下一步->完成
2.然后重启
3.进入网上邻居属性,选择新的本地连接(通常是本地连接2)属性->选择Internet协议(TCP/IP)属性->
选择使用下面的IP地址:
                    192.168.x.x (x is any value between 0 and 255)

                   10.10.10.10

子网掩码: 255.255.255.0.
 其他为空,点击确定
4.再重启
5.在C:/WINDOWS/system32/drivers/etc/hosts file 中加入一行:
IP_address   hostname.domainname   hostname
(根据自己创建的填)
保存

ok了,第一次把这种文章的翻译写出来,好累啊

卸载较为简单(自己也未实践):

Removing a Loopback Adapter

  1. Display System in the Windows Control Panel.

  2. In the Hardware tab, click Device Manager.

  3. In the Device Manager window, expand Network adapters. You should see Microsoft Loopback Adapter.

  4. Right-click Microsoft Loopback Adapter and select Uninstall.

  5. Click OK.