After installing the Linux virtual machine environment, you need to configure the network environment.
Check the initial network status (Recommended learning: linux operation and maintenance)
Find the network configuration file (ifcfg-etho)
##Modify the network configuration file
Note: IP address, subnet mask, gateway, etc. need to be configured according to your own environment.
Restart the network service
Check the network status and test OK
The above is the detailed content of How to connect linux to the Internet. For more information, please follow other related articles on the PHP Chinese website!