Home >Operation and Maintenance >CentOS >An error occurs when installing software using yum command under centos

An error occurs when installing software using yum command under centos

王林
王林Original
2020-03-27 13:56:182268browse

An error occurs when installing software using yum command under centos

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn