0% found this document useful (0 votes)
40 views2 pages

Step To Configure "YUM SERVER"

The document provides steps to configure a YUM server on a Red Hat system. It involves inserting a Red Hat DVD, copying package files and repository metadata to the FTP server directory, creating a YUM repository configuration file, and restarting services to make packages available for installation via YUM. Key steps are to copy packages and repository data to /var/ftp/pub, create a YUM repository file wisdom.repo pointing to this directory, and restart the vsftpd and network services.

Uploaded by

ravs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views2 pages

Step To Configure "YUM SERVER"

The document provides steps to configure a YUM server on a Red Hat system. It involves inserting a Red Hat DVD, copying package files and repository metadata to the FTP server directory, creating a YUM repository configuration file, and restarting services to make packages available for installation via YUM. Key steps are to copy packages and repository data to /var/ftp/pub, create a YUM repository file wisdom.repo pointing to this directory, and restart the vsftpd and network services.

Uploaded by

ravs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Step To Configure YUM SERVER

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.

Insert DVD in to the disk or Browse the Redhat Image File.


Go to media
#cd media
#ls
#RHEL(press tab button)
#cd Packages
#rpm -ivhvsftpd* --force
#rpm -ivhdeltarpm(press tab button)
#rpm -ivh python-deltarpm(press tab button)
#rpm -ivhcreaterepo(press tab button)
#cd ..
#cp -rv Packages /var/ftp/pub
#service vsftpd restart
#cp -rvrepodata /var/ftp/pub
#service vsftpd restart
#createrepo -g /var/ftp/pub/repodata/copy the file only with .xml /var/ftp/pub/Packages
#service vsftpd restart
#cd /etc/yum.repos.d
#vim wisdom.repo
[wisdom]
baseurl=ftp://IpAddress/pub/Packages
enabled=1
gpgcheck=0
:wq
#yum update
#yum clean all
#yum list
#service network restart
#service vsftpd restart
Yum is configured..

You might also like