di="on"> Configuring Additional Repositories:
At first you are Create ''Yum.repos.d '' file .
Create a file in /etc/yum.repos.d/ for your repository, name endig in .repo, Containing
yum clean dbcache| all.
You will use Command:
Server configuration steps
Yum server IP = 192.168.1.1
Yum server hostname = server1.example.com
[root@client~]# cd /etc/yum.repos.d
[root@client~]#nano myser.repo
Or
more information: www.ipv4-ipv6.blogspot.com
http://linux.duke.edu/projects/yum
At first you are Create ''Yum.repos.d '' file .
Create a file in /etc/yum.repos.d/ for your repository, name endig in .repo, Containing
- [repo-name]
- name=A nice Description
- baseurl=http://yourserver.com/path/to/repo
- enabled=1
- gpgcheck=1
yum clean dbcache| all.
You will use Command:
Server configuration steps
Yum server IP = 192.168.1.1
Yum server hostname = server1.example.com
[root@client~]# cd /etc/yum.repos.d
[root@client~]#nano myser.repo
Or
[root@client~]# vim /etc/yum.repos.d/client.repo
[client]
name=rhel6.1 yum client 64bit
baseurl=ftp://192.168.1.1/pub
enabled=1
gpgcheck=0
[root@client~]# ctrl + X
[root@client~]# yum clean all
[root@server ~]# yum makecahe
[root@client~]# yum list all
[root@server ~]# yum grouplist
more information: www.ipv4-ipv6.blogspot.com
http://linux.duke.edu/projects/yum
Post a Comment