Difference between revisions of "Template:Repository"
From SME Server
Jump to navigationJump to search (Created first version of template to add repositories by name in the Wiki) |
|||
Line 1: | Line 1: | ||
− | The following command will configure the | + | <noinclude>=== 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: | ||
+ | |||
+ | <nowiki>{{Repository|repositoryname}}</nowiki> | ||
+ | |||
+ | 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 | ||
+ | ---- | ||
+ | {{:Snetram}} | ||
+ | ---- | ||
+ | </noinclude> | ||
+ | |||
+ | The following command will configure the {{{1}}} repository on SME Server. | ||
{{:{{{1}}}}} | {{:{{{1}}}}} | ||
Line 5: | Line 18: | ||
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-temlpate /etc/yum.conf | + | expand-temlpate /etc/yum.conf |
+ | |||
+ | <noinclude>[[Category: Template]]</noinclude> |
Revision as of 19:17, 12 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 {{{1}}} repository on SME Server.
{{:{{{1}}}}}
After adding it to the database we have to update the changes to the configuration file:
expand-temlpate /etc/yum.conf