linux 本地yum

rhel6ide

cat >> /etc/yum.repos.d/iso.repo << EOFurl

[Server]it

name=Serverclass

baseurl=file:///media/Serverfile

enabled=1gc

gpgcheck=0yum

[HighAvailability]di

name=HighAvailabilityview

baseurl=file:///media/HighAvailabilityvi

enabled=1

gpgcheck=0

[LoadBalancer]

name=LoadBalancer

baseurl=file:///media/LoadBalancer

enabled=1

gpgcheck=0

[ResilientStorage]

name=LoadBalancer

baseurl=file:///media/ResilientStorage

enabled=1

gpgcheck=0

[ScalableFileSystem]

name=LoadBalancer

baseurl=file:///media/ScalableFileSystem

enabled=1

gpgcheck=0

EOF

rhel7

baseurl=file:///media/ISO

相關文章
相關標籤/搜索