LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2009, 07:34 PM   #1
Brad_
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Updating a standalone machine


What is the best way to regularly update a fedora machine that is not connected to the Internet?
 
Old 01-22-2009, 01:45 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Hi.

One way or another you'll need access to the update packages. One way to do this is to download the packages to another server (say, server A) in your network, and set up your Fedora server to use server A as a package repository.
 
Old 01-22-2009, 05:34 AM   #3
Brad_
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ken, thanks for responding. I'm looking for a different solution because as I said in the OP the machine is not connected to the Internet so your suggestion is not possible.
 
Old 01-22-2009, 06:09 AM   #4
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Quote:
Originally Posted by Brad_ View Post
Ken, thanks for responding. I'm looking for a different solution because as I said in the OP the machine is not connected to the Internet so your suggestion is not possible.
My mistake. I figured that your machine did infact have a network card, and were connected to other machines in the network.

Anyways. So your only way of getting data to you machine is via USB-pen, CD/DVD, and such?
 
Old 01-22-2009, 11:57 AM   #5
Brad_
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ken,

Yes CD/DVD would be the only option. I know I could go to the update repository and download the RPMs, burn them to DVD, then use the DVD as a local yum repository but I was wondering if there was a more elegant solution.
 
Old 01-22-2009, 12:37 PM   #6
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Well, maybe there are better ways, but since you're limited to DVDs I can't think of other ways of doing this. Did you have some idea of how you'd like to set this up? I mean, since you don't have any networking up and running, you're stuck with doing these things manually.
 
Old 01-22-2009, 04:45 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Consider buying a USB Hard Drive. Depending on the distro you are running, Linux has a LOT of updates every (week/month again depending on distro). Fedora is one of the faster cycling distros (lot of updates every week). Any one version of Fedora is only supported for about 13months and a new version is released about every six months. You really cannot just grab the rpms you want by themselves due to the nature of linux. Any one rpm MAY depend on any number of other rpms in order to function (you have to install the rpm and all of its dependencies in order for it to work) and each of those rpms it requires may also require a number of other rpms (dependencies of its own). In the end it is usually easier (and faster) to just grab all the rpms in the repo (yes, I know this can be 50GB or more). The other way it to go grab the rpm you want, try to install it, find out what it's dependencies are, go back download those rpms and repeat (until you get everything installed). Linux was really designed to have a internet connection readily available.

Last edited by lazlow; 01-22-2009 at 04:51 PM.
 
Old 01-23-2009, 01:32 AM   #8
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Quote:
Originally Posted by lazlow View Post
Consider buying a USB Hard Drive. Depending on the distro you are running, Linux has a LOT of updates every (week/month again depending on distro). Fedora is one of the faster cycling distros (lot of updates every week). Any one version of Fedora is only supported for about 13months and a new version is released about every six months. You really cannot just grab the rpms you want by themselves due to the nature of linux. Any one rpm MAY depend on any number of other rpms in order to function (you have to install the rpm and all of its dependencies in order for it to work) and each of those rpms it requires may also require a number of other rpms (dependencies of its own). In the end it is usually easier (and faster) to just grab all the rpms in the repo (yes, I know this can be 50GB or more). The other way it to go grab the rpm you want, try to install it, find out what it's dependencies are, go back download those rpms and repeat (until you get everything installed). Linux was really designed to have a internet connection readily available.
Yeah, it's going to take a lot of effort updating the system this way.
 
Old 01-23-2009, 01:34 AM   #9
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
By the way, let me ask you this: Why do you feel that you need to update your system regularly?

If it's not connected to any network it is less likely to be attacked by a cracker. So updating from a security point of view is then maybe less important.

If you need to update because of support for new features, hardware and stuff I think you should consider just downloading the packages you actually need (along with the dependices of course).
 
Old 01-25-2009, 04:26 PM   #10
Brad_
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
@ken

I never said the computer wasn't connected to any network. I said it wasn't connected to the Internet. (It is a common logical fallacy to assume a machine not connected to the Internet is not connected to any network) Thanks for your input.

@laz

Thanks for the suggestions. I will consider that option.
 
  


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
"cannot join as standalone machine" nightmooneagle Linux - Newbie 6 02-17-2012 01:42 PM
cannot join as standalone machine makaveli_0000 Linux - Software 1 12-24-2007 03:21 AM
Iptables help with ftp entries on standalone dialup machine ssenuta Linux - Security 6 12-29-2006 10:50 PM
How to run TCP/IP programs in linux standalone machine ? m.parthiban Programming 2 10-02-2005 01:03 AM
retaining control of remote machine, updating kernel h_lina_k Linux - Newbie 1 02-04-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration