Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: keyman0202 on October 13, 2006, 05:24:27 PM

Title: Trouble Installing rvandnaker-cups contrib
Post by: keyman0202 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?
Title: Trouble Installing rvandnaker-cups contrib
Post by: Robert 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?
Title: Trouble Installing rvandnaker-cups contrib
Post by: cactus 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.
Title: Trouble Installing rvandnaker-cups contrib
Post by: keyman0202 on October 16, 2006, 05:54:02 PM
Got it working.  Thanks!!!!