yum server and client configaration same pc (RHEL 6)
how i can configure yum server and client configaration in my pc.
that means my pc will be server and my pc will be client. plz help me |
hey did u got the solution????
|
Quote:
|
server side
cd /etc/yum.repos.d mv C* /tmp cat > create.repo [rhel-server] name=redhat baseurl=ftp://10.200.xx.xx/pub/server ---- put ur server side ipaddress enabled=1 gpgcheck=0 mount /dev/cdrom /mnt mkdir -p /var/pub/server cd /mnt/Centos cp -rfv * /var/pub/server wait for it to finished it off move all repositoryrpm to /var/pub/server cd /var/pub/server rpm -ivh create.repo --install these package rpm -ivh vsftpd ---install these package createrepo -g /var/pub/server start vsftpd service service vsftpd restart chkconfig vsftpd on client side cd /etc/yum.repos.d touch create.repo vi create.repo [rhel-server] name=redhat baseurl=ftp://10.200.xx.xx/pub/server MENTION UR SERVER IP HERE enabled=1 gpgcheck=0 |
All times are GMT -5. The time now is 02:06 PM. |