0
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

  • [repo-name]
  • name=A nice Description
  • baseurl=http://yourserver.com/path/to/repo
  • enabled=1
  • gpgcheck=1
Repository information is cached. To clear the cache:
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
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

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top