Template:AddReposRHEL: Difference between revisions

From Open-Xchange
No edit summary
Line 12: Line 12:
  enabled=1
  enabled=1
  gpgcheck=0
  gpgcheck=0
   
  {{#ifeq:  {{{rhelname}}}|RHEL6|metadata_expire=0m|}}
 
  # if you have a valid maintenance subscription, please uncomment the  
  # 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
  # following and add the ldb account data to the url so that the most recent

Revision as of 06:40, 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}}}/
enabled=1
gpgcheck=0
{{#ifeq:  {{{rhelname}}}|RHEL6|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}}}/
enabled=1
gpgcheck=0

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