關於yum 安裝 - Linux

Table of Contents

※ 引述《maya54068 (Simon)》之銘言:
: This system is not registered with RHN.
: RHN support will be disabled.

這邊就有說明為什麼你不能用

1.你可以打上原版序號

2.拿出光碟自己rpm上去


3.自己做個yum server


把光碟下面有個/server (裡面就是一堆rpm)

copy到你的硬碟裡 到你copy的路徑下 先rpm 一個套件叫 *creatrepo*

之後再執行creatrepo /你放rpm的路徑 建立好yum的資料庫

在/etc/yum.repo.d/下 自己編個XXXX.repo檔 只要打三行就好
[自訂名稱]
baseurl=file:///你放rpm的路徑
gpgcheck=0


這樣你要安裝啥麼套件都很方便 只是想要update的話 要自己動手更新資料庫檔


--

All Comments