Template:AddReposDebian: Difference between revisions

From Open-Xchange
(→‎Add Open-Xchange Repository: remove unneeded entries and use here document to add repo to source.list.d instead)
Line 7: Line 7:
{{#if:{{{release}}}|{{#ifeq:{{{release|}}}|6.22|
{{#if:{{{release}}}|{{#ifeq:{{{release|}}}|6.22|
<code>
<code>
  $ vim /etc/apt/sources.list
  $ cat << EOF >> /etc/apt/sources.list.d/open-xchange.list
deb http://ftp.de.debian.org/debian/ {{{debname}}} main contrib non-free
deb-src http://ftp.de.debian.org/debian/ {{{debname}}} main contrib non-free
deb http://security.debian.org/ {{{debname}}}/updates main contrib
deb-src http://security.debian.org/ {{{debname}}}/updates main contrib
   
   
  deb http://software.open-xchange.com/OX6/6.22/frontend/{{{debnameox}}}/ /
  deb http://software.open-xchange.com/OX6/6.22/frontend/{{{debnameox}}}/ /
Line 25: Line 19:
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/backend/{{{debnameox}}} /
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/backend/{{{debnameox}}} /
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/usm/{{{debnameox}}} /
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/usm/{{{debnameox}}} /
EOF
</code>
</code>


Line 30: Line 25:
{{#if:{{{release}}}|{{#ifeq:{{{release|}}}|6.20|
{{#if:{{{release}}}|{{#ifeq:{{{release|}}}|6.20|
<code>
<code>
  $ vim /etc/apt/sources.list
  $ cat << EOF >> /etc/apt/sources.list.d/open-xchange.list
deb http://ftp.de.debian.org/debian/ {{{debname}}} main contrib non-free
deb-src http://ftp.de.debian.org/debian/ {{{debname}}} main contrib non-free
deb http://security.debian.org/ {{{debname}}}/updates main contrib
deb-src http://security.debian.org/ {{{debname}}}/updates main contrib
   
   
  deb http://software.open-xchange.com/OX6/stable/{{{debnameox}}}/ /
  deb http://software.open-xchange.com/OX6/stable/{{{debnameox}}}/ /
Line 44: Line 33:
  # packages get installed
  # packages get installed
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{debnameox}}} /
  # deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{debnameox}}} /
EOF
</code>
</code>
}}|}}
}}|}}

Revision as of 09:15, 13 December 2012

Add Open-Xchange Repository

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

Start a console and modify the Debian repository information file. It is required to add the non-free section of the Debian main repository for Sun Java. Also add the Open-Xchange software repository:

{{#if:{{{release}}}|{{#ifeq:|6.22|

$ cat << EOF >> /etc/apt/sources.list.d/open-xchange.list

deb http://software.open-xchange.com/OX6/6.22/frontend/{{{debnameox}}}/ /
deb http://software.open-xchange.com/OX6/6.22/backend/{{{debnameox}}}/ /
deb http://software.open-xchange.com/OX6/6.22/usm/{{{debnameox}}}/ /

# 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
# deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/frontend/{{{debnameox}}} /
# deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/backend/{{{debnameox}}} /
# deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/6.22/updates/usm/{{{debnameox}}} /

EOF

|}}|}} {{#if:{{{release}}}|{{#ifeq:|6.20|

$ cat << EOF >> /etc/apt/sources.list.d/open-xchange.list

deb http://software.open-xchange.com/OX6/stable/{{{debnameox}}}/ /

# 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
# deb http://LDBACCOUNT:LDBPASSWORD@software.open-xchange.com/OX6/updates/{{{debnameox}}} /

EOF }}|}}

{{#ifeq:|7|

$ vim /etc/apt/sources.list

deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

deb http://EDPUSER:EDPPASSWORD@software.open-xchange.com/OX7/backend/DebianSqueeze/ /
deb http://EDPUSER:EDPPASSWORD@software.open-xchange.com/OX7/frontend/DebianSqueeze/ /

}}