Home >Operation and Maintenance >CentOS >How to solve the problem of being unable to access the Internet after centos installation
1. Open the terminal window and log in as root
2. Enter:
cd /etc/sysconfig/network-scripts/
3. Edit the configuration File: vim ifcfg-ens33 Modify ONBOOT=no to ONBOOT=yes
4. Save after modification: colon (:) wq Save and exit.
6. Enter the restart service command:
service network restart
Done!
Related tutorial recommendations: centos tutorial
The above is the detailed content of How to solve the problem of being unable to access the Internet after centos installation. For more information, please follow other related articles on the PHP Chinese website!