March 28, 2024, 11:20:03 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: yum installation in linux  (Read 3582 times)

Offline pradeepk721

  • New Member
  • Posts: 1
yum installation in linux
« on: August 13, 2009, 06:25:05 AM »
i m using redhat linux 5 and i want to know how to install yum server without downloading any yum packege

Offline LS-Admin

  • Administrator
  • Linux Learner
  • *****
  • Posts: 109
Re: yum installation in linux
« Reply #1 on: August 13, 2009, 08:38:02 PM »
You want to create repository ?

see this : http://chandrakanth15.wordpress.com/2009/01/18/creating-a-repository-from-cddvd-rhel5/

Offline shivaprasad

  • Linux Noob !
  • *
  • Posts: 5
Re: yum installation in linux
« Reply #2 on: September 10, 2009, 12:43:30 PM »
i give one way
so many ways are there
login as a root 
1.insert the rhel 5.1 dvd in dvd drive
2.mkdir /yum
3.mount /dev/hdb /mnt  note:/dev/hdb is u r dvd drive
4.cd /mnt
5.cd Server
6.cp -r * /yum
7.after copying  go to /yum
8.cd /yum
9.rpm -ivh createrepo--(tab)
10.come out from /yum 
11.cd ..
12.createrepo -v /yum
13.yum clean all
14.yum list all
15. vi /etc/yum.repos.d/rheldebuginfo
16 baseurl=file:///yum
17 :wq
18.yum install packagename

u can configure in many ways  ftp,nfs but this way is simplest way

this is shivaprasad  M.no-9618715499 gmail-shivapprasad52@gmail.com