Configure Local Yum repos Kodekloud


Question: Need to configure local yum repos and install samba in backup server


At first login to backup server as root

ssh [email protected]

sudo su

Then configure local yum repos according to question

cd /etc/yum.repos.d
vi localyum.repo

enabled = 1
gpgcheck = 0

yum clean all
yum repolist

At last install the software mention in the question using this command

yum install --disablerepo="*" --enablerepo="localyum" samba

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment