Sie sind auf Seite 1von 32

Learn

Linux in 3 Hours
Click to edit Master /tle style

Agenda
Agenda
Click to edit Master /tle style
•  Linux distribu/ons
•  Installing Linux
•  Connec/ng to Linux
•  Working with commands
•  Finding help about commands
•  Working with users and permissions
•  Verifying network opera/ons
•  Managing soCware packages
•  Basic process management
•  Where to go from here
•  Q&A
Learn Linux in 3 Hours
Click to edit Master /tle style

About the Instructor


About your instructor
Click to edit Master /tle style
•  Linux user since 1992, Linux professional since 1996
•  Linux author, instructor and consultant since 1996
•  Author of
•  Beginning Linux System Administra/on
•  RHCSA Complete Video Course
•  LFCS Complete Video Course
•  Linux+/LPIC-1 Complete Video Course
•  RHCSA/RHCE Cert Guide
•  and many more, all on safaribooksonline.com
Learn Linux in 3 Hours
Click to edit Master /tle style

1. How About Distribu/ons?


Why does Linux MaWer?
Click to edit Master /tle style
•  Linux is open source
•  Every developer and vendor can benefit from all work
that has been done in the open source community
•  "Give some, take some"
•  Linux is a leading pla[orm on servers, Internet, Cloud,
IoT, embedded
•  The only environment where it's not leading is on the
end-users desktop
About Linux Distribu/ons
Click to edit Master /tle style
•  Why does this topic maWer?
•  There is no company behind Linux
•  Linux is open source and anybody can put together
some soCware in an installa/on disk
•  That's what we call a distribu/on
•  You beWer make sure that your favorite distribu/on is
common and widely supported
Most common Linux Distribu/ons
Click to edit Master /tle style
•  Red Hat and Family
•  CentOS
•  Fedora
•  Ubuntu and Family
•  Linux Mint
•  Debian
•  SUSE and Family
•  SUSE Leap
Learn Linux in 3 Hours
Click to edit Master /tle style

2. Installing CentOS
How to install Linux?
Click to edit Master /tle style
Why does this topic maWer?
•  To start working with Linux, you'll need to put it on
your computer
•  Instances in cloud are deployed, in all other cases you'll
need to install it
•  Let's have a look!
Learn Linux in 3 Hours
Click to edit Master /tle style

3. Connec/ng to Linux
Connec/ng to Linux
Click to edit Master /tle style
Why does this topic maWer?
•  There are different ways to connect to Linux
•  Local graphical login
•  Local console login
•  SSH
•  How your Linux is going to be accessed, depends on
how your Linux is provided
•  And there are different user accounts, determining
your level of access to Linux tools
Learn Linux in 3 Hours
Click to edit Master /tle style

4. Working with Linux


Commands
Working with Linux Commands
Click to edit Master /tle style
Why does this topic maWer?
•  To unleash all that Linux has to offer, you'll need CLI
access
•  GUI offers only a limited subset of the command line
•  CLI knowledge is a first step to more advanced Linux
usage: Bash or Python scrip/ng, Ansible or Puppet
configura/on management and more
•  Linux has SO many commands to offer and they are the
essen/al building blocks of everything else
Essen/al Command Line Skills
Click to edit Master /tle style
•  Commands are interpreted by the bash shell
•  Case maWers
•  Op/ons and Arguments
•  Bash command line comple/on
•  Bash history
•  Let's have a look!
Learn Linux in 3 Hours
Click to edit Master /tle style

5. Finding Help about Linux


Commands
Finding Help
Click to edit Master /tle style
•  Why does this maWer?
•  Too many commands, too many op/ons
•  Different help systems are available
•  command --help
•  man and man -k
•  and others that don't maWer that much
•  what about Google?
•  Best prac/ce: focus on man -k and command --help
•  Don't forget bash Tab-comple/on!
Learn Linux in 3 Hours
Click to edit Master /tle style

6. Working with Users and


Permissions
Understanding Users and Permissions
Click to edit Master /tle style
•  Why does this maWer?
•  You won't find many user accounts for people on Linux.
You will find that every service is using user accounts as
well as group membership to get access to system
resources
User Fundamentals
Click to edit Master /tle style
•  System users and people users are defined in /etc/passwd and /etc/
shadow
•  user[Tab][Tab] and group[Tab][Tab] for managing accounts
•  Don't get overwhelmed by the many op/ons!
•  passwd to set a password, or to lock an account
•  Home directories in /home may contain environment files
Permission Fundamentals
Click to edit Master /tle style
•  Ownership set the basic environment for working with permissions
•  There are three sets of permissions
•  Basic permissions: Read, write and execute
•  Advanced permissions: SUID, SGID and S/cky bit
•  Access Control lists for when mul/ple en//es need to get access
•  Default permissions allow for one owner only
•  Set ownership with chown or chgrp
•  Set permissions with chmod
Learn Linux in 3 Hours
Click to edit Master /tle style

6. Verifying Network
Opera/ons
Verifying Network Opera/ons
Click to edit Master /tle style
•  Why does this maWer?
•  Well...
•  There are many differences between distribu/ons in
how network informa/on is set
•  All distribu/ons use ip as the main tool to verify IP
based segngs
•  Do NOT use ifconfig anymore!
Networking Key Tools
Click to edit Master /tle style
•  ip addr show
•  ip link show
•  ip route show
•  cat /etc/resolv.conf
•  ping
•  dig
•  ss
•  nmap
Learn Linux in 3 Hours
Click to edit Master /tle style

7. Installing SoCware
Packages
Installing SoCware Packages
Click to edit Master /tle style
•  All Linux distribu/ons are using meta package handlers
that access repositories which contain the packages
•  Many different solu/ons exist to work with packages in
repositories: yum, dnf, zypper, apt
•  And some legacy solu/ons exist to work with individual
packages
•  Don't use them except for querying installed packages
Learn Linux in 3 Hours
Click to edit Master /tle style

9. Basic Process
Management
Basic Process Management
Click to edit Master /tle style
•  It's all about top!
Learn Linux in 3 Hours
Click to edit Master /tle style

Where to go from here


Where to go from here
Click to edit Master /tle style
•  Beginning Linux System Administra/on
•  Gegng Cer/fied
•  Distribu/on Independent
•  LFCS
•  Comp/a Linux+ / LPIC-1
•  Red Hat RHCSA
My Titles on Safaribooksonline
Click to edit Master /tle style
•  Beginning Linux System Administra/on
•  RHCSA Complete Video Course with Virtual Machines
•  Linux Founda/on Cer/fied Sysadmin Complete Video
Course
•  Linux+ / LPIC-1 Complete Video Course
•  Red Hat RHCSA/RHCE Cert Guide
•  All available on safaribooksonline.com
•  Just look for my name: Sander van Vugt
Learn Linux in 3 Hours
Click to edit Master /tle style

Q&A

Das könnte Ihnen auch gefallen