Difference between revisions of "Software Collections Repositories"

From SME Server
Jump to navigationJump to search
m (Reverted edits by RequestedDeletion (talk) to last revision by VIP-ire)
(Since: 2018-07-25 15:42 (http://mirror.centos.org/centos/6.9/readme))
 
(9 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
To use these repos on SME please see this page http://wiki.contribs.org/PHP_Software_Collections
 
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 SME 9.x 64-bit ONLY''' =====
====Official Redhat repositories====
 
= PHP54 =
 
==The default Software Collections repositories==
 
/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
 
  
==Remi Collet scl repositories==
+
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
  
The Remi scl repositories provide more detailed PHP rpm's then the Redhat repository does. For example phpxx-mcrypt can be found only in the scl repository of remi. You can mix the Redhat and Remi scl repositories or obviously use just one. You can find also the remi scl in its repository '''[[remi]]'''.
+
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
  
* Remi Collet scl repository for PHP54
+
Be carefull some collection are available on both repo, and migh conflict : sclo-python27 and (rh/) python27.  
/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
 
  
= PHP55 =
+
After adding it to the database updating the configuration file is required by issuing:
==The default Software Collections repositories==
 
/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
 
 
 
==Remi Collet scl repositories==
 
 
 
The Remi scl repositories provide more detailed PHP rpm's then the Redhat repository does. For example phpxx-mcrypt can be found only in the scl repository of remi. You can mix the Redhat and Remi scl repositories or obviously use just one. You can find also the remi scl in its repository '''[[remi]]'''.
 
 
 
* Remi Collet scl repository 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
 
 
 
= MySQL55 =
 
/sbin/e-smith/db yum_repositories set scl-mysql55 \
 
repository Name 'Software collections - mysql55' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/mysql55/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
 
= PostgreSQL92 =
 
/sbin/e-smith/db yum_repositories set scl-postgresql92 \
 
repository Name 'Software collections - postgresql92' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/postgresql92/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
 
= Python27 =
 
/sbin/e-smith/db yum_repositories set scl-python27 \
 
repository Name 'Software collections - python27' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/python27/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
 
= Python33 =
 
/sbin/e-smith/db yum_repositories set scl-python33 \
 
repository Name 'Software collections - python33' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/python33/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
 
= Nodejs010 =
 
/sbin/e-smith/db yum_repositories set scl-nodejs010 \
 
repository Name 'Software collections - nodejs010' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/nodejs010/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
 
= Mariadb55 =
 
/sbin/e-smith/db yum_repositories set scl-mariadb55 \
 
repository Name 'Software collections - mariadb55' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/mariadb55/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
  
= Ror40 =
 
/sbin/e-smith/db yum_repositories set scl-ror40 \
 
repository Name 'Software collections - ror40' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/ror40/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
= Mongodb24 =
 
/sbin/e-smith/db yum_repositories set scl-mongodb24 \
 
repository Name 'Software collections - mongodb24' \
 
BaseURL 'https://www.softwarecollections.org/repos/rhscl/mongodb24/epel-6-x86_64/' \
 
EnableGroups no Visible yes status disabled
 
 
<headertabs/>
 
 
<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>
 
 
=== Run a command with a specific software environment ===
 
 
 
You can run a command from the shell with a specific env with:
 
 
 
scl enable php55 'php -v'
 
 
 
(useful for example if you need to run a cron job with an alternative PHP version)
 
 
----
 
----
 
[[Category: Yum_Repository]]
 
[[Category: Yum_Repository]]
 
[[Category:Software Collections]]</noinclude>
 
[[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