Software Collections



Similar documents
PHP in RPM distribution

PHP 5.4 on RHEL-6 using RHSCL

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY

Cloud Homework instructions for AWS default instance (Red Hat based)

OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

owncloud 8 and DigitalOcean Matthew Davidson Bluegrass Linux User Group 03/09/2015

Pro Puppet. Jeffrey McCune. James TurnbuII. Apress* m in

LAMP : THE PROMINENT OPEN SOURCE WEB PLATFORM FOR QUERY EXECUTION AND RESOURCE OPTIMIZATION. R. Mohanty Mumbai, India

The red hat enterprise linux developer program

Configuring Remote HANA System Connection for SAP Cloud for Analytics via Apache HTTP Server as Reverse Proxy

White Paper Server. SUSE Linux Enterprise Server 12 Modules

CN=Monitor Installation and Configuration v2.0

CloudLinux is a proven solution for shared hosting providers that:

LAMP Quickstart for Red Hat Enterprise Linux 4

IBM Cloud Manager with OpenStack

Building Library Website using Drupal

RED HAT DEVELOPER TOOLSET Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux

Virtualization Management the ovirt way

ZABBIX. An Enterprise-Class Open Source Distributed Monitoring Solution. Takanori Suzuki MIRACLE LINUX CORPORATION October 22, 2009

CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Web Solution using More Secure Apache HTTP Server with the Concept of Full Virtualization

OpenCATS Documentation

vfabric Web Server Installation and Configuration

Red Hat Subscription Management All Subscription Docs Quick Registration for RHEL

System management with Spacewalk

OpenPro ERP Software Installation Guide REDHAT LINUX

OpenShift on OpenStack

The Benefits of Verio Virtual Private Servers (VPS) Verio Virtual Private Server (VPS) CONTENTS

OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER

Web Server using Apache. Heng Sovannarith

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

Diploma in Computer Science

GL550 - Enterprise Linux Security Administration

Parallels Operations Automation

Our Microsoft Exchange is Zarafa

External and Federated Identities on the Web

CN=Monitor Installation and Configuration v3.2

GestióIP IPAM. v3.2. Installation Guide. v0.7. IP address management software.

PaaS solutions evaluation

LAMP Server A Brief Overview

APACHE. Presentation by: Lilian Thairu

CC ICT-SUD. Setting up and integrate Apache, MySQL and PHP on a Linux system

Managing your Red Hat Enterprise Linux guests with RHN Satellite

Introduction to ovirt

Of Pets and Cattle and Hearts

Red Hat Developer Toolset 1.1

WebApp S/MIME Manual. Release Zarafa BV

A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of

Open Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat

Providing an Effective Intranet Knowledge Base Using Linux and Open Source Software

Linux - CentOS 6 Install Guide

RHEL to SLES Migration Overview

ovirt Introduction James Rankin Product Manager Red Hat Virtualization Management the ovirt way

Red Hat Network Satellite (On System z) 18-JUNE CAVMEN Meeting

Red Hat Enterprise Linux OpenStack Platform 7 Back Up and Restore Red Hat Enterprise Linux OpenStack Platform

Ansible. Configuration management tool and ad hoc solution. Marcel Nijenhof

System management with Spacewalk

ENTERPRISE LINUX SECURITY ADMINISTRATION

GestióIP IPAM v3.0 IP address management software Installation Guide v0.1

GL-550: Red Hat Linux Security Administration. Course Outline. Course Length: 5 days

SSSD. Client side identity management. LinuxAlt 2012 Jakub Hrozek 3. listopadu 2012

TUT19344 Managing RH/CentOS with SUSE Manager

Red Hat Enterprise Linux Roadmap

Small Enterprise Server Open Source Linux Based SES

Installation Guide. Help Desk Manager. Version v12.1.0

From Idea to Working Deployment:

Integrating Linux systems with Active Directory

SSL/TLS Hands-on Thomas Herlea

OpenShift and Cloud Foundry PaaS: High-level Overview of Features and Architectures

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On

ZCP trunk (build 51762) Z-Admin Manual. The Z-Admin Manual

Resource Management with CGroups

RED HAT CLOUD SUITE FOR APPLICATIONS

Use Cases for Docker in Enterprise Linux Environment CloudOpen North America, 2014 Linda Wang Sr. Software Engineering Manager Red Hat, Inc.

How To Set Up A Virtual Host In Apa On A Linux Box On A Windows Xp Or Ipa On An Ubuntu Box On An Ipa (Windows) Or Ipo (Windows Xp) On A Ubora Box On Your Ubora

ACE Management Server Administrator s Manual VMware ACE 2.6

The FOSSology Project Overview and Discussion. » The Open Compliance Program. ... By Bob Gobeille, Hewlett-Packard

Red Hat Enterprise Linux 6 Server:

docs.hortonworks.com

Oracle Mobile Security Suite Workshop. Installation

Automated build service to facilitate Continuous Delivery

About CloudLinux. LVE Manager. Industry awards. Ruby Selector. Python Selector. CageFS. Mod_lsapi. MySQL Governor. OptimumCache.

Parallels Plesk Automation

Guide to Red Hat Enterprise Linux 6 Software Collections

Release Notes scvenus 2.5.3

Learning about Informix and the Open Admin Tool (OAT)

Installation and Control in Linux

Solving the Package Problem? Or Making it Infinitely Worse?

Fermilab Central Web Service Site Owner User Manual. DocDB: CS-doc-5372

Installing Booked scheduler on CentOS 6.5

Transcription:

Software Collections Introduction Presented by Remi Collet Senior Software Engineer, Red Hat Inc. License Licensed under Creative Commons Attribution Share Alike CC-BY-SA

Summary What are SCL (Software Collections) Using SCL Live LAMP demo Packaging SCL Linux distributions Questions

Definition The aim of Software Collections is to provide multiple versions of software in one distribution. The version from the collection must not interact with the system version. System version must not be polluted by collection's packages. Collection is a system-independent package or a group of packages. It could be the latest version of stable old software that is already included in the distribution. Collections can provide several parallel-installable versions of software.

Needs #1 Distribution with long support provides the same version of a software during all the life cycle (years) Examples : RHEL-5 provides: Apache 2.2, MySQL 5.0 and PHP 5.1 RHEL-6 provides: Apache 2.2, MySLQ 5.1 and PHP 5.3

Needs #2 Distribution with short support provides recent version of software, but some applications are not yet compatible. Example: Fedora 19 provides: Apache 2.4, MariaDB 5.5 and PHP 5.5

Needs #3 Some users need various versions of the same software Developers to test their application and to ensure compatibility System administrator, to test before an update Shared hosting providers

Needs #4 Supported versions by distribution vendor (stability, security) No change in the base system (stability) System independent (same version on various systems, running different base versions) Simple for packager Simple for system administrator Simple for users

Other solutions Virtualization => heavy, cost Local build => complex, no support Alternatives => system wide

SCL solution Set of packages (RPM) Separate tree Installed in /opt/<vendor>/<sclname> Launcher to enable the collection

Tools The scl utils package /usr/bin/scl /etc/scl/prefixes The scl utils build package Packagers tools: rpm macros

Content #1 <scl> Metapakage (empty), dependencies on most important packages of the SCL <scl>-runtime /etc/scl/prefixes/<scl> /opt/<vendor>/<scl>/enable /opt/<vendor>/<scl>/root <scl>-build /etc/rpm/macros.<scl> config (additional macros for packager)

Content #2 Examples of packages in the http24 SCL httpd24 apr httpd24 apr util httpd24 apr util ldap httpd24 apr util mysql httpd24 apr util nss httpd24 apr util odbc httpd24 apr util openssl httpd24 apr util pgsql httpd24 apr util sqlite httpd24 httpd httpd24 httpd tools httpd24 httpd manual httpd24 mod_ldap httpd24 mod_proxy_html httpd24 mod_session httpd24 mod_ssl...

Content #3 Examples of a package (httpd24-httpd) /etc/logrotate.d/httpd24 httpd /etc/rc.d/init.d/httpd24 httpd <==== /opt/rh/httpd24/root/etc/httpd /opt/rh/httpd24/root/etc/httpd/conf /opt/rh/httpd24/root/etc/httpd/conf.d <==== /opt/rh/httpd24/root/usr/lib64/httpd /opt/rh/httpd24/root/usr/lib64/httpd/modules /opt/rh/httpd24/root/usr/sbin/apachectl /opt/rh/httpd24/root/usr/sbin/fcgistarter /opt/rh/httpd24/root/usr/sbin/htcacheclean /opt/rh/httpd24/root/usr/sbin/httpd <==== /opt/rh/httpd24/root/usr/share/httpd /opt/rh/httpd24/root/var/log/httpd /opt/rh/httpd24/root/var/run/http /opt/rh/httpd24/root/var/www <====...

How to use a SCL #1 Installation yum install php55 Base system is unchanged $ php v PHP 5.3.3 (cli) (built: Aug 19 2013 05:50:20) Using the SCL launcher $ scl enable php55 'php v' PHP 5.5.4 (cli) (built: Sep 17 2013 17:03:02)

How to use a SCL #2 Services # service php54 php fpm status # systemctl status httpd24 httpd.service Modules for system software Ex mod_php, from SCL, for system Apache # yum remove php # yum install php54 php # service httpd restart

Demo Base system RHEL 6 SELinux enabled PHP 5.3 Software Collections used httpd24, php54, php55, mariadb55 => http://rhel6/

Configuration used Apache 2.4.6 proxy configuration ProxyPassMatch ^/php53/(.*\.php)$ fcgi://127.0.0.1:9000/var/www/html/$1 ProxyPassMatch ^/php54/(.*\.php)$ fcgi://127.0.0.1:9001/var/www/html/$1 ProxyPassMatch ^/php55/(.*\.php)$ fcgi://127.0.0.1:9002/var/www/html/$1 Alias /php53 /var/www/html Alias /php54 /var/www/html Alias /php55 /var/www/html

Packaging #1 The main SCL package %global scl php54 %scl_package %scl... %install cat <<EOF tee enable export PATH=%{_bindir}:%{_sbindir}\${PATH:+:\${PATH}} export MANPATH=%{_mandir}:\${MANPATH} EOF install D m 644 enable \ %{buildroot}%{_scl_scripts}/enable %scl_install

Packaging #2 Package changes needed for SCL %{?scl:%scl_package foo} %{!?scl:%global pkg_name %{name}}... Name: %{?scl_prefix}foo... Requires: %{?scl_prefix}bar... %setup n %{pkg_name} %{version}... Most magic done by RPM macros %{_bindir} => in the SCL %{_root_bindir} => int the system

Fedora Tools are available (scl-utils in repository since Fedora 15) SCL are not yet allowed (but approved) Packaging Guidelines are under review

Red Hat #1 Tools are available (scl-utils in base repository for RHEL-5 and RHEL-6) Red Hat Developer Toolset 2.0 GA since September 12 th, 2013 For RHEL-5 and RHEL-6 Eclipse 4.3.0 Gcc 4.8.1 Gdb 7.6

Red Hat #2 Red Hat Software Collections 1.0 GA since September 12 th 2013 Available for RHEL-6 x86_64 Only requires a valid RHEL subscription 3 years support Databases MariaDB 5.5.32, MySQL 5.5.32, PostgreSQL 9.2.4 Languages Perl 5.16.3, PHP 5.4.16, Python 2.7.5 + 3.3.2, Ruby 1.9.3, NodeJS 0.10.5

Benefits For user Choice Simplicity For enterprise Recent software available No base system change Supported For upstream communities Faster adoption of new versions

Links https://fedorahosted.org/softwarecollections/ http://blog.famillecollet.com/tag/scl http://developerblog.redhat.com/ Soon: http://www.softwarecollections.org/

Questions? Contact: remi@fedoraproject.org License Licensed under Creative Commons Attribution Share Alike CC-BY-SA