Difference between revisions of "Template:AddReposRHEL"

Line 10: Line 10:
 
  name=Open-Xchange
 
  name=Open-Xchange
 
  baseurl=http://software.open-xchange.com/OX6/stable/{{{rhelname}}}/
 
  baseurl=http://software.open-xchange.com/OX6/stable/{{{rhelname}}}/
 +
gpgkey=http://software.open-xchange.com/oxbuildkey.pub
 
  enabled=1
 
  enabled=1
  gpgcheck=0
+
  gpgcheck=1
  {{#ifeq:  {{{rhelname}}}|RHEL6|metadata_expire=0m|}}
+
  metadata_expire=0m
  
 
  # if you have a valid maintenance subscription, please uncomment the  
 
  # if you have a valid maintenance subscription, please uncomment the  
Line 21: Line 22:
 
  name=Open-Xchange Updates
 
  name=Open-Xchange Updates
 
  baseurl=http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{rhelname}}}/
 
  baseurl=http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{rhelname}}}/
 +
gpgkey=http://software.open-xchange.com/oxbuildkey.pub
 
  enabled=1
 
  enabled=1
  gpgcheck=0
+
  gpgcheck=1
 +
metadata_expire=0m
  
 
In case there are issues with an username and password containing URL unsafe characters, e.g. an @, they have to be entered URL encoded. Details can be found at http://www.w3schools.com/tags/ref_urlencode.asp
 
In case there are issues with an username and password containing URL unsafe characters, e.g. an @, they have to be entered URL encoded. Details can be found at http://www.w3schools.com/tags/ref_urlencode.asp

Revision as of 06:46, 12 April 2011

Add Open-Xchange Repository

Open-Xchange maintains public available software repositories for different platforms, such as RHEL. This repository should be added to the RHEL installation to enable simple installation and updates.

Start a console and create a software repository file for Open-Xchange:

$ vim /etc/yum.repos.d/ox.repo

[ox]
name=Open-Xchange
baseurl=http://software.open-xchange.com/OX6/stable/{{{rhelname}}}/
gpgkey=http://software.open-xchange.com/oxbuildkey.pub
enabled=1
gpgcheck=1
metadata_expire=0m
# if you have a valid maintenance subscription, please uncomment the 
# following and add the ldb account data to the url so that the most recent
# packages get installed

[ox-updates]
name=Open-Xchange Updates
baseurl=http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{rhelname}}}/
gpgkey=http://software.open-xchange.com/oxbuildkey.pub
enabled=1
gpgcheck=1
metadata_expire=0m

In case there are issues with an username and password containing URL unsafe characters, e.g. an @, they have to be entered URL encoded. Details can be found at http://www.w3schools.com/tags/ref_urlencode.asp