some yum repo help please
We just started installing fc11 on a closed network. (not on the internet oh well)
Does anyone have a recommendation on how to set up a software repo? What do we do to the server and what do we do to clients. I want to do a network install and update over the network. > I put the fc11 rmps at /var/ftp/fc11/ > Then #createrepo /var/ftp/fc11/ >then I put a file in File /etc/yum.repos.d/local-repo.repo: which contained: [myrepo] name= local-repo baseurl=file:///var/ftp/fc11/ enabled=0 I get errors when I #yum install vsftpd can't find repo.xml files. Question: Do I have to yum localinstall <absolute path to package name/s> and/or yum clean all |
You have to install "createrepo" and run it. It will create all the appropriate files for you.
|
Quote:
|
You need to enable the repository
Code:
yum --disablerepo=* --enablerepo=local-repo install vsftpd Code:
name= local-repo |
Quote:
It's all in the syntax and this command: yum --disablerepo=* --enablerepo=local-repo install vsftpd I can also install from other clients on the network. Thank you |
Remember that the disablerepo command was a one time only thing. Next time you use yum the repos that are enabled by default will be used.
|
Quote:
|
All times are GMT -5. The time now is 12:17 PM. |