CIT 470: Advanced Network and System Administration. Topics. Why Document. Documentation

Similar documents
CIT 470: Advanced Network and System Administration. Topics. Workstation Management. Workstations

CIT 470: Advanced Network and System Administration. Topics. Mail Policies.

CIT 470: Advanced Network and System Administration. Topics. What is performance testing? Performance Monitoring

The Online Unix Manual

Linux-Kurs Themen -Help under Linux - 12 February 2004

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

Git! Fundamentals. IT Pro Roundtable! June 17, 2014!! Justin Elliott! ITS / TLT! Classroom and Lab Computing!! Michael Potter!

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

Basic Shell Commands. Bok, Jong Soon

Roxen Content Provider

Scripting Languages Course 1. Diana Trandabăț

Arkansas High Performance Computing Center at the University of Arkansas

Manual Shell Script Linux If File Exists Wildcard

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Frequently asked questions from the previous class survey

CSE 390a Lecture 2. Exploring Shell Commands, Streams, and Redirection

Course Administration

CptS 360 (System Programming) Unit 3: Development Tools

Doc Like an Egyptian. Dru Lavigne Documentation Lead, ixsystems SCALE, January 23, 2016

Prof. Navrati Saxena TA: R. Sachan

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Advanced Network and System Administration

Introduction to Supercomputing

Introduction to Linux. Roman Cheplyaka

Basic Linux Commands. Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay. May 5, 2009

CMPUT 201: Practical Programming Methodology. Guohui Lin Department of Computing Science University of Alberta September 2018

CS370 Operating Systems

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

CIT 470: Advanced Network and System Administration. Topics. System Logs. Logging

Adding Pages. Adding pages to your website is simple and powerful! In just a few minutes you can create a page that: Highlights a special event

CSE 390a Lecture 2. Exploring Shell Commands, Streams, Redirection, and Processes

Glossary. Appendix B. See also current directory.

Search Engines. Information Retrieval in Practice

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1

ADT: Site Search. Version 1.0

Git. CSCI 5828: Foundations of Software Engineering Lecture 02a 08/27/2015

Linux Essentials Objectives Topics:

Please choose the best answer. More than one answer might be true, but choose the one that is best.

CIT 470: Advanced Network and System Administration. Topics. Namespaces. Accounts and Namespaces. 1. Namespaces 2. Policies

Introduction to Linux

Editing Course Tools and Properties to 8.4.1

Space Details. Available Pages. Confluence Help Description: Last Modifier (Mod. Date): ljparkhi (Aug 14, 2008)

Basic Unix. Set-up. Finding Terminal on the imac. Method 1. Biochemistry laboratories Jean-Yves Sgro

Introduction to distributed version control with git

A Brief Introduction to the Linux Shell for Data Science

PBwiki Basics Website:

Introduction to Unix: Fundamental Commands

Unified Management Console

Chapter 11: File-System Interface

Chapter 10: File System. Operating System Concepts 9 th Edition

Using the Cloudscape Documentation

A Gentle Introduction to CMSC311 labs and CVS Or How I learned to use CVS in CMSC311. William Arbaugh September 2, 2004

Introduction to Systems Programming

Penetration Testing. James Walden Northern Kentucky University

VSO. Configuration Management

A Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 10.

GuideAutomator: Automated User Manual Generation with Markdown

Introduction to Linux

Overview of the UNIX File System

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

5 Choosing keywords Initially choosing keywords Frequent and rare keywords Evaluating the competition rates of search

Feature List. PB Code Analyzer (PBCA) Copyright Ecocion, Inc.

2 Initialize a git repository on your machine, add a README file, commit and push

What Is Voice SEO and Why Should My Site Be Optimized For Voice Search?

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Common Configuration Management Tasks: How to Do Them with Subversion

7. Archiving and compressing 7.1 Introduction

Introduction to SUSE Linux Enterprise Server

Saddleback College Business Science Division. Course Syllabus CIMN 240 Fundamental Unix/Linux System Administration

UNIX: Departmental Library Management on AIX

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions

UNIX files searching, and other interrogation techniques

ADVANCED LINUX SYSTEM ADMINISTRATION

CSCI544, Fall 2016: Assignment 1

Topics Augmenting Application.cfm with Filters. What a filter can do. What s a filter? What s it got to do with. Isn t it a java thing?

Cover Page. Oracle Report Parser System Administration Guide 10g Release 3 ( ) March 2007

The Unix Shell & Shell Scripts

Getting started with GitHub

Adding Pages. Adding pages to your website is simple and powerful! In just a few minutes you can create a page that: Highlights a special event

Development Environment Embedded Linux Primer Ch 1&2

CS 300. Data Structures

Editing Course Tools and Properties v8.3.0

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Migrating from Intuity Audix R4.4 to Avaya Aura Communication Manager Messaging R6.0

CS197U: A Hands on Introduction to Unix

Practical 5. Linux Commands: Working with Files

*roff code is suitable for display on a terminal using nroff(1), normally via man(1), or printing using troff(1).

Using Linux as a Virtual Machine

Chap2: Operating-System Structures

Unix/Linux: History and Philosophy

Capability and System Hardening

Chapter-3. Introduction to Unix: Fundamental Commands

Uniform Resource Locators (URL)

Lecture 3: The UNIX Style

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Workspace Administrator Help File

HarePoint HelpDesk for SharePoint. User Guide

Transcription:

CIT 470: Advanced Network and System Administration Documentation CIT 470: Advanced Network and System Administration Slide #1 Topics 1. Why document 2. How to document 3. External documentation 4. Man pages CIT 470: Advanced Network and System Administration Slide #2 Why Document Teaches SAs how to do critical procedures So you can go on vacation. So you can get promoted. Self-help desk Let users solve their problems quickly. Requires less time from SAs. CIT 470: Advanced Network and System Administration Slide #3 1

Forms of Documentation Text files and web pages Generic free form text, READMEs, etc. Man pages UNIX manual pages for commands, configs, etc. FAQs Frequently asked question lists. Reference Lists Vendors w/ contact info, serial numbers, employees Checklists and HOWTOs Step by step description of a procedure. Ex: new hire, installs, OS hardening CIT 470: Advanced Network and System Administration Slide #4 Documentation Template Title: Simple, short description. Metadata: Author with contact information Revision date, history What: Description of what the document tells you to do. How Step by step description of procedure. Indicate why you re doing steps where appropriate. CIT 470: Advanced Network and System Administration Slide #5 Sources for Documentation Command history Use script command before starting. Use history command after finishing. Screen shots Print screen import command to grab windows. Email Email conversations may describe commands. Don t use as documentation; just as a source. Request Tickets Problem solutions often documented in notes. CIT 470: Advanced Network and System Administration Slide #6 2

Documentation Storage Shared directory README to describe rules and policies. Subdirectories for topics. Text or HTML files in directories. Web site Directory shared via web server. Content Management System Web-based publishing and collaboration tool. Provides access control, versioning, easy markup. CIT 470: Advanced Network and System Administration Slide #7 Wiki Collaborative web-editing software. Invented by Ward Cunningham in 1995. Wiki is a Hawaiian word for fast. Features Edit pages within web browser. Simplified markup language. Version control of pages. Access control limits who can read and/or edit. CIT 470: Advanced Network and System Administration Slide #8 Version Control Allows tracking of history of changes. Can compare different versions. Can revert to older versions in case of bad edits or spam. CIT 470: Advanced Network and System Administration Slide #9 3

Search Text-based storage grep can search any text files. Indexing programs can provide faster searches for large repositories of text or binary data. Binary storage Binary document formats, like those used by word procs, are much harder to search. Often restricted to using creator application s search capabilities. Web search programs can be installed for web. Spider program crawls site to build index. Search program accesses index to find search terms. CIT 470: Advanced Network and System Administration Slide #10 Off-site Links Use off-site links to provide documentation. Many references, howtos, FAQs outside org. Use anonymizing redirection HTTP Referer header will reveal URL from internal site, which may leak project and people names and other information. CIT 470: Advanced Network and System Administration Slide #11 External Documentation tldp.org: The Linux Documentation Project Man pages FAQs HOWTOs Guides (online books) howtoforge.com: Many Linux HOWTOs Mostly OS + server install and configuration. ugu.com: UNIX Guru Universe CIT 470: Advanced Network and System Administration Slide #12 4

Man pages Standard online UNIX documentation. Commands Configuration files Programming interfaces Accessible man pagename man section pagename Web-based man pages. Searchable man k keyword CIT 470: Advanced Network and System Administration Slide #13 Man sections 1. User commands that anyone can use. 2. System calls (kernel functions.) 3. Library functions for programmers. 4. Devices (hardware interfaces in /dev) 5. File format descriptions (/etc/passwd) 6. Game, graphics demos. 7. Miscellaneous (boot, icmp, url, etc.) 8. System administration tools for root. CIT 470: Advanced Network and System Administration Slide #14 whichman Find matching man pages in all sections. Helps find which section you need. Uses fuzzy matching algorithm. $ whichman -0 printf /usr/share/man/man1/printf.1.gz /usr/share/man/man3/printf.3.gz $ whichman printf /usr/share/man/man1/printafm.1.gz /usr/share/man/man1/printf.1.gz /usr/share/man/man1/print.1.gz /usr/share/man/man3/print.3ncurses.gz /usr/share/man/man3/snprintf.3.gz /usr/share/man/man3/vdprintf.3.gz /usr/share/man/man3/vsprintf.3.gz /usr/share/man/man3/vfprintf.3.gz /usr/share/man/man3/wprintf.3.gz CIT 470: Advanced Network and System Administration Slide #15 5

Man Page Storage Stored under /usr/share/man Subdirectories for each section. May include language-specific subdirectories. MANPATH environment variable is a :-separated list of paths to search for man pages. Man page files Often compressed with gzip. File suffix is a number indicating the section. Written in nroff text-formatting language. CIT 470: Advanced Network and System Administration Slide #16 Man Page Output LS(1) User Commands LS(1) NAME ls - list directory contents SYNOPSIS ls [OPTION]... [FILE]... DESCRIPTION List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvsux nor --sort. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with. -A, --almost-all do not list implied. and.. CIT 470: Advanced Network and System Administration Slide #17 nroff code for page.th LS "1" "June 2006" "ls 5.97" "User Commands".SH NAME ls \- list directory contents.sh SYNOPSIS.B ls [\fioption\fr]... [\fifile\fr]....sh DESCRIPTION.\" Add any additional description here.pp List information about the FILEs (the current directory by default). Sort entries alphabetically if none of \fb\-cftuvsux\fr nor \fb\-\- sort\fr..pp Mandatory arguments to long options are mandatory for short options too..tp \fb\-a\fr, \fb\-\-all\fr do not ignore entries starting with..tp \fb\-a\fr, \fb\-\-almost\-all\fr do not list implied. and.. CIT 470: Advanced Network and System Administration Slide #18 6

nroff codes Title Header:.TH prog mansect cf lf ch Sections:.SH sectionname NAME is required. Most have: SYNOPSIS, DECRIPTION, OPTIONS, FILES, BUGS, AUTHOR, SEE ALSO Paragraphs.PP: new paragraph.tp: index text that comes 2 lines after this macro.nf: pre-formatted text. : comment line Fonts.B: bold (also \fb).i: italics (also \fi).r: roman (also \fr) CIT 470: Advanced Network and System Administration Slide #19 References 1. Mark Burgess, Principles of Network and System Administration, 2 nd edition, Wiley, 2004. 2. Aeleen Frisch, Essential System Administration, 3 rd edition, O Reilly, 2002. 3. Thomas A. Limoncelli and Christine Hogan, The Practice of System and Network Administration, 2 nd edition, Addison-Wesley, 2007. 4. Evi Nemeth et al, UNIX System Administration Handbook, 3 rd edition, Prentice Hall, 2001. CIT 470: Advanced Network and System Administration Slide #20 7