برای فدورا و ردهت هم میتوان بهمین طریق عمل کرد
Create the Directories
mkdir -pv /var/www/html/centos/base
The Base Repository
Copy the RPMs from the CDs/DVD to /var/www/html/centos/base
Create the base repository headers
createrepo /var/www/html/centos/base
mkdir -pv /var/www/html/centos/base
The Base Repository
Copy the RPMs from the CDs/DVD to /var/www/html/centos/base
Create the base repository headers
createrepo /var/www/html/centos/base
Yum Configuration
Edit yum.conf:
nano /etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://192.168.*.*/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Edit yum.conf:
nano /etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://192.168.*.*/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
source
http://www.trinix.be
هیچ نظری موجود نیست:
ارسال یک نظر