Difference between revisions of "Template:Repository"

From SME Server
Jump to navigationJump to search
m (Protected "Template:Repository": Does not need to be edited by everyone [edit=sysop:move=sysop])
(Updated refference to the Repository template in the example)
Line 8: Line 8:
 
The output of the template would look something like this (see the text between the horizontal rules
 
The output of the template would look something like this (see the text between the horizontal rules
 
----
 
----
{{:Snetram}}
+
{{Repository|Snetram}}
 
----
 
----
 
</noinclude>
 
</noinclude>
  
 
The following command will configure the {{{1}}} repository on SME Server.
 
The following command will configure the {{{1}}} repository on SME Server.
 
 
{{:{{{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-temlpate /etc/yum.conf
 
  expand-temlpate /etc/yum.conf
  
 
<noinclude>[[Category: Template]]</noinclude>
 
<noinclude>[[Category: Template]]</noinclude>

Revision as of 22:02, 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 Snetram repository on SME Server. Snetram After adding it to the database we have to update the changes to the configuration file:

expand-temlpate /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-temlpate /etc/yum.conf