Koozali.org: home of the SME Server

Trouble Installing rvandnaker-cups contrib

keyman0202

Trouble Installing rvandnaker-cups contrib
« on: October 13, 2006, 05:24:27 PM »
I've started to follow the How-to for installing CUPS on SME Server 7.0  Step 2 indicates that I should download this .repo file to my SME Server.  The link does not work.

http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/rvandenaker-cups.repo

Can someone help please?

Robert

Trouble Installing rvandnaker-cups contrib
« Reply #1 on: October 15, 2006, 09:04:16 AM »
The link does work for me. My browser displays the contents of the file "rvandenaker-cups.repo" when I follow it. To save that file, I could right click the link and choose "Save link as .." Does that not work for you?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Trouble Installing rvandnaker-cups contrib
« Reply #2 on: October 15, 2006, 10:36:40 AM »
SME Server uses the local configuration database (as well) to store configuration data for the yum repositories. You can also add it there using the following commands (as otherwise I expect it will not be visible in the server-manager interface):
Code: [Select]
db yum_repositories set rvandenaker-cups repository \
 BaseURL "http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/" \
 EnableGroups yes \
 Name "rvandenaker cups repository" \
 Visible yes \
 status disabled

After that expand the configuration template to reflect your changes:
Code: [Select]
expand-template /etc/yum.conf
To install anything from this repository from the command line you will have to issue the following command (you will have to explicitly enable the repository as default on SME Server is to set only certain base repositories as enabled):
Code: [Select]
yum install package-name --enablerepo=rvandenaker-cupsYou can also install the packages per the server-manager.
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)

keyman0202

Trouble Installing rvandnaker-cups contrib
« Reply #3 on: October 16, 2006, 05:54:02 PM »
Got it working.  Thanks!!!!