Lesson 22 – Introduction to Linux Systems Administration.

Slides:



Advertisements
Similar presentations
Linux+ Guide to Linux Certification, Second Edition
Advertisements

5 Basic utilities When a user logs in to the Linux operating system the directory that they will start in is their home directory. Most users will have.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
A Guide to Unix Using Linux Fourth Edition
Linux+ Guide to Linux Certification, Second Edition
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
Linux Commands LINUX COMMANDS.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Linux Installation and Administration Lesson 2 Tutor: George Papamarkos.
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #5  Files and directories in UNIX  Various types of files  File attributes  Notion of pathname  Commands.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
A Guide to Unix Using Linux Fourth Edition
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Unix Basics Chapter 4.
Linux Operations and Administration
Linux+ Guide to Linux Certification, Second Edition
Adding New Users User as an entity - username(UID), GID. UID - typically a number for system to identify the user. GID – a number that recognizes a set.
Chapter Two Exploring the UNIX File System and File Security.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
Introduction to Programming Using C An Introduction to Operating Systems.
CSC414 “Introduction to UNIX/ Linux” Lecture 5. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Basic of UNIX For fresh members of SPARCS
Manage Directories and Files in Linux Part 2. 2 Identify File Types in the Linux System The file types in Linux referred to as normal files and directories.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Linux Commands C151 Multi-User Operating Systems.
1 CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
UNIX filesystem CS 2204 Class meeting 2 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
CSCI 330 UNIX and Network Programming Unit II Basic UNIX Usage: File System.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Agenda The Linux File System (chapter 4 in text) Linking Files Hard Links / Symbolic Links Disk Storage Checking for Disk Space (df / du) Archiving (Backing.
Using Linux Kaya Oğuz Room: 310.
Getting Started with Linux
Introduction to Unix – CS 21
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Basic Commands ls cp ls –l (in detail format) echo ls –a
Some Linux Commands.
C151 Multi-User Operating Systems
Introduction to GNU/Linux (Fedora) Command Line Interface
Exploring the UNIX File System and File Security
Introduction to Linux Week 0 - Thursday.
Unix : Introduction and Commands
Working with Mac OS and Linux
CSE 303 Concepts and Tools for Software Development
Linux Commands LINUX COMMANDS.
January 26th, 2004 Class Meeting 2
Presentation transcript:

Lesson 22 – Introduction to Linux Systems Administration

About Linuxconf Managing users Network configuration Managing client NFS file systems with Linuxconf Linux command-line basics OVERVIEW

Administrative tasks: User administration. Network administration. Disk administration. About LINUXCONF

Start Linuxconf: Invoke linuxof command from terminal window. About Linuxconf

Linuxconf’s first-time starting window

About Linuxconf Linuxconf’s opening window

Adding users. Removing users. Editing users. Changing root’s password. MANAGING USERS

Adding users

User Accounts menu’s options

Adding users

Adding a user

Adding users

Removing users

Editing users

Changing root’s password

Changing your host name. Changing your IP address. Working with /etc/ hosts file. Changing DNS client configuration. Changing your default route. Changing how host names are looked up. NETWORK CONFIGURATION

Changing your host name

Changing your IP address

Changing IP address

/etc/hosts file - Add entries

Editing the /etc/ hosts file via Linuxconf

/etc/hosts file - Add entries

/etc/hosts file - Edit entries

/etc/hosts file - Remove entries

Changing DNS client configuration

Changing your default route

Changing how host names are looked up

Changing order in which host names are looked up

Changing how host names are looked up

Adding an NFS mount. Editing a mount point. Removing a mount point. MANAGING CLIENT NFS FILE SYSTEMS WITH LINUXCONF

Adding an NFS mount

Adding NFS mounts

Adding an NFS mount

Editing a mount point

Removing a mount point

Environment variables. Nuances on the command-line. Documentation tools. File listings, ownerships, and permissions. File management and manipulation. Process manipulation. Miscellaneous tools. LINUX COMMAND-LINE BASICS

Printing environment variables: Use printenv command to list variables. Use printenv and a specific environment variable to see a variable. Environment variables

Setting environment variables: Use variable=value. Environment variables

Clearing environment variables: Use the unset command. Environment variables

Wildcard characters: Asterisk (*) Question mark (?) Nuances on the command-line

Environment variables as parameters: Command line parameters include environment variables. Nuances on the command-line

Multiple commands: Can be executed on the same line by separating commands with a semicolon (;). Nuances on the command-line

Back ticks (`): Embeds commands as parameters to other commands. Nuances on the command-line

Man command: Documents found online covering tools usage and corresponding configuration files. Format is man program_name. For example, man useradd. Documentation tools

Info command: Info pages are a common feature of documentation. Documentation tools

ls command: Lists all the files in a directory. File listing, ownerships, and permissions

About files and directories: Normal files Directory files Hard links Symbolic links File listing, ownerships, and permissions

About files and directories: Block devices Character devices Named pipes File listing, ownerships, and permissions

chown: Change ownership File listing, ownerships, and permissions

chgrp: Change group File listing, ownerships, and permissions

chmod: Change mode. Permissions are broken into 4 parts. Octal/Symbolic representations. File listing, ownerships, and permissions

Commands: cp: Copy files. mv: Move files. ln: Link files. find: Find a file. dd: Convert and copy a file. gzip: Compress a file. File management and manipulation

Commands: mknod: Make special files. mkdir: Create a home directory. rmdir: Remove a directory. pwd: Show present working directory. tar: Tape archive. cat: Concatenate files. File management and manipulation

Commands: more: Display a file one screen at a time. du: Disk utilization. which: Show directory in which file is located. whereis: Locate Binary, Source, and Manual Page for a command. df: Find out amount of free disk space. sync: Synchronize disks. File management and manipulation

Commands: ps: List processes. top: Show an interactive list of processes. kill: Send a signal to a process. Process manipulation

Commands: uname: Show system name. who: Find out who is logged in. su: Switch users. Miscellaneous tools

About Linuxconf: User administration. Network administration. Disk administration. SUMMARY

Managing users: Adding users. Removing users. Editing users. Changing root’s password. Summary

Network configuration: Changing your host name. Changing your IP address. Working with /etc/ hosts file. Changing DNS client configuration. Changing your default route Changing how host names are looked up. Summary

Managing client NFS file systems with Linuxconf: Adding an NFS mount. Editing a mount point. Removing a mount point. Summary

Linux command-line basics: Environment variables. Nuances on the command-line. Documentation tools. File listings, ownerships, and permissions. File management and manipulation. Process manipulation. Miscellaneous tools. Summary