Line 106:
Line 106:
* Dove posso trovare maggiori informazioni su yum e come viene usato in SME?
* Dove posso trovare maggiori informazioni su yum e come viene usato in SME?
[[:AddingSoftware ]], man yum, http://linux.duke.edu/projects/yum/
[[:AddingSoftware ]], man yum, http://linux.duke.edu/projects/yum/
+
+
====Repositories Adding Removing Disabling====
+
+
*What is the recommended way to add other yum repositories
+
The following code uses the dungog repository as an example and sets the status to disabled.
+
The repository is configured to be used via the command line with the --enablerepo= option
+
+
db yum_repositories set dungog repository \
+
Name 'SME Server 7 - dungog' \
+
BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
+
EnableGroups yes \
+
GPGCheck no \
+
Visible no \
+
status disabled
+
+
*How do I remove yum repositories
+
+
db yum_repositories delete repositoryname
+
expand-template /etc/yum.conf
+
+
*How do I disable a repository to allow future use via command line with the --enablerepo= option
+
+
db yum_repositories repositoryname setprop status disabled
+
expand-template /etc/yum.conf
+
===Client Computers===
===Client Computers===