LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-21-2012, 04:55 AM   #1
johnyhasan
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
Lightbulb 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
 
Old 12-21-2012, 06:22 AM   #2
hamzar.pm
Member
 
Registered: Aug 2009
Location: India,Kerala,Cochin
Distribution: Fedora 11 ,Centos, ubuntu, Redhat
Posts: 38

Rep: Reputation: 1
hey did u got the solution????
 
1 members found this post helpful.
Old 12-21-2012, 06:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,541
Blog Entries: 51

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
Quote:
Originally Posted by johnyhasan View Post
how i can configure yum server and client configaration in my pc.
http://wiki.centos.org/HowTos/CreateLocalMirror or http://www.howtoforge.com/creating_a...ository_centos to list just two.
 
Old 12-23-2012, 05:46 AM   #4
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum server configaration from cd/dvd johnyhasan Linux - Newbie 3 09-11-2012 12:12 AM
yum server site configaration johnyhasan Linux - Newbie 3 09-10-2012 05:13 AM
yum server site configaration johnyhasan Linux - Newbie 3 09-10-2012 02:54 AM
Problem With Yum and RPM in RHEL Client 5 kaplan71 Red Hat 1 11-07-2007 09:01 AM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration