Koozali.org: home of the SME Server

INSTALL RPM IN SERVER ONLY MODE

Offline pithnub

  • 1
  • +0/-0
INSTALL RPM IN SERVER ONLY MODE
« on: March 19, 2010, 02:33:09 AM »
Sorry for this post. I can only use the excuse of being a complete newcomer to SME server - which is a dream to use. Well, I'm running in server only mode and notice that all the incredibly helpful entries mention how to get these onto SME server from the internet. Could someone point me to a how-to on getting these packages onto SME server from a previoulsy downloaded rpm file. I'm really sorry for asking this - just my eyes are going square trying to find it through the normal route.

Offline versa

  • ****
  • 109
  • +0/-0
Re: INSTALL RPM IN SERVER ONLY MODE
« Reply #1 on: March 19, 2010, 10:33:21 AM »
There is a section on the wiki that tells you how. http://wiki.contribs.org/Adding_Software
The downside of installing a rpm without the server having internet access is that some rpm's have dependency's (other rpm's) that have to be installed in a certain order before the rpm you need to install. If it has dependencies you will have to download these and install them in the correct order.
With internet access yum usually takes care of this problem.
......

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: INSTALL RPM IN SERVER ONLY MODE
« Reply #2 on: March 19, 2010, 02:07:53 PM »
If you know the exact URL of the file you want to download, you can download it at the shell prompt using wget or curl.

If the file is coming from a server-side script that doesn't want to work using wget (so that you have to download it using a local workstation), you can get it onto the server in a few ways:
* Use WinSCP to transfer the file to any location on the server
* Create an ibay (if you haven't already done so), connect to it over the network, and copy the downloaded file to it (or just save the download directly into the ibay).