報錯信息爲:Unable to read group information from repositories.This is the problem with the ge服務器
neration of yore install tree.
報錯如圖:
![](http://static.javashuo.com/static/loading.gif)
報錯緣由有如下幾點:ide
一、根據ISO目錄結構構造裝機服務器所需數據,rhel6.1_x86_64爲例如圖:
![](http://static.javashuo.com/static/loading.gif)
二、建立」repodata「目錄,spa
使用命令
createrepo -g /dvd/repodata/5819e9580b5a81a9eec9e2c6e91fc×××a7ccadaa3bcd5ecb2e87a8669eefcec-comps-rhel6-Server.xml
/data/RedHat/enterprise/x86_64/6AS/install
前一段絕對路徑爲rpm包組信息 ,後一段爲生成目錄"
repodata"的路徑,固然相對路徑也能夠。