what so special about mageia ?

81
Bruno Cornec / HP / Mageia project 1 What’s so special about Mageia ? 2013-09-18 v1.1 Bruno Cornec [email protected] http://mageia.org

Upload: bruno-cornec

Post on 06-Sep-2014

2.237 views

Category:

Technology


2 download

DESCRIPTION

Now ranked #2 on DistroWatch, this fully community driven FLOSS distribution is still largely unknown and its merits underestimated. However, it provides unique features for both server or desktop users, based on a rich management, packaging and contribution set of tools, a friendly community eager to deliver the best Linux distribution. While young and born in 2010, Mageia is a full featured distribution inheriting from its Mandrake roots back in the 90's, but now fully managed by its community such as Debian, or Fedora. However, few people know what makes Mageia so appealing. This presentation will cover in detail deployment with auto_inst, security with msec, SELinux and Tomoyo, package managemen with urpmi and friends, and the numerous other tools (providing a real choice), or integration tasks or governance model that make it a unique distribution you should test next. Presented for the 3rd birthday of Mageia at LinuxCon US New Orleans 2013.

TRANSCRIPT

Page 1: What so special about Mageia ?

Bruno Cornec / HP / Mageia project 1

What’s so special about Mageia ?

2013-09-18v1.1

Bruno [email protected]

http://mageia.org

Page 2: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 2

Introducing Myself● Software engineering and Unices since 1988

● Mostly Configuration Management Systems (CMS), Build systems, quality tools, on multiple commercial Unix systems

● Discover Open Source & Linux (OSL) & first contributions in 1993

● Full time on OSL since 1995, first as HP reseller then @HP

● Currently:● Master Technology Architect on OSL for the HP/Intel Solution Center, Grenoble

● OSL HP Advocate

● EMEA OSL HP Profession Lead

● Solutions Linux Conference and OWF board member. Conferences at WW level in LinuxCon, Linux.conf.au

● MondoRescue, Dploy.org, Project-Builder.org Project Lead

● LinuxCOE, mrepo, tellico, rinse, fossology, collectl contributor

● FOSSBazaar and OSL Governance enthusiast

● Mandriva, Mageia, Fedora packager

● And also:

● Amateur singer (Alto / Tenor) and recorder player since 1976 and Choir director since 1987

● CD collector since 1981 (5000+ and counting) – Concert attendance since 1976

● Amateur photograph since 1976

Page 3: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 4

Before we start...

USERS ?

Page 4: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 5

Before we start...

CONTRIBUTORS ?

Page 5: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 6

Before we start...

UPSTREAM ?

Page 6: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 8

Once upon a time...

1991

Page 7: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 9

Once upon a time...

1993

Page 8: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 10

Once upon a time...

1994

Page 9: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 11

Once upon a time...

1998

+ =

Page 10: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 12

Once upon a time...

2005

+ =

Page 11: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 13

Once upon a time...

2010-09-18?

Page 12: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 14

Once upon a fork...

Ask before to ensure you’ll have a communityNo company in charge of the developmentNon profit association mageia.org in charge of the project“The purpose of this association is:● to organise, develop and promote the free (libre) operating system Mageia, its derivatives and related free software projects;● to coordinate the communities surrounding these projects.”

Community at the heart of the new governance modelCommunication around all decisions/orientationsMeritocracy

Page 13: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 15

Values

Mageia is Social Software

Mageia is Powerful Technology

Mageia is Knowledge

Mageia is Quality

Mageia is Open Relations

Page 14: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 16

Be considerate ,

Be respectful ,

Be collaborative ,

Be pragmatic ,

Support others in the community ,

Get support from others in the community .

Code of conduct

Page 15: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 17

So about Mageia is...

Page 17: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 19

Organization and representation without excess

Page 18: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 21

CMS/VCS: Subversion & git

Tools are needed

Page 19: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 22

Tools are needed

Blog: Wordpress

Page 20: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 23

Tools are needed

Mailing-lists: Sympa

Page 21: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 24

Tools are needed

Instant messaging: IRC

Page 22: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 25

Tools are needed

Documentation: Mediawiki

Page 23: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 26

Tools are needed

Bugs: Bugzilla

Page 24: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 27

Fork...because we could

Page 25: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 28

Once upon a time...

2011-03-01

11 month planned for start of project (admin, teams, legal, governance, comm) - took 3

3 months to have a working build system – took 5

Page 26: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 29

Once upon a time...

2011-06-01

Page 27: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 30

Organize more devs...

9 months release (rather 12) – 18 months life cycle

Teams organization:

Page 28: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 31

Once upon a time...

2012-05-22

2

Page 29: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 32

2011 35

2012 49

2013 63

Increase your footprint...

Page 30: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 33

Forum: phpBB

2011 1393

2012 2628

2013 3491

Increase your footprint...

Page 31: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 34

Increase your footprint...

Page 32: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 35

Once upon a time...

2013-05-19

3

Page 33: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 36

Popularity vs usefulness ?

Page 34: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 37

Some links...

Page 35: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 38

Mageia’s description on Distrowatch:

“Mageia is primarily a desktop distribution. Its best-loved features are cutting-edge software, superb system administration suite (Mageia Control Centre), ability to attract a large number of volunteer contributors, and extensive internationalisation support. It features one of the easiest, yet powerful system installers on its installation DVD, while it also releases a set of live images with either KDE or GNOME desktops and comprehensive language support, with the ability to install it onto a hard disk directly from the live desktop session. The distribution's well-established package management features, with powerful command-line options and a graphical software management module, allow easy access to thousands of software packages. The unique Mageia Control Center continues to improve with each release, offering newcomers to Linux a powerful tool for configuring just about any aspect of their computer without ever reaching for the terminal.”

Page 36: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 39

Key features

A key differentiator

Also Gnome, LXDE, XFCE, e17

Predates yum !

ARM ongoing

And SSHFS, squashFS, HFS, NILFS, GlusterFS, openAFS, DRBD

Mageia has a large world wide community and is available in 19 languages

Page 37: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 40

Applications versionsmeta packages also available:$ urpmq list | sort u | grep E ‘^task’ | wc l

40

e.g: c++-devel, kde4, lamp, games, printing-hp

Page 38: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 41

Key packages

Page 39: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 43

Mageia as a desktop Linux distribution

Mageia Control Center

Page 40: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 44

MCC

Page 41: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 45

MCC

Page 42: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 46

MCC

Page 43: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 47

MCC

Page 44: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 48

MCC

Page 45: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 49

MCC

Page 46: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 50

MCC

Page 47: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 51

MCC

Page 48: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 52

MCC

Page 49: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 53

MCC

Page 50: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 54

MCC

Page 51: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 55

MCC

Page 52: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 56

MCC

Page 53: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 57

MCC

Page 54: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 58

MCC

Page 55: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 59

MCC

Page 56: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 60

MCC

Page 57: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 61

Mageia Installer

Page 58: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 62

Mageia Installer

Page 59: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 63

Mageia Installer

Page 60: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 64

Mageia Installer

Page 61: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 65

Mageia Installer

Page 62: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 66

Mageia Installer

Page 63: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 67

Mageia Installer

Automating with auto_inst

Answer file is a perl structure

Syntax can be checked !

Easy to extend

Maximum customization with a post-install script

Best used with a PXE server

Also Live CD/USB creator

Page 64: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 68

Mageia Installer$o = {      'timezone' => {        'ntp' => 'ntp.dmz.musiqueancienne.org',        'timezone' => 'Europe/Paris',        'UTC' => 1      },      'services' => [        'acpid',        'crond',[...]

       ],         'security_user' => '[email protected]',        'default_packages' => [                'acpi',                'acpid',                'apache',[...]        'users' => [ {              'icon' => 'default',              'realname' => 'fwadmin',              'uid' => undef,              'groups' => [],              'name' => 'myuser',              'shell' => '/bin/bash',              'gid' => undef,              'pw' => '$2a$08$37kahashedpasswd1zTDm.',            } ],

'partitions' => [ {      'fs_type' => 'ext4',      'mntpoint' => '/',      # 500 MB      'size' => 1138567    }, {      'fs_type' => 'swap',      'mntpoint' => 'swap',      # 2 GB      'size' => 4038086               },[...]       ],'autoExitInstall' => '0','no_suggests' => 1,[...]

'postInstall' => 'cd /root wget http://10.0.2.2/pub/ks/www/postinstall.shchmod 755 ./postinstall.sh./postinstall.sh 2>&1 | tee /dev/tty7 | tee /var/log/postinstall.logrm f ./postinstall.sh',};

Page 65: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 69

More than just a desktop: Mageia kernels

Kernel – 3.8.13.4 in Mageia 3

Desktop and Server versions provided

Linus vanilla kernel also available

RT, Vserver and virtualbox versions provided

Bleeding edge “tmb” version (Thomas Backlund)

Some non-free modules (nvidia, broadcom, fglrx)

DKMS support: $ urpmq list | sort u | grep i dkms | wc l

25

Supports cgroups, LXC, KVM/QEMU, SPICE, IPv6, ipvsadm, systemtap

Page 66: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 70

In addition:

OpenLDAP / lemonLDAP Web SSO

squid + squidGuard,

Postgresql 8.4, 9.0, 9.1, 9.2 / sqlite mariadb 5.5 / firebird

ISC bind, ISC DHCP + relay,

drupal, django,

zarafa, egroupware, Kolab,wordpress

tomcat 5 & 6 & 7, JBoss, spring, Geronimo

FreeRadius, FreeSwitch, mythtv

jasperreports, pentaho,

Ganglia, munin, nagios, shinken, , zabbix

proftpd, vsftpd

More than just a desktop: Mageia as a server

# urpmq --list | sort -u | grep apache | wc -l

180

Page 67: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 71

Mageia and security

Msec: hardening framework part of MCCTomoyo: framework to provide Mandatory Access ControlSELinux: LSM kernel module to support acces control security policies (preliminary support)Clamav: anti-virusSpamassasin/dspam: anti-spamIptables/iptables6: controls kernel packet network filteringShorewall: framework generating iptables rules Mandi: monitoring daemon providing FW rulesNmap: network exploration and security auditingSnort: network intrusion detection systemPrelude: intrusion detection systemWireshark: network traffic analyzerUlogd: logging daemon for Netfilter

Page 68: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 72

More than just a desktop: Mageia for developersPerl friendly (upstream commiters) – padre, parrot# urpmq list | sort u | grep perl | wc l3310

Python friendly – provides python 2.7 and 3.3# urpmq list | sort u | grep python | wc l646

PHP friendly # urpmq list | sort u | grep php | wc l597

Java friendly – Eclipse, tomcat, Jboss, Maven, Jakarta$ urpmq list | sort u | grep i java | wc l1036

Ruby friendly – and Rails !# urpmq list | sort u | grep i ruby | wc l564

Ocaml friendly# urpmq list | sort u | grep i ocaml | wc l345

And GNU C/C++, Erlang, Gambas, lua, R, NodeJS

And: CVS, SVN, Hg, git, TeX, DocBook

Page 69: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 73

Mageia packaging specificity

RPM based (4.11) – won’t go the RPM 5.x route (one technical reason of the fork with Mandriva) + dependencies management:CLI:urpmi: rpm/srpm downloader, installer and dependency solverurpmq: urpmi database query toolurpme: rpm deinstallerurpmi.addmedia: adds a new rpm media to be used by urpmiurpmi.removemedia: remove a rpm media from urpmi usageurpmi.update: updates package lists for specified mediagenhdlist2: generates an hdlist and a synthesis fileConf under /etc/urpmi

GUI:mcc

Page 70: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 74

Mageia perfect for me ;-)

●Full native project-builder.org support (URPM, YUM, createrepo, mrepo, rpmbootstrap, apt, debconf, debootstrap, dpkg, fakeroot)●Full native MondoRescue support (afio, buffer, mindi, mindi-busybox, star, wodim, mt)●Full personal & work support : CDs, books, DVDs, scores, BDs collection (tellico), scores making (lilypond), multimedia support (cdrdao, dvdauthor, dvdstyler, dvdrip, k3b, ffmpeg, lame, sox, audex, k9copy, vlc), photo management (digikam, hugin), productivity (LibreOffice, lbdb+mutt, DocBook), Internet (firefox, pidgin, sympa, vsftpd, apache, uucp, mirror, rsync, owncloud), ITIL support (fusion directory, fusion inventory) and frozen-bubble

Page 71: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 75

$ mgarepo helpUsage: mgarepo COMMAND [COMMAND ARGUMENTS]

Tool to access and manage a package repository structure.

Useful commands:    co            checkout a package    ci            commit changes    sync          addremove all file changes from the .spec    submit        submit a package for build    putsrpm       import a source package to the repository    getspec       prints the spec    rpmlog        prints the RPM changelog    getsrpm       creates the source RPM    maintdb       interact with the maintainer db    create        create the structure of a new package    changed       shows changes not submitted    authoremail   prints the email of a given author    switch        relocate to mirror or upstream repository    upload        add a file to binrepo    del           remove a file from binrepo    up            update the working copy and synchronize all binaries

Run "mgarepo COMMAND help" and "man 8 mgarepo" for more information.

Written by Gustavo Niemeyer <[email protected]>

Packages in Mageia: add what’s missing !

Page 72: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 76

Packages in Mageia: add what’s missing !

Page 73: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 77

Packages in Mageia: add what’s missing !

Page 74: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 78

Packages in Mageia: add what’s missing !

Page 75: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 79

Packages in Mageia: add what’s missing !

Page 76: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 80

Packages in Mageia: add what’s missing !

Page 77: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 81

Packages in Mageia: add what’s missing !

Work on OpenStack (planned for mga4), Jenkins, oVirt, lbdb (planned for mga4), collectl (planned for mga4), Hadoop, Cassandra, iTop (planned for mga4), OpenVswitch, cfengine, Rudder, ...

We always need more packagers

We have a mentoring process

Page 78: What so special about Mageia ?

Bruno Cornec / HP / Mageia project 82

Mageia, a Community Linux distribution for HP

Community Linux Performs sanity tests of community Linux

distributions with several ProLiant servers Supports ProLiant server hardware Offers the ProLiant Support Pack “as is” Directs software issues to community

resources and supports the community

Commercial Linux Tests commercial Linux distribution early and

often (with beta OS, new hardware) Enables commercial distribution near launch date

of new ProLiant hardware Obtains Linux vendor certification for

representative ProLiant servers Provides support for ProLiant Support Pack

HP provides support Partner provides support Community provides support

http://communitylinux.orghttp://www.hp.com/go/rhelhttp://www.hp.com/go/sles

http://www.hp.com/go/ubuntuhttp://www.hp.com/go/oel

Page 79: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 83

Once upon a time...

2013-09-18This LinuxCon conference in

New Orleans celebrates Mageia’s 3rd birthday !!

Now sing !!

Page 80: What so special about Mageia ?

19/09/13 Bruno Cornec / HP / Mageia project 84

Once upon a time...

2014-02-01Mageia 4

Science fiction ?!

Time to propose changes, get review and votes...

... and code !

Page 81: What so special about Mageia ?

Bruno Cornec / HP / Mageia project 85

”Changes are never easy to make. There is comfort and safety in tradition, but change must come, no matter how painful or expensive it may be.”

Bill Hewlett

Q & A - Contacts – Thanks - Quote

[email protected]

(Open Source and Linux Technology Architect at the HP/Intel Solution Center)

http://www.hp.com/linuxhttp://opensource.hp.com

Thanks goes to: Linus Torvalds, Richard Stallman, Eric Raymond,

Anne Nicolas, Colin Guthrie, Eric Dumas, Nat Makarevitch, René Cougnenc, Rémy Card, Bdale Garbee, Bryan Gartner, Craig Lamparter, Lee Mayes, Gallig Renaud, Andree Leidenfrost, Eileen Evans, Phil Robb, Bob Gobeille, Martin Michlmayr among others, for their work and devotion to the Open Source Software cause... and my family for its patience :-)

« In order for the Mageia community to stay healthy, its members must feel comfortable and accepted. »

Mageia code of conduct