Difference between revisions of "Software Collections Repositories"

From SME Server
Jump to navigationJump to search
(Since: 2018-07-25 15:42 (http://mirror.centos.org/centos/6.9/readme))
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
__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.}}
 
<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>
All [https://www.softwarecollections.org/en/ Software Collections] of Red Hat are browsable :  https://www.softwarecollections.org/en/scls/ and available :  https://www.softwarecollections.org/repos/rhscl/
+
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
====Official repositories of Redhat====
 
* for php54
 
/sbin/e-smith/db yum_repositories set scl-php54 \
 
repository Name 'Software collections - php54' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/php54/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
  
* for php55
+
===== '''For SME 9.x 64-bit ONLY''' =====
/sbin/e-smith/db yum_repositories set scl-php55 \
 
repository Name 'Software collections - php55' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/php55/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
  
* for mysql55
+
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 scl-mysql55 \
+
  /sbin/e-smith/db yum_repositories set centos-sclo-rh repository \
  repository Name 'Software collections - mysql55' \
+
  Name 'Centos - RH Software Collections' \
  BaseURL 'https://www.softwarecollections.org/repos/rhscl/mysql55/epel-6-x86_64/' \
+
  BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \
  EnableGroups no Visible yes status disabled
+
  EnableGroups no \
 +
Visible yes \
 +
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 issuing:
+
/sbin/e-smith/db yum_repositories set centos-sclo-sclo repository \
  signal-event yum-modify
+
Name 'Centos - RH Software Collections' \
 +
BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/' \
 +
EnableGroups no \
 +
Visible yes \
 +
  status disabled
  
}}</onlyinclude>
+
Be carefull some collection are available on both repo, and migh conflict : sclo-python27 and (rh/) python27.
  
For example to view changes you can run:
+
After adding it to the database updating the configuration file is required by issuing:
'''db yum_repositories show scl-php54'''
 
  
The output will be following your smeserver version:
 
 
scl-php54=repository
 
    BaseURL=https://www.softwarecollections.org/repos/rhscl/php54/epel-6-x86_64/
 
    EnableGroups=no
 
    Name=Software collections - php54
 
    Visible=yes
 
    status=disabled
 
 
====Software collection of Remi Collet====
 
 
Remi provides more rpm for software collection than the official redhat scl, for example phpxx-mcrypt can be found only in the scl of remi. You can mix the redhat and remi repositories or obviously use just one. You can find also the remi scl in its repository '''[[remi]]'''.
 
* for php54
 
/sbin/e-smith/db yum_repositories set scl-php54more \
 
  repository Name 'Software collections - php54more' \
 
  BaseURL 'https://www.softwarecollections.org/repos/remi/php54more/epel-6-x86_64' \
 
  EnableGroups no Visible yes status disabled
 
* for php55
 
/sbin/e-smith/db yum_repositories set scl-php55more \
 
  repository Name 'Software collections - php55more' \
 
  BaseURL 'https://www.softwarecollections.org/repos/remi/php55more/epel-6-x86_64' \
 
  EnableGroups no Visible yes status disabled
 
 
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
 
After adding it to the database updating the configuration file is required by issuing:
 
 
  signal-event yum-modify
 
  signal-event yum-modify
  
}}</onlyinclude>
+
<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