Home >Operation and Maintenance >CentOS >How can I access the Internet on centos?
1. Find the ifcfg-ens33 configuration file
2. Open the file with vim and change ONBOOT=no to ONBOOT=yes
Save and exit (1.esc 2:wq 3. Enter)
3. Restart the network
To test whether you can access the Internet, just ping Baidu.
Related tutorial recommendations: centos tutorial
The above is the detailed content of How can I access the Internet on centos?. For more information, please follow other related articles on the PHP Chinese website!