Yum Repository (Yellow dog Updater)
1) mount /dev/cdrom /mnt
2)touch /data
3)rsync -prav /mnt/CentOS/ /data
4)rpm -ivh /mnt/CentOS/Createrepo-0.4.11.3.el5.noarch.rpm
5)Createrepo /data
6)cd /etc/yum.repos.d/
7)touch local.repo
8)vi local.repo
ENtry,
[local]
name=local
baseurl=file:///data/
enabled=1
gpgcheck=0
:wq
9)yum install samba
Recent Comments