<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - 3 rd Party Yum Repositories</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>3 rd Party Yum Repositories</h1>
</div>
<div id="content">



<div class="wikitext"><h3>3rd-Party Yum Repositories setup</h3>
<p class="tightenable bottom">If you use the commands below to add 3rd party yum repositories, they will be added to your yum.conf file, <br />
but not enabled by default, so this will not affect automatic yum upgrades, it only adds options for running <br />
yum manually.  They are also set up to block you from installing rpms that exist already in SME Server 7.0.  <br />
<br />
With everyone having yum repositories set up the same way, Howto authors can now use instructions like:<br />
<br /></p>
<pre class="tightenable top bottom">
yum --enablerepo=dag install dansguardian</pre>
<p class="tightenable top bottom"><br />
...in their howto instructions, instead of using wget and rpm -Uvh.  This should greatly simplify howto instructions. <br />
<br /></p>
<h4>Commands to add the yum repositories:</h4>
<p class="tightenable top bottom">Sorry the lines are long, but it it so you can cut and paste.  Also note that you shouldn't enable these reositories<br />
in the server-manager, they should just be used at the command line with &quot;yum install&quot;, and not with &quot;yum upgrade&quot;. <br />
<br /></p>
<pre class="tightenable top">
/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL4' \
BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible yes \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled

/sbin/e-smith/db yum_repositories set kbs-centos-extras repository \
Name 'CentOS.Karan.Org-EL4 Extras - Stable' \
BaseURL 'http://centos.karan.org/el4/extras/stable/$basearch/RPMS/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://centos.karan.org/RPM-GPG-KEY-karan.org.txt \
Visible yes \
Exclude oidentd,perl-FreezeThaw,perl-IO-stringy,perl-Net-Server,perl-Test-Inline,perl-Text-Template,ulogd \
status disabled

/sbin/e-smith/db yum_repositories set kbs-centos-misc repository \
Name 'CentOS.Karan.Org-EL4 Misc - Stable' \
BaseURL 'http://centos.karan.org/el4/misc/stable/$basearch/RPMS/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://centos.karan.org/RPM-GPG-KEY-karan.org.txt \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL4' \
BaseURL 'http://dl.atrpms.net/el4-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible yes \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4 \
status disabled

/sbin/e-smith/db yum_repositories set dries repository \
Name 'dries - EL4' \
BaseURL 'http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt \
Visible yes \
Exclude iptraf,iptstate,perl-Convert-ASN1,perl-Digest-SHA1,perl-XML-NamespaceSupport,perl-XML-SAX,python-elementtree,spamassassin,perl-Authen-PAM,perl-IO-stringy,perl-MIME-tools,perl-Net-Server,perl-Quota \
status disabled

/sbin/e-smith/db yum_repositories set razorsedge repository \
Name 'razorsedge - EL4' \
BaseURL 'http://rpm.razorsedge.org/centos-4/RE/i386/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://rpm.razorsedge.org/RPM-GPG-KEY.RE.txt \
Visible yes \
Exclude ucspi-tcp \
status disabled

/sbin/e-smith/db yum_repositories set jpackage-1.6-rhel4-free repository \
Name 'jpackage-1.6-rhel4-free' \
BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/redhat-el-4.0/free/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://jpackage.org/jpackage.asc \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set jpackage-1.6-generic-free repository \
Name 'jpackage-1.6-generic-free' \
BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/generic/free/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://jpackage.org/jpackage.asc \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set jpackage-1.6-generic-non-free repository \
Name 'jpackage-1.6-generic-non-free' \
BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://jpackage.org/jpackage.asc \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set silfreed repository \
Name 'Silfreed - EL4' \
BaseURL 'http://www.silfreed.net/download/repo/rhel/4/i386/silfreednet/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://www.silfreed.net/download/pubkey.txt \
Visible yes \
status disabled

/sbin/e-smith/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 yes \
status disabled

/sbin/e-smith/db yum_repositories set c4-testing repository \
Name 'CentOS-4 Testing' \
BaseURL 'http://dev.centos.org/centos/4/testing/i386/' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set paulomatos repository \
Name 'Paulo Matos - RT 3.4.x' \
BaseURL 'http://campus.fct.unl.pt/paulomatos/rt/repository/3.4.x/' \
EnableGroups no \
GPGCheck no \
Visible yes \
status disabled

/sbin/e-smith/db yum_repositories set chaapai repository \
Name 'SME Server - Chaapai contribs' \
BaseURL ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0pre1/smechaapai/i386/ \
EnableGroups no \
GPGCheck no \
Visible yes \
status disabled

</pre>
<h4>After the above commands, do this:</h4>
<pre class="tightenable top bottom">

expand-template /etc/yum.conf
</pre>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;snoble&quot;  Last edited on August 20, 2006  1:48 am by &quot;snoble&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
