Module 2 present open source applications and licenses. Objective summary of this module: Understanding desktop, server, and mobile applications; introducing development languages and package management.
Trang 1Module 2 Open Source Applications and
Licenses
Trang 2This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Exam Objective 1.2 Major Open Source
Trang 3The Many Faces of Linux
Trang 4This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Linux plays many roles
• Servers are usually unattended and
handle data on behalf of other machines
• Desktops a.k.a clients are more
interactive, often graphical
• Mobile is a tablet or phone
• Development is much like a desktop but
with more capacity for development
Trang 6This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
• POP/IMAP servers let clients download
File Servers
• Network File System is the native UNIX
file sharing protocol
• Samba allows a Unix machine to emulate
a Windows client and server
• Netatalk allows a Unix machine to
emulate an Apple file server
Trang 8This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Infrastructure
• ISC bind is a Domain Name System
server
• OpenLDAP is a LDAP server for directory
information
• ISC DHCP configures dynamic clients
through the Dynamic Host Configuration Protocol
Trang 10This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Graphical Desktop
• X-Windows is the base graphical system
• Window managers add menus and
window management (open, close, hide, etc)
• Desktop environments provide window managers and tools
Trang 11Window Managers
• Compiz, FVWM, Enlightenment, Metacity
• Takes the basic windows and provides the chrome to move, close, open, etc
• Switches focus between running
applications
• Adds menus and application launchers
Trang 12This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Desktop Environment
• KDE, GNOME, Unity
• Window manager + tools
applications or search the computer
Trang 13• LibreOffice is a fork of OpenOffice
• Includes word processor, spreadsheet, presentation package, drawing tool
• Good compatibility with Microsoft Office file formats
Trang 14This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Web and Email
• Chromium and FireFox are popular open source browsers
popular, ensuring excellent support
• Thunderbird, Evolution, and KMail are
popular email clients
Trang 16This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Development
• Languages are either Compiled or
Interpreted
• Tradeoff of programmer productivity vs computing resources
• Libraries bundle common behavior to reduce the amount of code needed
Trang 17Open Source Licensing
Trang 18This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Exam Objective 1.3 Understanding Open Source
Software and Licensing
Trang 19Software Licenses
• The creator of the software owns the
copyright to the software
• The creator grants a software license for
people to use the software
• Some licenses take away rights, others give rights
Trang 20This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Free Software Foundation
• Started by Richard Stallman in 1985
• Also run the GNU project that provides tools to Linux and other Unix Oses
• GPLv2 and GPLv3 licenses allow you to modify and redistribute the software
• Copyleft provision dictates that you must share source code to your changes
Trang 21• GPL is a popular Free Software license
• GPL is “viral” as changes must also use
Trang 22This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Open Source Initiative
• Bruce Perens and Eric Raymond started the OSI in 1998
• Copyleft clauses are too extreme, FSF
was too political
• OSI doesn’t make licenses, only endorses them
• FSF licenses are OSI approved, but OSI licenses aren’t necessarily FSF approved
Trang 23Permissive Free Software
• An OSI license must allow the source to
be open, to be modified, redistributed, and
to be used by anyone for any purpose
• BSD and MIT licenses allow you to use
and redistribute software, or to keep your changes private and use it in proprietary software
Trang 24This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
Trang 25Non software licensing
• Art and written material can be licensed, too
• Public domain disavows any copyright restrictions
• Creative Commons has a variety of
licenses to allow people to use the work under certain restrictions
Trang 26This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses
• NonCommercial – no commercial use
• Combinations are allowed, such as
Attribution-No-Derivs-NonCommercial
• No Rights Reserved – public domain
Trang 27Making money with Open
Source
• Sell services, support, warranty
• Work on features in exchange for money
• Use Open Source in your day
job/consulting
• Use work time to fix/improve Open Source
• Build paid plugins/modules (subject to
license restrictions)