Professional Documents
Culture Documents
Linux in 3 Hours
Click to edit Master title style
Agenda
Agenda
Click to edit Master title style
• Linux distributions
• Installing Linux
• Connecting to Linux
• Exploring the Linux File System
• Working with commands
• Finding help about commands
• Working with users and permissions
• Verifying network operations
• Managing software packages
• Basic process management
• Where to go from here
• Q&A
Learn Linux in 3 Hours
Click to edit Master title style
About you
Poll question 1
Click to edit Master title style
• How would you rate your own Linux knowledge on a
scale 1-5?
• 1
• 2
• 3
• 4
• 5
Poll question 2
Click to edit Master title style
• Do you have a favorite distribution?
• not yet
• Red Hat / CentOS / Fedora
• Ubuntu /Linux Mint
• Oracle
• SUSE
• Other
Poll question 3
Click to edit Master title style
• Which job title applies to you best?
• Systems administrator
• Developer
• Devops
• Manager
• Student
• Other
Poll question 4
Click to edit Master title style
• Which of the following topics would you like to learn
about in this course?
• Working with commands and other Linux basics
• User management
• Permission management
• Partitions and LVM
• Service Management
Learn Linux in 3 Hours
Click to edit Master title style
1. Understanding
Distributions
Understanding Open Source
Click to edit Master title 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 platform on servers, Internet, Cloud,
IoT, embedded
• The only environment where it's not leading is on the
end-users desktop
About Linux Distributions
Click to edit Master title style
• There is no company behind Linux
• Linux is open source and anybody can put together
some software in an installation disk
• That's what we call a distribution
• You better make sure that your favorite distribution is
common and widely supported
Most common Linux Distributions
Click to edit Master title 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 title style
2. Installing CentOS
How to install Linux?
Click to edit Master title style
• 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
• Install on physical hardware or in a virtual machine
• Recommended Requirements
• 1GB of RAM
• 10GB disk spaces
• Connectivity to the Internet
Learn Linux in 3 Hours
Click to edit Master title style
3. Connecting to Linux
Connecting to Linux
Click to edit Master title style
• 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
• Use sudo for secure administration tasks
Lab: using sudo
Click to edit Master title style
• As your current user, use sudo to run the command
useradd linda
Learn Linux in 3 Hours
Click to edit Master title style
8. Verifying Network
Operations
Verifying Network Operations
Click to edit Master title style
• Why does this matter?
• Well...
• There are many differences between distributions in
how network information is set
• All distributions use ip as the main tool to verify IP
based settings
• Do NOT use ifconfig anymore!
Networking Key Tools
Click to edit Master title style
• ip addr show
• ip link show
• ip route show
• cat /etc/resolv.conf
• ping
• dig
• ss
• nmap
Lab: Verifying Network Connectivity
Click to edit Master title style
• Use the appropriate tools to get information about your current
network configuration
• Can you see if you're using a DHCP server?
• Test connectivity to a server on the Internet
Learn Linux in 3 Hours
Click to edit Master title style
9. Installing Software
Packages
Installing Software Packages
Click to edit Master title style
• All Linux distributions are using meta package handlers
that access repositories which contain the packages
• Many different solutions exist to work with packages in
repositories: yum, dnf, zypper, apt
• And some legacy solutions exist to work with individual
packages
• Don't use them except for querying installed packages
Lab: Install software
Click to edit Master title style
• Install the package that contains the file sepolicy
Learn Linux in 3 Hours
Click to edit Master title style
Q&A