I did a stupid thing to add a new Web card to the server, but because it couldn't be initiated,
So it's natural that CentOS 6 has many other set requirements,
So we looked up two days's information and tried many ways, but it didn't work.
This morning, I wanted to try it in the simplest way,
The result is that this is done ~ ~ ~ ~ .....
So the process is put on, one side of the vigilance of themselves, one side also let oneself smile.
1. Add a network card to confirm
A. Ifconfig
New network card will not be self-activating, so there is no IP
B. ls/etc/sysconfig/network-scripts
It's normal, no setup.
C. dmesg | Grep-in ETH
There is a network card eth1, but not up
2. Setting
A. Network Configuration
Enter setup and select "Network Configuration"
B. Device Configuration
C. New Device
See here, should know, I also want to laugh ~ ~ ~
D. Ethernet
E. Name & Device
Because I am using the Internet, I use DHCP to assign IP after I enter the name and the name of the device.
3. Finish confirming
A. Confirm that the installation has been added and stored
B. dmesg | Grep-in eth1
The network card is up
C. ifup eth1
D. ls/etc/sysconfig/network-scripts
Complete, it is so simple to complete, has been to the difficult place to think, the results in a simple way to get out ~ ~
CentOS Add Network card