智能运维
-
Installing CentOs Linux on your Mac using Parallels Desktop
Installing CentOs Linux on your Mac using Parallels Desktop Question I want to install CentOS Linux on my Mac. How I can do that? Information There are two ways to install CentOS Linux on your Mac us…
-
centos 8 Error: Failed to download metadata for repo 'powertools': Cannot prepare internal mirrorlist: No URLs in mirrorlist
问题在centOS8.2上开发Qt,安装完成后,需要下载安装一些软件,发现总是**“Error: Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist**”,尝试很多网…
-
Centos7上安装dnf-plugins-core
为了在Centos上使用dnf copr命令,需要安装dnf-plugins-core,找了很长时间,包括试了源码编译安装都不行,最后找到了方法,执行下面的命令就可以了。 需要root权限 wget -P /etc/yum.repos.d/ https://copr.fedora…
-
CentOS 8 配置yum/dnf国内源
CentOS 8更改了软件包的安装程序,取消了 yum 的配置方法,改而使用了dnf 作为安装程序。虽然改变了软件包的安装方式,但是 dnf 还是能兼容使用 yum 的配置文件和命令的使用方法。 DNF 和 YUM 均是 rpm 软件包管理…
-
How To Install dnf-plugins-core on CentOS 8
Introduction In this tutorial we learn how to install dnf-plugins-core on CentOS 8. What is dnf-plugins-core Core Plugins for DNF. This package enhances DNF with builddep, config-manager, copr, debug…
-
如何在CentOS8服务器上启用PowerTools
在CentOS/RHEL 8系统服务器上提供的PowerTools资源库提供了开发者相关的工具和库。一些常见的EPEL包依赖于PowerTools提供的包,因此,如果你在CentOS系统上设置了EPEL库,建议你启用PowerTools库。因此,如果你已经…
-
CentOS8遇到错误 Error: Failed to download metadata for repo ‘powertools‘
Error: Failed to download metadata for repo ‘powertools’: Cannot prepare internal mirrorlist: No URLs 原因: CentOS Linux 8 已于 2021 年 12 月 31 日结束生命周期 (EOL)。这意味着 CentOS 8 将不再从 Cent…
-
详解Centos8 配置静态IP的实现
安装centos 8之后,重启启动网络时,会出现以下报错 报错信息如下: Failed to start network.service: Unit network.service not found. 意思为无法重启网络服务,原因是无法找到network.service网络服务。 在rhel…
-
CentOS8通过命令设置IP地址
一、登陆账户 a)进入系统后,打开终端 输入 su root ,进入root账户,然后输入ifconfig ,第一行中 ens33:是我的主机名 inet:IP地址(没设置过的不会出现inet) 一定要使用root用户,一开始我使用的自己创建的…
-
CentOS 执行yum命令报错【错误:为仓库 ‘appstream‘ 下载元数据失败: ...】
一、遇到问题刚安装的CentOS 8服务器,在使用一些常见命令时,发现找不到这些命令,然后使用yum在线安装这些命令时报错:【错误:为仓库 ‘appstream’ 下载元数据失败 : Cannot prepare internal mirrorlist: No URL…