---
title: "CentOS5本地光盘作为yum源"
author: "congjl2002"
date: "2011-08-12T00:13:14Z"
tags: []
categories: ["操作系统"]
slug: "centos5-yum"
draft: false
lastmod: "2011-08-12T00:13:14Z"
id: 1146916
url: "https://congjl2002.iteye.com/blog/1146916"
---

yum安装时遇到

warning:rpmts\_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e856297

解决：

$rpm import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentIS-5

$rpm import /etc/pki/rpm-gpg/RPM-GPG-KEY-beta