Difference between revisions of "Software Collections Repositories"

From SME Server
Jump to navigationJump to search
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.}}
+
<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/
 +
All Software Collections of Red Hat are available :  https://www.softwarecollections.org/repos/rhscl/
  
 
=== '''For SME 9.x 64-bit ONLY''' ===
 
=== '''For SME 9.x 64-bit ONLY''' ===
  /sbin/e-smith/db yum_repositories set scl repository \
+
* for php54
  Name 'CentOS-$releasever - SCL' \
+
  /sbin/e-smith/db yum_repositories set scl-php54 \
  BaseURL 'http://mirror.centos.org/centos/$releasever/SCL/$basearch' \
+
  repository Name 'Software collections - php54' \
  GPGCheck yes \
+
  BaseURL 'https://www.softwarecollections.org/repos/rhscl/php54/epel-6-x86_64/' \
  GPGKey file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 \
+
  EnableGroups no Visible yes status disabled
  EnableGroups no \
+
 
Visible no \
+
* for php55
status disabled
+
/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
  
 
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
 
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
Line 19: Line 24:
  
 
For example to view changes you can run:
 
For example to view changes you can run:
  '''db yum_repositories show scl'''
+
  '''db yum_repositories show scl-php54'''
  
 
The output will be following your smeserver version:
 
The output will be following your smeserver version:

Revision as of 16:26, 8 November 2014

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.

All Software Collections of Red Hat are browsable : https://www.softwarecollections.org/en/scls/ All Software Collections of Red Hat are available : https://www.softwarecollections.org/repos/rhscl/

For SME 9.x 64-bit ONLY

  • 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
/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

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

signal-event yum-modify

For example to view changes you can run:

db yum_repositories show scl-php54

The output will be following your smeserver version:

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