Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application...
Transcript of Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application...
![Page 1: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/1.jpg)
1
Software Collections on CentOSSoftware Collections on CentOS
Joe BrockmeierJoe [email protected]@redhat.comTwitter: @jzbTwitter: @jzbhttp://dissociatedpress.net/http://dissociatedpress.net/Principal Cloud & Storage AnalystPrincipal Cloud & Storage Analyst
Open Source and Standards (OSAS) at Red HatOpen Source and Standards (OSAS) at Red Hat
http://community.redhat.com/http://community.redhat.com/
![Page 2: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/2.jpg)
2
Who's this guy?Who's this guy?
![Page 3: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/3.jpg)
3
The Whats, Whys, and Hows of SCLsThe Whats, Whys, and Hows of SCLs
● The Packaging Problem We FaceThe Packaging Problem We Face
● What are Software Collections?What are Software Collections?
● Why, and when, to choose SCLs over other Why, and when, to choose SCLs over other solutions?solutions?
● How do I use SCLs?How do I use SCLs?
● Coming Soon... Coming Soon...
![Page 4: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/4.jpg)
4
In the Beginning...In the Beginning...
![Page 5: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/5.jpg)
5
Distributions as the Distributions as the Center of the UniverseCenter of the Universe
![Page 6: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/6.jpg)
6
![Page 7: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/7.jpg)
7
Developers do not want to be Developers do not want to be limited to system versions of limited to system versions of
softwaresoftware
![Page 8: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/8.jpg)
8
Containers, PaaS, and Software Containers, PaaS, and Software Collections... Oh MyCollections... Oh My
![Page 9: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/9.jpg)
SCALE 12x
Let's talk about Software CollectionsLet's talk about Software Collections
![Page 10: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/10.jpg)
10
Do not require changes to RPMDo not require changes to RPM
![Page 11: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/11.jpg)
11
Software Collections areSoftware Collections are not not just a just a different version packaged for your OSdifferent version packaged for your OS
![Page 12: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/12.jpg)
12
Do not overwrite system filesDo not overwrite system files
![Page 13: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/13.jpg)
13
Example: PHP 5.4
On CentOS 6.xOn CentOS 6.x
PHP 5.4 package isPHP 5.4 package is php54
This pulls in:This pulls in:
php54phpcli.x86_64
php54phpcommon.x86_64
php54phppear.noarch
php54phpprocess.x86_64
php54phpxml.x86_64
php54runtime.x86_64
Lives in:Lives in: /opt/rh/php54/root
![Page 14: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/14.jpg)
14
Avoid conflicts with system filesAvoid conflicts with system files
![Page 15: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/15.jpg)
15
Require Require minorminor changes to your changes to your existing spec filesexisting spec files
![Page 16: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/16.jpg)
16
Do not conflict with updates on your Do not conflict with updates on your systemsystem
![Page 17: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/17.jpg)
17
Nifty: Nifty: CanCan depend on other SCLs depend on other SCLs
![Page 18: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/18.jpg)
SCALE 12x
Let's talk about using SCLsLet's talk about using SCLs
![Page 19: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/19.jpg)
19
Software Collections CurrentlySoftware Collections Currently
● Red Hat Software Collections went GA on 12 Sept 2013
● CentOS announced SCLs 19 February 2014
● Fedora has SCLs on Fedora Hosted since 2013:
https://fedorahosted.org/SoftwareCollections/
![Page 20: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/20.jpg)
20
What's Packaged for Software CollectionsWhat's Packaged for Software Collections
● Ruby 1.9.3
● Python 2.7
● Python 3.3
● PHP 5.4
● Perl 5.16.3
● Tech preview Node.js 0.10
● MariaDB 5.5
● MySQL 5.5
● PostgreSQL 9.2
![Page 21: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/21.jpg)
21
Getting StartedGetting Started
● Assuming using a SLC with CentOS● yum install centosreleaseSCL
● yum install php54 (or whatever...)
● scl enable php54 “application option”
● Your application now uses PHP 5.4 ... the rest of the system ignores it.
● Python & Django with SCL (by Langdon White):● http://red.ht/scldjango
● Find packages for CentOS here: http://mirror.metrocast.net/centos/6.5/SCL/x86_64/
![Page 22: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/22.jpg)
22
Packaging SCLs
● Grab the necessary packages (CentOS or Grab the necessary packages (CentOS or Fedora or RHEL 6.5):Fedora or RHEL 6.5): yum install sclutils sclutilsbuild
● Instructions on converting an existing Instructions on converting an existing package:package: http://bit.ly/sclspecfile
● For Conversion: For Conversion: spec2sclspec2scl
● General instructions on packaging SCLs:General instructions on packaging SCLs: http://bit.ly/pkgingscls
![Page 23: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/23.jpg)
SCALE 12x
Coming SoonComing Soon
![Page 24: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/24.jpg)
24
What will SoftwareCollections.org be?
● Upstream community for development of SCLs.
● Build and hosting services for collections.
● Resources (documentation, forums, mailing lists) for developers/packagers.
● An index of packaged software for users of CentOS, Fedora, RHEL, and other RPM-based distributions.
![Page 25: Software Collections on CentOS - Percona · deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL. OpenShift leverages SCLs for its cartridges](https://reader034.fdocuments.us/reader034/viewer/2022042115/5e92c3570fdfdb59e707cb49/html5/thumbnails/25.jpg)
25
The Lifecycle of Collections
● SCLs can be used to provide newer software support on older releases, or (going forward) to provide legacy support on newer releases:
● Example: Application using Ruby on Rails N deployed on CentOS 6, via SCL. Same application deployed on CentOS 7 (when released) using SCL.
● OpenShift leverages SCLs for its cartridges using RHEL supported and non-supported components.
● SCLs can be used inside Docker containers to simplify container deployment.