How To Configure Linux Yum Server Step by Step Guide Example and Implementation
How To Configure Linux Yum Server Step by Step Guide Example and Implementation
Advantages of YUM
Automatic resolution of software dependencies. If a package installation or upgrade
request is made and requires the installation or upgrade of additional packages, YUM can list
these dependencies and prompt the user to install or upgrade them.
Multiple software locations at one time. YUM can be configured to look for software
packages in more than one location at a time.
Now
Dump
mount
is
RHEL
created
dvd
on
on
mnt
and
/var/ftp/pub
copy
now
entire
you
can
disk
on
umount
/var/ftp/pub
RHEL
dvd
RHCE
EXAM
QUESTION
Backup of the Redhat Enterprise Linux 5 is taken in /var/ftp/pub on server named
Server.example.com. You can install all required packages using yum by creating the
repository file.
Once you have completed these pre quests follow this guide.
change
yum
directory
and
createrepo
Now
After
rpm
to
are
required
install
installing
Now
repository
of
package
repository
all
yum
server
createrepo
necessary
create
for
/var/ftp/pub/Server
rpm
will
change
of
be
install
them
rpm
directory
Server
created
in
to
/var/ftp/pub
directory
few
minute
Now
In
create
few
Now
second
create
all
errata
repository
necessary
for
repository
directory
and
will
VT
be
repository
created
for
for
it
VT
During the process of creating repository two hidden directory with named .olddata is
created
automatically
remove
them
Default
repository
file
look
like
these
Remove defaults line and set new location of Sever and VT as shown here
To
After
Now
data
file
with
yum
clean
all
test
checking
install
all
dependences
telnet
it
will
package
ask
for
package
conformation
from
command
yum
press
server
After
checking
all
dependences
it
will
ask
for
conformation
press