LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   YUM for SFTP server (https://www.linuxquestions.org/questions/fedora-35/yum-for-sftp-server-4175413679/)

rany 06-27-2012 11:15 AM

YUM for SFTP server
 
Hi,

My repositories are located at SFTP server.
I want to know, how can clients use YUM utilities, inorder to manage their packages.

Didier Spaier 06-27-2012 11:35 AM

Hi,

I don't know the answer, but please avoid posting the same question in two forums. At least allow some time for people to answer you.

falcom 06-28-2012 11:40 AM

Quote:

Originally Posted by rany (Post 4713409)
Hi,

My repositories are located at SFTP server.
I want to know, how can clients use YUM utilities, inorder to manage their packages.

is easy
Rename all existing yum repositories from *.repo to *.old in the directory /etc/yum.repos.d/
after create the file localFedora.repo
Quote:

vim /etc/yum.repos.d/localFedora.repo
with
Quote:

[base]
name=Fedora $releasever – $basearch
failovermethod=priority
baseurl=http://ip_address_to_sftp-server/fedora/$releasever/$basearch/os/
enabled=1
gpgcheck=0
Test your setup by running a yum update on your client machine.
Quote:

yum update -y

lithos 06-28-2012 12:06 PM

Quote:

Originally Posted by falcom (Post 4714267)
is easy
Rename all existing yum repositories from *.repo to *.old in the directory /etc/yum.repos.d/
after create the file localFedora.repo

with
Code:

[base]
name=Fedora $releasever – $basearch
failovermethod=priority
baseurl=http://ip_address_to_sftp-server/fedora/$releasever/$basearch/os/
enabled=1
gpgcheck=0

Test your setup by running a yum update on your client machine.


This is all great if you have a HTTP (apache or something) serving pages,
but how to access it with SFTP is the OP question.

I don't know it either, sorry.


All times are GMT -5. The time now is 03:04 AM.