Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ VMware clone Linux find eth0     - Getting CentOS Learning Notes (Linux)

- C ++ constant definition (Programming)

- The basic principles for the protection of a good linux server security (Linux)

- Linux three ways to set environment variables (Linux)

- Win7 + Ubuntu Kylin + CentOS 6.5 installed three systems (Linux)

- apt-get install openstack pkg Troubleshooting (Linux)

- The several technical presentation Raid under Linux (Linux)

- Ubuntu amend resolv.conf restart failure problem (Linux)

- Oracle archive log size than the size of the online journal of the much smaller (Database)

- To configure linux transparent firewall (Linux)

- DB2 manually create a library (Database)

- RedHat Linux 6.4 installation RTL8188CUS wireless network card driver (Linux)

- C # DateTime structure common method (Programming)

- Ubuntu install Eclipse for C / C ++ and related configuration (Linux)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- Disk Management LVM (Linux)

- Ten linux version of the system (Linux)

- Redis application of Sina Weibo (Database)

- CentOS cross compiler core Raspberry Pi 2 (Linux)

- Linux 64-bit porting (Programming)

  VMware clone Linux find eth0
  Add Date : 2017-08-31      

Since learning Hadoop, so I want to quickly build out a cluster. So directly on the Windows operating system with VMware installed CentOS operating system, configured hadoop good development environment, the use of cloning feature directly cloned two additional virtual machines.

But when I use the ifconfig command to modify the virtual machine to modify the ip address, tell me eth0 not found. Directly modify the configuration file / etc / sysconfig / network-scripts / ifcfg-eth0, restart the system after it is.

Check with ifconfig only to find no eth0, only eth2. So it should be to create a virtual time machine, re-create a card. When the system finds the card with the system configuration is not uniform when re-creating a new network interface.

Solution: eth0 configuration back

Modify /etc/udev/rules.d/70-persistent-net.rules file
The PCI device 0x1022: 0x2000 (vmxnet) with a # comment, the PCI device 0x1022: 0x2000 (vmxnet) modify the eth2 eth0, remember that MAC address ATTR {address} == "00: 0c: 29: ab: c5: 2c ", save the exit.
Modify the network card configuration file / etc / sysconfig / network-scripts / ifcfg-eth0
Modify ip address: IPADDR = (because I use host-only link mode, it is a static ip), modify the MAC address HWADDR = 00: 0C: 29: AB: C5: 2c, quit saving.
Modify / etc / sysconfig / network file hostname HOSTNAME = hadoop2
Run: service network restart, a message will appear eth0 effect.
Bringing up interface eth0: Active connection state: activating
Active connection path: / org / freedesktop / NetworkManager / ActiveConnection / 1
state: activated
Connection activated

Best reboot restart it.

[Root @ hadoop2 ~] # ifconfig
eth0 Link encap: Ethernet HWaddr 00: 0C: 29: AB: C5: 2C
          inet addr: Bcast: Mask:
          inet6 addr: fe80 :: 20c: 29ff: feab: c52c / 64 Scope: Link
          RX packets: 177 errors: 0 dropped: 0 overruns: 0 frame: 0
          TX packets: 61 errors: 0 dropped: 0 overruns: 0 carrier: 0
          collisions: 0 txqueuelen: 1000
          RX bytes: 17634 (17.2 KiB) TX bytes: 7611 (7.4 KiB)
          Interrupt: 19 Base address: 0x2024
- Nginx request processing (Server)
- RedHat Linux 6.4 install Oracle 10g error (Database)
- Use Visual Studio 2015 to develop Android program (Programming)
- Ubuntu 14.10 installation GNOME 3.14 (Linux)
- Linux VMware virtual machine after the cloning of the card can not start to solve (Linux)
- How to set the default Fedora from the command line (Linux)
- Linux firewall iptables beginner tutorial (Linux)
- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)
- Usage sed some of the parameters (Linux)
- DataGuard add temporary data files bug (Database)
- Android media library of analysis: MediaProvider (Programming)
- Standard and IO redirection (Linux)
- 64-bit Oracle Linux recompiled Hadoop-2.2.0 (Server)
- Using DBMS_STAT function closes mission (Database)
- Restore database fault encountered ORA-0600 (Database)
- MySQL query plan key_len know all (Database)
- How to install Laravel PHP framework on CentOS 7 / Ubuntu 15.04 (Server)
- How to install Nginx on FreeBSD 10.2 as an Apache reverse proxy (Server)
- Using Vagrant to build multi-platform environment (Server)
- Changes in C # asynchronous programming model (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.