Use bridge mode to connect to the Internet CentOS8
1. Set up a virtual machine
1. Select to set bridge mode virtual machine
Click to select the target virtual machine
2. Open the Settings menu
3. Set network mode
- Open the Network Settings menu
- In connection selection bridge card
- Click OK
2. Run CentOS8 virtual machine
- Click Start
- Move the cursor to the CentOS screen, click, enter the virtual machine
3. Log CentOS8
- Enter your user name, enter
- Enter the password, enter
Note: For security, enter the password when not displayed. (I thought it was not the first time the operation input)
Note: do not usually use the root user to log CentOS directly, here just do presentations.
Prompt appears, log on success!
4. Get ip address
- Use dhclient command to get the address ip
(dhc input after pressing Tab to completion)
dhclient
- Check to get ip address
ip addr
- Use the ping command to test whether the Unicom network
ping bilibili.com
ping (space) ip address
here is a website I ping, ping time will be automatically converted to the ip address of the destination host
when there is return information, the network is connected!
5. CentOS8 update
- Enter the command in root user
yum update
Enter
- Encounters asked yse or no?
Ask to download the update?
Enter: y
Enter
Encountered ask?
I believe the screen in front of a small partner know how to do
4. Update complete!