LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-27-2012, 11:15 AM   #1
rany
LQ Newbie
 
Registered: Jan 2009
Posts: 17

Rep: Reputation: 0
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.
 
Old 06-27-2012, 11:35 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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.
 
Old 06-28-2012, 11:40 AM   #3
falcom
Member
 
Registered: May 2009
Posts: 102

Rep: Reputation: 13
Quote:
Originally Posted by rany View Post
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
 
Old 06-28-2012, 12:06 PM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by falcom View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM with sftp server rany Linux - Networking 5 07-05-2012 06:14 AM
Yum: Local yum server error burak Linux - General 6 06-20-2012 11:22 AM
Sftp connection between Windows server and linux server vikash.thbs Linux - Server 2 01-02-2012 10:25 AM
cannot login into SFTP server using Net::SFTP cccc Programming 1 10-31-2007 06:23 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration