2) In Hyper-v, insert the downloaded iso file: Linux IC v3.2.iso
Then run the following command to load the file into the CD-ROM drive.
mkdir -p /mnt/cdrom?
mount /dev/cdrom /mnt/cdrom
mnt/cdrom/install.sh
After the installation is complete, you must restart the virtual machine again.
Run after restart:
Profile -a
You will find that the network card has been loaded, and then edit it: vi/etc/sysconfig/network-scripts/ifcfg-eth0 (it can also be configured with ifconfig command).
The content is as follows:
DEVICE="eth0 "
HWADDR = " 00: 1c:29:8C:BB:E6 "
Netmask =255.255.255.0
IP addr = 192. 168. 1.200
Gateway =192.168.1.1? 1
ONBOOT = yes
Then restart.