The Role of the System Administrator - PowerPoint PPT Presentation

1 / 40
About This Presentation
Title:

The Role of the System Administrator

Description:

In this chapter, you will: Explain the role of a system administrator ... To protect users from accidentally erasing files: Use the safedelete utility ... – PowerPoint PPT presentation

Number of Views:4377
Avg rating:3.0/5.0
Slides: 41
Provided by: jimb192
Category:

less

Transcript and Presenter's Notes

Title: The Role of the System Administrator


1
Chapter 7
  • The Role of the System Administrator

2
Objectives
  • In this chapter, you will
  • Explain the role of a system administrator
  • Discuss the responsibilities of a system
    administrator
  • Use basic system administration commands in Linux

3
Working as a System Administrator
Valued Gateway Client
  • The role of a Linux system administrator is to
    keep Linux-based computer systems running
    efficiently
  • A system administrator works as part of the
    Information Systems (IS) or Information
    Technology (IT) department of an organization

4
Working as a System Administrator
Valued Gateway Client
  • The IS or IT departments work in two areas
  • Internal information systems
  • Organizational information viewed by the public
    over the Internet
  • The help desk team directly solves problems for
    end users

5
The Position of a System Administrator within
Small Company
6
The Position of a System Administrator within
Large Company
7
Tasks of a System Administrator
Valued Gateway Client
  • System administrators perform the following
    tasks
  • Help users solve problems
  • Train users
  • Inform management of technical developments
  • Maintain system hardware
  • Create new user accounts
  • Define procedures and policies
  • Plan systems

8
Ethics and the System Administrator
Valued Gateway Client
  • System administrators are trusted employees
  • System administrators have access to valuable
    personal and business data
  • Legal and ethical rules control work of a system
    administrator

9
Principles of Maintaininga Linux System
Valued Gateway Client
  • Linux utilities are programs used for system
    administration
  • Linux system is designed to be used by multiple
    users
  • Each program or system service relies on a
    separate plain-text configuration file
  • Most Linux command-line utilities are designed to
    do one task very well

10
Linux Configuration Files
Valued Gateway Client
  • Program and system services create and maintain
    its own configuration information
  • The configuration files for programs managed by
    the system administrator are stored in the /etc
    directory
  • Configuration files for programs that are used by
    only a single user are stored in that users home
    directory

11
Some Configuration Files Used by Linux
12
Advantages of Multiple Plain-Text Configuration
Files
Valued Gateway Client
  • Using plain-text configuration files has several
    advantages
  • Allow complex configurations
  • Permit modifications using any text editor
  • Easy to write a program to manipulate the
    configuration
  • Each file is small and independent
  • Flexibility

13
Advantages of Multiple Plain-Text Configuration
Files
Valued Gateway Client
  • Other utilities designed to provide a framework
    for configuring all Linux programs
  • KDE
  • Gnome
  • Webmin

14
Configuring a Program with a Graphical Utility
15
The KDE Control Center
16
A Gnome Configuration Utility
17
Understanding Files, Devices, and Processes
Valued Gateway Client
  • A device is a hardware peripheral
  • Devices are accessed via the /dev directory,
    either directly or by creating an association
    with another system resource

18
Understanding Files, Devices, and Processes
Valued Gateway Client
  • Processes are the programs running on Linux
  • Program is a piece of software that executes on
    the Linux system
  • A daemon is a background process
  • A thread is a part of a process, or subprocess

19
Daemons Running on Linux
20
Multiple Users, Multiple Processes
Valued Gateway Client
  • Linux supports multiple users working at the same
    time
  • Each user account can execute multiple programs,
    and each of these processes is associated with
    the user that started it
  • System administrator can log in as root to manage
    all processes on the system

21
Using Small, Efficient Utilities
Valued Gateway Client
  • To provide flexibility, Linux commands have
    numerous options
  • All command options are focused on a single type
    of task
  • Each option is represented by
  • a hyphen followed by a single letter
  • two hyphens followed by a word describing the
    option

22
Common Options of the ls Command Options
23
Combining Command Options
24
Standard Input and Output
Valued Gateway Client
  • Channels of communication in Linux can be
    redirected
  • The standard input channel (STDN) data provided
    by the kernel comes from the keyboard
  • A program sends data to the standard output
    channel (STDOUT) to display that information
    on-screen

25
Standard Input and Output
Valued Gateway Client
  • Error messages are written to standard error
    (STDERR)
  • A pipe connects the output channel of one command
    to the input channel
  • Pipes are used to connect the output of one
    application to the input of another application

26
Creating a Pipe between Two Applications
27
Redirecting Input and Output
28
Using Basic Administration Tools
Valued Gateway Client
  • A system administrator should know about a number
    of basic Linux utilities and the options
    supported by those utilities
  • A single utility has a simple function
  • Multiple utilities can be combined together using
    redirection

29
Case Sensitivity in Linux
Valued Gateway Client
  • Everything in Linux is case sensitive
  • Program names and commands in Linux are all
    lowercase

30
Filenames and File Extensions
Valued Gateway Client
  • File extensions can be used for convenience in
    Linux, but they are not important
  • Filenames in Linux can be up to 256 characters,
    include most special characters except a forward
    slash

31
Learning about Linux Commands
Valued Gateway Client
  • To learn about Linux commands
  • Use a commands -- help option
  • View the online manual pages
  • Use the info command
  • The apropos command can help you locate an
    appropriate command based on a keyword search of
    man pages

32
Using Regular Expressions
Valued Gateway Client
  • A regular expression provides a flexible way to
    encode many types of complex patterns
  • Regular expression can be used as parameters to
    Linux commands
  • Regular expressions operate in the same way as
    wildcards

33
Common Regular Expressions in Linux
34
Example Regular Expressions
35
Deleting Files in Linux
Valued Gateway Client
  • Deleting files using the rm command in Linux is
    permanent
  • After using rm, deleted files cannot be recovered

36
Deleting Files in Linux
Valued Gateway Client
  • To protect users from accidentally erasing files
  • Use the safedelete utility
  • Use the rm command with the i option, which
    prompts you for confirmation before deleting a
    file
  • Use the trashcan on the KDE or Gnome Desktop
  • Use a low-level disk editing tool

37
Finding What You Need
Valued Gateway Client
  • The locate and find commands help you locate
    files within Linux
  • The locate command is used to search an index of
    all files on your Linux system
  • The find command lets you specify properties of
    the file to match
  • The grep command searches within text files for
    patterns that you specify using regular
    expressions

38
Reviewing System Processes
Valued Gateway Client
  • Process ID (PID) is a unique number identifying a
    process
  • The pc command provides a PID and other
    information about each process running on Linux
  • The kill command is used to end a process

39
Summary
  • The role of a Linux system administrator is to
    keep Linux-based computer systems running
    efficiently
  • System administrators maintain end-user systems,
    Internet systems, train and support users, and
    solve system problems
  • Each program and service in Linux is configured
    using plain-text configuration files
  • Graphical configuration utilities are used for
    system administration
  • A single task performed by a process cab be split
    into multiple threads, or subtasks

40
Summary
  • Linux supports multiple users working at the same
    time
  • Communications to and from program is provided by
    standardized channels STDN, STDOUT, and STDERR
  • To learn about Linux commands, review the online
    documentation and view commands options
  • Regular expressions provide a flexible way to
    encode many types of complex patterns
  • Linux provides the locate, find, and grep tools
    to help you locate specific files and search
    within files
Write a Comment
User Comments (0)
About PowerShow.com