Difference between revisions of "Software Collections Repositories"

From SME Server
Jump to navigationJump to search
m (typo)
(Since: 2018-07-25 15:42 (http://mirror.centos.org/centos/6.9/readme))
 
(41 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Warning box|msg=Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install a package enable it using the option --enablerepo=scl at the SME Server shell.}}
+
__NOTOC__
 +
<noinclude>{{Warning box|msg=Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install a package enable it using the option --enablerepo=<reponame> at the SME Server shell.}}
 
Below you find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell.
 
Below you find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell.
 
</noinclude>
 
</noinclude>
 +
A description of the Redhat Software Collections can be found [https://www.softwarecollections.org/en/ here] and can be downloaded manually from [https://www.softwarecollections.org/repos/rhscl/ here]
  
=== '''For SME 9.x 64-bit ONLY''' ===
+
To use these repos on SME please see this page http://wiki.contribs.org/PHP_Software_Collections
  /sbin/e-smith/db yum_repositories set scl repository \
+
 
  Name 'CentOS-$releasever - SCL' \
+
===== '''For SME 9.x 64-bit ONLY''' =====
  BaseURL 'http://mirror.centos.org/centos/$releasever/SCL/$basearch' \
+
 
GPGCheck yes \
+
for the rebase of Red-Hat sfotware collection : http://mirror.centos.org/centos/6/sclo/x86_64/rh/
GPGKey file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 \
+
  /sbin/e-smith/db yum_repositories set centos-sclo-rh repository \
 +
  Name 'Centos - RH Software Collections' \
 +
  BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \
 
  EnableGroups no \
 
  EnableGroups no \
  Visible no \
+
  Visible yes \
  status disabled
+
  status disabled  
  
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
+
For the community based software collection: http://mirror.centos.org/centos/6/sclo/x86_64/sclo/
After adding it to the database updating the configuration file is required by issueing:
+
/sbin/e-smith/db yum_repositories set centos-sclo-sclo repository \
  signal-event yum-modify
+
Name 'Centos - RH Software Collections' \
}}</onlyinclude>
+
BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' \
 +
  EnableGroups no \
 +
Visible yes \
 +
status disabled
  
For example to view changes you can run:
+
Be carefull some collection are available on both repo, and migh conflict : sclo-python27 and (rh/) python27.
'''db yum_repositories show scl'''
 
  
The output will be following your smeserver version:
+
After adding it to the database updating the configuration file is required by issuing:
 
 
scl=repository
 
    BaseURL=http://mirror.centos.org/centos/$releasever/SCL/$basearch
 
    EnableGroups=no
 
    GPGCheck=yes
 
    GPGKey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
 
    Name=CentOS-$releasever - SCL
 
    Visible=no
 
    status=disabled
 
  
 +
signal-event yum-modify
  
 +
<noinclude>
 
----
 
----
[[Category: Yum_Repository]]</noinclude>
+
[[Category: Yum_Repository]]
 +
[[Category:Software Collections]]</noinclude>

Latest revision as of 14:51, 20 August 2018


Warning.png Warning:
Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install a package enable it using the option --enablerepo=<reponame> at the SME Server shell.


Below you find the installation command for the Software Collections Repositories repository which can be entered on the SME Server shell.

A description of the Redhat Software Collections can be found here and can be downloaded manually from here

To use these repos on SME please see this page http://wiki.contribs.org/PHP_Software_Collections

For SME 9.x 64-bit ONLY

for the rebase of Red-Hat sfotware collection : http://mirror.centos.org/centos/6/sclo/x86_64/rh/

/sbin/e-smith/db yum_repositories set centos-sclo-rh repository \
Name 'Centos - RH Software Collections' \
BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \
EnableGroups no \
Visible yes \
status disabled 

For the community based software collection: http://mirror.centos.org/centos/6/sclo/x86_64/sclo/

/sbin/e-smith/db yum_repositories set centos-sclo-sclo repository \
Name 'Centos - RH Software Collections' \
BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' \
EnableGroups no \
Visible yes \
status disabled 

Be carefull some collection are available on both repo, and migh conflict : sclo-python27 and (rh/) python27.

After adding it to the database updating the configuration file is required by issuing:

signal-event yum-modify