Friday, September 6, 2013

YUM SERVER GORVAM SADDAR

Yum server
Yellow dog update modifier
Yum server is used to install the application or redhat packages from a yum server to all the redhat  network clients

To install

#setup                  configure ip

#lokkit                  disable firewall + selinux
#mount   /dev/cdrom /mnt
#cd /mnt/Server                                              S should be capital
# rpm   –ivh    vsftp*   --aid   --force
# rpm  –ivh   creterep*  --aid  --force
#cd
#cp –var   /mnt/*   /var/ftp/pub/
After copy

#cd   /var/ftp/
# createrepo   /pub/
Wait now……


#cd

Now go to

#cd   /etc/yum.repos.d/
#vim abc.repo                                   .repo is must
Coding of file

[name]
Name=abc
Baseurl=file:///var/ftp/pub/
Enable=1
Gpgcheck=0

:wq


#service network restart
Service vsftpd restart
Yum clean all

Server is ok

Now to install
Yum install dhcp*

To remove
Yum remove dhcp*

On client

# setup

#lokkit
#cd /etc/yum.repos.d
#vi abc.repo
Coding of file
[name]
Name=anything
Baseurl=ftp://serverip/pub
Enable=1
Gpgcheck=0



Service network restart
Yum clean all


That’s all


If any prblm then call after 5 pm     ok      Enjoy …………………………………………………………………



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.