Open Source and the Magic LAMP

YUM Notes

Redhat – Use yum from local NFS mount (Finds all rpm dependencies)

mount nassharehost:/vol/NixVol/CDimages /mnt

– If this is a new OS
rpm -i /mnt/os/5.1_32/Server/createrepo-0.4.4-2.fc6.noarch.rpm
createrepo /mnt/os/5.1_32/Server/
RPM dir for 4.5_32: /mnt/os/4.5_32/RedHat/RPMS
– To use cd as repo


yum clean all
vi /etc/yum.conf
[Local RPM Repo]
name=Local RPM Repo
baseurl=file:///mnt/os/5.1_32/Server
enabled=1
– To install an RPM
yum install
Here is an example
[root@somehost Server]# yum install kdebase-devel

Leave a comment