Question: Need to configure local yum repos and install samba in backup server
Solution:
At first login to backup server as root
ssh clint@stbkp01
sudo su
Then configure local yum repos according to question
cd /etc/yum.repos.d
vi localyum.repo
[localyum]
name=localyum
baseurl=file:///packages/downloaded_rpms/
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
0 comments:
Post a Comment