Template:AddReposRHEL

From Open-Xchange
Revision as of 10:31, 12 September 2012 by Sonja.krause-harder (talk | contribs) (→‎Add Open-Xchange Repository: Adjusted to 6.22 paths on s.o.c)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Add Open-Xchange Repository

{{#if:|{{#ifeq:|6.22|TODO: Needs to be updated|}}|}}

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-backend]
name=Open-Xchange
baseurl=http://software.open-xchange.com/OX6/6.22/backend/{{{rhelname}}}/
gpgkey=http://software.open-xchange.com/oxbuildkey.pub
enabled=1
gpgcheck=1
metadata_expire=0m
[ox-frontend]
name=Open-Xchange
baseurl=http://software.open-xchange.com/OX6/6.22/frontend/{{{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