Build Your Own Linux Distribution

Total Page:16

File Type:pdf, Size:1020Kb

Build Your Own Linux Distribution Build Your Own Linux Distribution . during lunch break Michal Hruˇseck´y openSUSE Community Multiplier Team [email protected] Creating a distribution Distributions characteristics What we need to create our own distribution: Installation wizard Configuration utilities Branding Default configuration Package management Packages and their settings ... 3/20 c Novell Inc. All Right Reserved How to create distribution We want it fast and we don't want to work hard Let's use the others !!! And let's start with LiveCD 4/20 c Novell Inc. All Right Reserved Work to do What can we skip: Installation wizard Configuration utilities Package management Not necessary for LiveCD. What we need: Branding Default configuration Packages and their settings 5/20 c Novell Inc. All Right Reserved Closer look Branding: Just a different default theme We need to adjust/add packages Default configuration: We need to adjust packages Packages and their settings. =) Everything is about packages 6/20 c Novell Inc. All Right Reserved Conclusion We need quite a lot packages but we don't want to work on them by ourself. =) Let's fork Here it comes, let's use work done by somebody else So we need to get a lot of packages, maintain them easily and to be able to collaborate with other packagers =) openSUSE Build Service And we need something to create our LiveCD from our packages =) SUSE Studio 7/20 c Novell Inc. All Right Reserved openSUSE Build Service Build Service To build and publish packages... free and open platform for building packages for various distributions like openSUSE, Fedora, Ubuntu,... RPM and DEB packages are supported crossbuild for various hardware platforms (PPC, MIPS, arm) is also possible provide web based interface provide HTTP(S) based API provide command line client osc in Python 9/20 c Novell Inc. All Right Reserved Collaboration Features Project or package owners can grant write access to the others. However it has some disadvanatges: Unknown contributors have no write access Even people with write access might want a review of their changes People with write access to the project can change any package in project Anybody can send any request requests can create/delete/modify package request are rewieved by project maintainers and accepted/declined anybobody can contribute 10/20 c Novell Inc. All Right Reserved Modifying package osc linkpac server:database mysql home:-miska- osc co home:-miska- mysql cd home:-miska-/mysql quilt setup mysql.spec quilt push -a quilt new mysql-5.1.36-superfast-patch.patch quilt add mysys/mf_keycache.c quilt refresh -p0 osc add mysql-5.1.36-awesome-patch.patch osc commit osc sr 11/20 c Novell Inc. All Right Reserved Usefull osc commands linkpac agregatepac branch add rm build maintainer sr 12/20 c Novell Inc. All Right Reserved Contributing to the Factory Contributing to the Factory Factory is open =) anybody can contribute 1 Choose package 2 Create/modify it in your own branch 3 Send submit request to the appropriate devel project 4 Build reputation 5 Get maintainership of your package in devel project 6 After fullfiling all project dependent rules, submit package to the factory 7 Fix all problems reported 8 Go to 6 9 Congratulation, you are maintaining package in factory 14/20 c Novell Inc. All Right Reserved SUSE Studio Purpose Web based application for creating custom images. Creating a tuned server appliance Creating a live CD or DVD with your packages and software Creating a ready-to-run virtual appliance Creating a live USB key and carry your Linux system with you wherever you go Creating custom/specialized deployable image ... Advantages: User friendly and easy to use Simple but powerfull 16/20 c Novell Inc. All Right Reserved Example of usage - openSUSE Rescue CD Let's get back to making our own distribution. We know how to maintain our own packages/repositories =)All that is left is to create our own distribution Let's create openSUSE Rescue CD!!! Using openSUSE Buildservice and SUSE Studio 17/20 c Novell Inc. All Right Reserved openSUSE Rescue CD - Basic Idea How will openSUSE Rescue CD look like. We've don't have any resources In fact we've got one end user and his lunch break ) Let's base it on openSUSE 11.1 We want something different ) Let's include applications we may need ) Let's use Contrib for some additional packages ) Let's use different splash screen as a branding As we've got an ordinary end user we need a simple way how to create it ) Let's use SUSE Studio 18/20 c Novell Inc. All Right Reserved Getting account Login using OpenID No additional account Registration still needed Registration takes some time as resources are limited 15GB available for appliances Appliances older then 7 days may be deleted Let's see how it works !!! 19/20 c Novell Inc. All Right Reserved Questions? 20/20 c Novell Inc. All Right Reserved.
Recommended publications
  • Manjaro Linux
    MANJAROLINUX USERGUIDE THEMANJARODEVELOPMENTTEAM Copyright © 2018 the Manjaro Development Team. Licensed under the Attribution-ShareAlike 4.0 International Licence (the “Licence”); you may not use this file except in compliance with the License. You may obtain a copy of the Licence at: https://creativecommons.org/licenses/by-sa/4.0/legalcode Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an “as is” basis, without warranties or conditions of any kind, either express or implied. See the Licence for the specific language governing permissions and limitations under the Licence. The source code for this documentation can be downloaded from: https://github.com/manjaro/manjaro-user-guide/ user guide 5 The Manjaro Development Team Core Team Philip Müller Owner, Project Leader, Project Management and Co- ordination, Mirrors Manager, Server Manager, Packager, De- veloper, Web Developer Guillaume Benoit Developer, Moderation Ramon Buldó Developer, Packager Stefano Capitani Maintainer, Packager Bernhard Landauer Community Manager, Packager, Maintainer, Mod- eration, News Rob McCathie Maintainer Marcus Developer, Packager Teo Mrnjavac Developer Alexandre A. Arnt Developer, Moderation Ringo de Kroon Community Hugo Posnic Developer Artwork David Linares Designer Documentation Jonathon Fernyhough Editor of the User Guide 0.8.9-0.8.13, 15.09-15.12, Community Management, Cover art of the User Guide Sabras Wiki Manuel Barrette Editor of the User Guide 16.08-17.1, French transla- tion of the User Guide 17.0-17.1 Alumni Roland Singer Founder, Designer, Developer, Web Developer, Admin- istrator Carl Duff Community, Documentation and Wiki Management, Script- ing and Configuration Cumali Cinnamon and Gnome Community Editions Maintainer 6 manjaro linux Dan S.
    [Show full text]
  • SUSE Studio: What's New and Where We Are Heading Building and Running Linux Appliances on the Web
    SUSE Studio: What's new and where we are heading Building and running Linux appliances on the web Jan Krupa – Operations Engineer [email protected] SUSE Studio Introduction 3 4 Supported formats • USB Stick / Hard Disk Image • Preload USB Image • Live CD / DVD (.iso) • Preload ISO (.iso) • VMware Workstation / VirtualBox (.vmdk) • OVF Virtual Machine / ESXi (.ovf) • Xen guest (.img) • Hyper-V Virtual Hard Disk (.vhd) • SUSE Cloud / OpenStack / KVM (.qcow2) • Amazon EC2 (.ami) • Microsoft Azure (.vhd) 5 6 Real life example Faulty hard drive Source: https://www.flickr.com/photos/alexmuse/307226463 8 New features New distributions • openSUSE releases • SUSE Linux Enterprise Server releases • SUSE Linux Enterprise Desktop releases 10 Cloud build targets • SUSE Cloud • OpenStack • Amazon EC2 • Microsoft Azure 11 HTTPS-only access Source: https://www.flickr.com/photos/bilal-kamoon/6958578902 12 Testdrive – Increased performance Source: https://www.flickr.com/photos/laserstars/908946494 13 API Source: https://www.flickr.com/photos/mutednarayan/2280385549 14 Webhooks Source: https://www.flickr.com/photos/leecullivan/934664620 15 Projects we work on KIWI openSUSE/kiwi 17 Open Build Service openSUSE/open-build-service 18 KVM 19 Contribute to the documentation Source: https://www.flickr.com/photos/nics_events/2350462608 susestudio/studio-help 20 Where to follow us • Mailing list ‒ http://susestudio.com/forum • Twitter ‒ https://twitter.com/susestudio • Google+ ‒ https://plus.google.com/+susestudio • Facebook ‒ https://www.facebook.com/susestudio 21 Questions? Join our growing community! susestudio.com Thank you..
    [Show full text]
  • Build Your Own Distro Tired of the Run-Of-The-Mill Stuff on Distrowatch? Why Not Heed Mayank Sharma and Create the Perfect Operating System for You?
    Build your own distro Tired of the run-of-the-mill stuff on Distrowatch? Why not heed Mayank Sharma and create the perfect operating system for you? few issues ago, [LXF171, 50 making it your own – by removing apps and Now traditional wisdom says that creating Distros Tested], we looked at drivers that you don’t need and adding the your own Linux system is a rather difficult the best Linux distributions for ones you do. You’ll also probably change the thing to do and shouldn’t be attempted by A all kinds of users. There were factory-fitted artwork that says more about anyone other than Linux veterans. distros that were designed with ease of use the distro vendor than you. We begin the feature with graphical point- in mind, some focused on productivity, Sure that’s one way to go about it. and-click tools. Yes, you read that right. All it while others catered to specialised use You tweak and customise the distro to suit takes is a couple of clicks to craft your very cases, such as security and privacy your requirements. But wouldn’t it be really own flavour of Linux that you can pass to conscious users. But we can guarantee great if you just create your very own, custom friends and family. We’ve got tools that’ll help that there wasn’t a distro designed Linux distribution? you create and distribute customised spins specifically and entirely for you! based on Ubuntu, Fedora and While most Linux users make do OpenSUSE – the three mainstream with one of the mainstream distros out “We’ve got tools that’ll Linux distributions that house there, there’s always something or the help you create and thousands of open source software in other that’s missing.
    [Show full text]
  • SUSE Linux Enterprise?
    Linux Day – 2010 Tour Today's Agenda • Why SUSE Linux Enterprise? • SUSE Linux Enterprise 11 Service Pack 1 • Build & Deploy • Secure • Manage • Availability & Disaster Recovery 2 © Novell, Inc. All rights reserved. Why SUSE Linux Enterprise? Why SUSE Linux Enterprise? • Linux Distributions Share 90 to 95% of the Same Components – Most technical differentiators are very short-lived... – ...though SUSE Linux has always been a technical leader • So How Do You Choose the Best Linux Distribution? – Corporate Strategy – Best of Breed Solution Stacks – Interoperability – Support – Partner Ecosystem & Application Certification – Market Trends 4 © Novell, Inc. All rights reserved. Intelligent Workload Management Intelligent Workload Management enables IT organizations to manage and optimize computing resources in a policy-driven, secure and compliant manner across physical, virtual and cloud environments to deliver business services for Intelligent end customers. WORKLOAD Management 5 © Novell, Inc. All rights reserved. A Desktop to Data Center Platform SUSE Linux Enterprise Desktop End User Thin Client Devices Desktop SUSE Linux Enterprise Retail Point of Service Kiosk/ATM Retail/POS Appliances SUSE Linux Enterprise Server Open Enterprise Server Proxy, File & Print Firewall, VPN Email WAP, VOIP Caching SUSE Linux Enterprise Server SUSE Linux ERP, SCM, Enterprise Real Time Cluster SAN Database Web Mainframe CRM, HR 6 © Novell, Inc. All rights reserved. Best of Breed Solution Stacks - Mixed-Source Approach • Novell has a large portfolio of Open Source and proprietary products – Able to provide complete Data Center solutions using best of breed technologies > SLE, ZLM, Virtualization, Workload Management, BSM – Better positioned to work with ISVs that sell proprietary software > Example: Microsoft • RedHat is a purely Open Source company – Limited solution offerings 7 © Novell, Inc.
    [Show full text]
  • Accelerating Development Cycles and Enabling Rapid Business Growth
    ISV Case Study IT Services and Solutions Accelerating Development Cycles and Enabling Rapid Business Growth To meet increasing client demands for customisation, Pfortner wanted to accelerate its development cycle. By adopting SUSE Studio™ to build and modify its secure connectivity appliances, Pfortner has reduced development time by a massive 60 percent, accelerating the delivery of new functionality to its clients and boosting operational efficiency. Overview difficult to split work effectively across teams SUSE Business Partner: Based in Centurion, South Africa, Pfortner of developers,” said Aubrey Swane poel, provides network perimeter security so­ Man aging Director of Pfortner. “As a result, lu tions as well as network encryption ap­ each developer tended to be re spon sible pli­­ances. The company is focused on the for the full stack of management and sup­ fi nancial services sector, for which it de­ port for their own product. This slowed livers secure end­to­end connectivity so­ down the development cycle and pre ­ Name of Company lutions. Pfortner is rapidly expanding its vented them from focusing fully on their Pfortner business throughout Africa, Europe and core competence.” South America, working closely with tech­ Industry and Location nology partners. By creating a more structured develop­ IT services and solutions, South Africa ment environment, Pfortner knew that Products and Services Challenge it could accelerate delivery, improve in­ SUSE Appliance Programme As a provider of secure connectivity solu­ ternal effi ciency and bring on new team members more rapidly. SUSE Studio tions and network appliances to the finan­ SUSE Linux Enterprise Server cial services sector, which does not tend to buy off­the­shelf software, Pfortner un­ Solution Results dertakes significant customisation work Pfortner became one of the first compa­ + Cut software development time by 60 percent for its clients.
    [Show full text]
  • Chrome Os Iso Download 2017 Chromixium
    chrome os iso download 2017 Chromixium. Web site: http://chromixium.org/ Origin: United Kingdom Category: Desktop Desktop environment: Openbox Architecture: x86, x86_64 Based on: Ubuntu Wikipedia: Media: Live DVD The last version | Released: 1.5 | July 18, 2015 Zobacz po polsku: Chromixium. Chromixium – a free and open source computer operating system designed to mimic the look and feel of Google’s Chrome OS but still retain the flexibility and power of Ubuntu Linux. The Chromixium goals are: – A modular approach to (re)building the Chrome/Chromium OS desktop allows us to keep the base system light whilst at the same time beautifully modern and flexible – Hardware support for a wide range of laptops, desktops, network, video and sound cards – Installable to a conventional hard drive or partition allowing access to local storage, USB devices, printers and network shares – Ability to create persistent USB installs for portability – Ability to install additional software locally eg LibreOffice, GIMP, media players (even web browsers!) using Ubuntu or 3rd party software repositories – Complete control over customization of your operating system – Background security updates for peace of mind and hassle-free computing. Cr OS Linux. Web site: getchrome.eu Origin: Category: Desktop Desktop environment: Cinnamon Architecture: x86 Based on: openSUSE Wikipedia: Media: Live DVD/USB The last version | Released: 2.4.1290 | December 9, 2012 Zobacz po polsku: Cr OS Linux. Cr OS Linux (previously: Chrome Linux and Chrome OS Linux) – a Linux distribution built around the revolutionary Chromium browser, using SUSE Studio. It provides a lightweight Linux distribution similar to Google Chrome OS for the best web browsing experience on any x86 PC, netbook or notebook.
    [Show full text]
  • SUSE Openstack Cloud Crowbar 8
    SUSE OpenStack Cloud Crowbar 8 Supplement to Administrator Guide and End User Guide Supplement to Administrator Guide and End User Guide SUSE OpenStack Cloud Crowbar 8 by Frank Sundermeyer and Tanja Roth Publication Date: July 29, 2021 SUSE LLC 1800 South Novell Place Provo, UT 84606 USA https://documentation.suse.com Copyright © 2006– 2021 SUSE LLC and contributors. All rights reserved. Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License : http://creativecommons.org/licenses/by/3.0/legalcode For SUSE trademarks, see http://www.suse.com/company/legal/ . All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its aliates. Asterisks (*) denote third-party trademarks. All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its aliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof. Contents About This Guide v 1 Available Documentation v 2 Feedback vii 3 Documentation Conventions vii 4 About the Making of This Manual ix 1 Changing the SUSE OpenStack Cloud Dashboard Theme 1 2 Managing Images 2 2.1 Image Requirements 3 General Image Requirements 3 • Image Requirements Depending on Hypervisor 3 • Images for Use With Multiple Hypervisors 4 2.2 Building Images with SUSE Studio 5 2.3 Image Properties 5 2.4 Uploading Images 6 2.5 Modifying Image Properties 8 2.6 Using
    [Show full text]
  • 48X36 Poster Template
    Open Virtualization Format SVPC Working Group DMTF OVF Highlights OVF Technology & Tools OVF Pedigree •Initial draft submitted to DMTF in 2007 OVF XML Structure OVF is an International Standard Framework and •DMTF 1.0 standard in February 2009 Packaging format used in the creation, deployment and Section Locations Multiplicity management of Virtual Appliances (VAs) and Virtual •DMTF 1.1 standard in January 2010 Machines (VMs). DiskSection- Describes meta-information about all virtual disks in the package Envelope Zero or One •ANSI/INCITS 469-2010 Standard 2010 NetworkSection- Describes logical networks used in the package Envelope Zero or One •ISO/IEC 17203 standard in August 2011 OVF is a platform-independent, extensible, open, Specifies reservations, limits, and shares on a given VirtualSystemCollection Zero or One packaging and distribution format for virtual appliances. ResourceAllocationSection- •DMTF 2.0 work-in-progress resource, such as memory or CPU for a virtual machine collection OVF Version 2.0 Feature Overview OVF, as ‘metadata’, can be used in the full lifecycle of AnnotationSection- Specifies a free-form annotation on an entity VirtualSystem Zero or One any VA or VM. VirtualSystemCollection •Scaling at Deployment Time ProductSection- Specifies product-information for a package, such as product name and VirtualSystem Zero or more •Support for Basic Placement Policies OVF uses ‘XML’ for representing this metadata about version, along with a set of properties that can be configured VirtualSystemCollection •Encryption of OVF Packages VAs and VMs and their deployment and operating EulaSection- Specifies a license agreement for the software in the package VirtualSystem Zero or more •Disk Sharing at Runtime environments.
    [Show full text]
  • SLES 12 Virtualization
    SUSE® Virtualization Technologies Roadmap Michal Svec Jason Douglas Senior Product Manager Senior Engineering Manager [email protected] [email protected] Agenda Virtualization @SUSE Enhancements in XEN/KVM Enhancements in Linux Containers and Docker Virtualization with VMware Virtualization with Microsoft Virtualization in the Clouds 2 Virtualization @SUSE SUSE Virtualization • Virtualization is a key component in SUSE strategy! • Xen ‒ SUSE first to deliver Xen to the Enterprise in SLES 10 GA ‒ SUSE continues to support Xen in SLE 12 • KVM ‒ SUSE first to deliver KVM to the Enterprise in SLES 11 GA ‒ SUSE first to deliver KVM on IBM System z in SLES 11 SP3 4 5 Virtualization use cases use Virtualization Host Guest Dual Hypervisor Support Hypervisor Dual In Your Data Center Data Your In Perfect Guest Available in Public Clouds Clouds Public in Available In the Clouds the In Cloud Hosts Cloud Virtualization Host • Full Support for leading open source hypervisors included in the platform – KVM and Xen • Support for x86, x86_64, IBM System z and POWER8 (Tech Prev) • Support for major virtualization features, incl. memory, network or block device hotplugging, VM save/restore, CPU or memory overcommitment, live migration, snapshots • Support for OS-level or application virtualization with Linux Containers (LXC) and Docker 6 Perfect Guest • Perfect Guest strategy, operating system tuned to run great as a guest on all major hypervisors, including ‒ VMware ESX ‒ Microsoft Hyper-V ‒ Citrix XenServer ‒ Oracle VM ‒ LPAR and z/VM for IBM System z ‒ SUSE
    [Show full text]
  • Suse Linux Enterprise Server
    Suse Linux Enterprise Server Daniel Faile Linux Systems Engineer Novell Datacenter Solutions [email protected] Today's Agenda • Why SUSE Linux Enterprise? • SUSE Linux Enterprise 11 Service Pack 1 • Build & Deploy • Secure • Manage • Availability & Disaster Recovery 2 © Novell, Inc. All rights reserved. What is SUSE Linux Enterprise? Intelligent Workload Management Intelligent Workload Management enables IT organizations to manage and optimize computing resources in a policy-driven, secure and compliant manner across physical, virtual and cloud environments to deliver business services for Intelligent end customers. WORKLOAD Management 4 © Novell, Inc. All rights reserved. A Desktop to Data Center Platform SUSE Linux Enterprise Desktop End User Thin Client Devices Desktop SUSE Linux Enterprise Retail Point of Service Kiosk/ATM Retail/POS Appliances SUSE Linux Enterprise Server Open Enterprise Server Proxy, File & Print Firewall, VPN Email WAP, VOIP Caching SUSE Linux Enterprise Server SUSE Linux ERP, SCM, Enterprise Real Time Cluster SAN Database Web Mainframe CRM, HR 5 © Novell, Inc. All rights reserved. Support Overview Novell® is the only Linux software company worldwide that offers comprehensive enterprise level support for your entire Linux environment – from the desktop to the data center. • Priority access to expert resources, 24x7x365 • Fast and predictable response times • Full-service support offering • Dedicated resources for personalized support • Relationship management • Field-based technical resources • Support packages
    [Show full text]
  • Suse Studio™ Standard Edition
    FICHE TECHNIQUE SUSE STUDIO™ STANDARD EDITION SUSE Studio™ Standard Edition permet de créer, mettre à jour, configurer et gérer les appliances (environnements compacts et autonomes) de façon simple et rapide. Grâce à ce produit, les éditeurs de logiciels (ISV, Independent Software Vendor) peuvent concevoir une appliance ou une image d’application comprenant un système d’exploitation d’entreprise Linux* préconfiguré et intégré, entièrement pris en charge. L’image ou l’appliance ainsi conçue est prête à être déployée du poste de travail au cloud. Les ISV passent donc moins de temps à développer des applications personnalisées pour plusieurs plates-formes et sont libres de se consacrer davantage à la conquête de nouveaux marchés. Présentation du produit Pour vous simplifier la tâche, SUSE Studio propose plusieurs modèles, dont SUSE® Linux Enterprise Server et SUSE Linux Enterprise JeOS, tous prêts à être déployés en tant que Aujourd’hui, les ISV éprouvent plus de difficultés que jamais à démonstration de faisabilité ou offre commerciale. Muni de votre développer des solutions pour les environnements multi plates- formule d’origine et des versions dérivées enregistrées dans formes. Pour eux, il est impératif de maîtriser une planification des projets en flux tendu, des équipes de développement distribuées votre espace de stockage, vous aurez encore moins de mal à et de multiples déploiements sur un large éventail de plates- créer des appliances ou images d’applications par la suite. formes matérielles et logicielles, du datacenter au cloud. Tout cela SUSE Studio crée des images logicielles dans tous les formats se traduit par une augmentation des coûts liés au développement, courants, notamment : à la prise en charge et à la certification de ces solutions sur diverses plates-formes.
    [Show full text]
  • It Takes an (Open Source) Village to Build a Cloud
    It Takes an (Open Source) Village to Build a Cloud Mark R. Hinkle Senior Director, Cloud Computing Community Citrix Systems Inc. 2 %whoami • Responsible for management of CloudStack & Xen Open Source Cloud Communities • Joined Citrix via Cloud.com acquisition July 2011 • Managed Zenoss Open Source project to 100,000 users, 1.5 million downloads • Former Linux Desktop Advocate (Zealot?) • Former LinuxWorld Magazine Editor-in-Chief • Open Management Consortium organizer • Author - “Windows to Linux Business Desktop Migration” – Thomson • NetDirector Project - Open Source Con!guration Management Project • Sometimes Author and Blogger at SocializedSoftware.com/ NetworkWorld Quick Cloud Computing Overview: Or the Obligatory “What is the Cloud?” Slides 4 Five Characteristics of Clouds 1. On-Demand Self-Service 2. Broad Network Access 3. Resource Pooling 4. Rapid Elasticity 5. Measured Service 5 Cloud Computing Service Models USER CLOUD a.k.a. SOFTWARE AS A SERVICE Single application, multi-tenancy, network-based, one-to-many delivery of applications, all users have same access to features. Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE Application developer model, Application deployed to an elastic service that autoscales, low administrative overhead. No concept of virtual machines or operating system. Code it and deploy it. Examples: Google AppEngine, Windows Azure, Rackspace Site, Red Hat Makara SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE Servers and storage are made available
    [Show full text]