Changes

From SME Server
Jump to navigationJump to search
31 bytes removed ,  22:57, 22 January 2013
Line 202: Line 202:  
Set the base, updates and extras repo in /etc/yum.repos.d/CentOS-Base.repo a high priority (respectivly 50, 40, 50)
 
Set the base, updates and extras repo in /etc/yum.repos.d/CentOS-Base.repo a high priority (respectivly 50, 40, 50)
 
<syntaxhighlight lang="Bash">  
 
<syntaxhighlight lang="Bash">  
[...]
+
[...]
[base]
+
[base]
name=CentOS-$releasever - Base  
+
name=CentOS-$releasever - Base  
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
+
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
+
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=50
+
priority=50
#
+
 
#released updates  
+
#released updates  
[updates]
+
[updates]
name=CentOS-$releasever - Updates
+
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
+
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
+
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=40
+
priority=40
#
+
 
#additional packages that may be useful
+
#additional packages that may be useful
[extras]
+
[extras]
name=CentOS-$releasever - Extras
+
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
+
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
+
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=50
+
priority=50
#
+
 
[...]
+
[...]
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Navigation menu