Difference between revisions of "Software Collections Repositories"

From SME Server
Jump to navigationJump to search
m (formatting)
Line 5: Line 5:
  
 
=== '''For SME 9.x 64-bit ONLY''' ===
 
=== '''For SME 9.x 64-bit ONLY''' ===
====Official repositories of Redhat====
+
====Official Redhat repositories====
* for php54
+
= php54 =
 
  /sbin/e-smith/db yum_repositories set scl-php54 \
 
  /sbin/e-smith/db yum_repositories set scl-php54 \
 
  repository Name 'Software collections - php54' \
 
  repository Name 'Software collections - php54' \
Line 12: Line 12:
 
  EnableGroups no Visible yes status disabled
 
  EnableGroups no Visible yes status disabled
  
* for php55
+
= php55 =
 
  /sbin/e-smith/db yum_repositories set scl-php55 \
 
  /sbin/e-smith/db yum_repositories set scl-php55 \
 
  repository Name 'Software collections - php55' \
 
  repository Name 'Software collections - php55' \
Line 18: Line 18:
 
  EnableGroups no Visible yes status disabled
 
  EnableGroups no Visible yes status disabled
  
* for mysql55
+
= mysql55 =
 
  /sbin/e-smith/db yum_repositories set scl-mysql55 \
 
  /sbin/e-smith/db yum_repositories set scl-mysql55 \
 
  repository Name 'Software collections - mysql55' \
 
  repository Name 'Software collections - mysql55' \
Line 24: Line 24:
 
  EnableGroups no Visible yes status disabled
 
  EnableGroups no Visible yes status disabled
  
* for PostgreSQL92
+
= PostgreSQL92 =
 
  /sbin/e-smith/db yum_repositories set scl-postgresql92 \
 
  /sbin/e-smith/db yum_repositories set scl-postgresql92 \
 
  repository Name 'Software collections - postgresql92' \
 
  repository Name 'Software collections - postgresql92' \
 
  BaseURL 'https://www.softwarecollections.org/repos/rhscl/postgresql92/epel-6-x86_64/' \
 
  BaseURL 'https://www.softwarecollections.org/repos/rhscl/postgresql92/epel-6-x86_64/' \
 
  EnableGroups no Visible yes status disabled
 
  EnableGroups no Visible yes status disabled
 +
 +
<headertabs/>
  
 
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
 
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
Line 36: Line 38:
 
}}</onlyinclude>
 
}}</onlyinclude>
  
For example to view changes you can run:
+
After installation of the repository you can view the changes:
 
  '''db yum_repositories show scl-php54'''
 
  '''db yum_repositories show scl-php54'''
  
The output will be following your smeserver version:
+
The output will be:
  
 
  scl-php54=repository
 
  scl-php54=repository
Line 48: Line 50:
 
     status=disabled
 
     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]]'''.
+
==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]]'''.
 +
 
 
* for php54
 
* for php54
 
  /sbin/e-smith/db yum_repositories set scl-php54more \
 
  /sbin/e-smith/db yum_repositories set scl-php54more \
Line 56: Line 60:
 
   BaseURL 'https://www.softwarecollections.org/repos/remi/php54more/epel-6-x86_64' \
 
   BaseURL 'https://www.softwarecollections.org/repos/remi/php54more/epel-6-x86_64' \
 
   EnableGroups no Visible yes status disabled
 
   EnableGroups no Visible yes status disabled
 +
 +
 
* for php55
 
* for php55
 
  /sbin/e-smith/db yum_repositories set scl-php55more \
 
  /sbin/e-smith/db yum_repositories set scl-php55more \

Revision as of 14:52, 6 January 2015

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/ and available : https://www.softwarecollections.org/repos/rhscl/

For SME 9.x 64-bit ONLY

Official Redhat repositories

[edit]
/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
/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
/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
/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

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

signal-event yum-modify

After installation of the repository you can view the changes:

db yum_repositories show scl-php54

The output will be:

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


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.

  • 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

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

signal-event yum-modify