Koozali.org: home of the SME Server

yum update via a local terminal

Offline enchesss

  • ***
  • 69
  • +0/-0
yum update via a local terminal
« on: March 08, 2010, 06:05:52 AM »
the sme server only (webserver) is running on a filtered connection to the internet and is therefore blocked from doing updates. (this could be because a proxy is needed to access the internet but i am unable to explain more, sorry).

it uses a reverse proxy so that it is accessible from the internet and the website is running perfectly.

i can ssh into the server from the local network.

I can ping some local computers (that have internet access via a proxy) from the sme server.

can i update using yum from a local computer?

e.g. can i download updates to the local computer that has inernet via the proxy and then ssh the updates to a directory on the server and then run yum from inside that directory?

if so where can i download the updates from (regularly getting the latest)

which directory and commands should i use to install the updates?


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: yum update via a local terminal
« Reply #1 on: March 08, 2010, 12:48:18 PM »
Downloading the updates and reapplying them is hard as they are in repositories. These indexes need to be correct and available as well for yum to work properly otherwise you will have to resolve all dependencies manually.

Is there really no way of getting SME Server to have a internet connection at least for the duration of the updates?

Another solution would be to create a local mirror of the Centos and SME Server repositories that the server can then access, but I think that is overkill for one server.

Every major release is shipped as an ISO/CD image, you can apply those udpates if you like by upgrading from CD.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline enchesss

  • ***
  • 69
  • +0/-0
Re: yum update via a local terminal
« Reply #2 on: March 19, 2010, 01:40:58 PM »
thanks

I will take it home to update and upgrade.


Cheers - Happy smeing

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: yum update via a local terminal
« Reply #3 on: March 19, 2010, 03:32:01 PM »
I can ping some local computers (that have internet access via a proxy) from the sme server.

you could use the same proxy on SME, couldn't you?