LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum server configaration from cd/dvd (https://www.linuxquestions.org/questions/linux-newbie-8/yum-server-configaration-from-cd-dvd-4175426574/)

johnyhasan 09-10-2012 01:16 PM

yum server configaration from cd/dvd
 
how can i configure yum server configartion.
i use rhel6 version.plz help me.

szboardstretcher 09-10-2012 01:23 PM

What do you mean? Do you want to install a yum repo? Or do you want to set up a local yum repo?

More info please.

chrism01 09-10-2012 07:43 PM

Definitely more info reqd.
If you are using RHEL6, then you should have a paid subscription with RH and use 'rhn_register' as root to register the system with RH.
If you don't want to pay RH for support & updates, then replace with Centos6; a free rebuild of RHEL.
Note that you'll get updates but not support ...

jsaravana87 09-11-2012 12:12 AM

Hi
Yum Server configuration Centos 6


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 -rfrv * /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


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 10:27 PM.