The solution is as follows:
1. Open /etc/sysconfig/network-scripts/ifcfg-eno33 (the following numbers are randomly generated)
vim /etc/sysconfig/network-scripts/ifcfg-eno33
(Recommended tutorial: centos tutorial)
2. Change ONBOOT=no to ONBOOT=yes
3. Restart the network
command As follows:
service network restart
Recommended related video tutorials: linux video tutorial
The above is the detailed content of An error occurs when installing software using yum command under centos. For more information, please follow other related articles on the PHP Chinese website!