Difference between revisions of "Template:Repository"
From SME Server
Jump to navigationJump to search (Updated refference to the Repository template in the example) |
(Fixed typo in expand-template command) |
||
Line 15: | Line 15: | ||
{{:{{{1}}}}} | {{:{{{1}}}}} | ||
After adding it to the database we have to update the changes to the configuration file: | After adding it to the database we have to update the changes to the configuration file: | ||
− | expand- | + | expand-template /etc/yum.conf |
<noinclude>[[Category: Template]]</noinclude> | <noinclude>[[Category: Template]]</noinclude> |
Revision as of 09:00, 13 April 2007
Template: Repository
This template can be used to include a repository by name by simply adding the following command to the Wiki page you want it to display:
{{Repository|repositoryname}}
Here is a list of knwon repositories for SME Server.
The output of the template would look something like this (see the text between the horizontal rules
The following command will configure the Snetram repository on SME Server.
Snetram
After adding it to the database we have to update the changes to the configuration file:
expand-template /etc/yum.conf
The following command will configure the {{{1}}} repository on SME Server.
{{:{{{1}}}}}
After adding it to the database we have to update the changes to the configuration file:
expand-template /etc/yum.conf