Difference between revisions of "Linux System Administration for Programmers"

From CDOT Wiki
Jump to: navigation, search
(LVM)
(SSH)
Line 9: Line 9:
 
== SSH ==
 
== SSH ==
  
* [[SSH]] tips and tricks
+
* [[SSH]] tips and tricks (or, "How to Easily and Securely Access Remote Systems")
 
** X tunneling
 
** X tunneling
 
** arbitrary forward and reverse tunnels
 
** arbitrary forward and reverse tunnels

Revision as of 12:56, 19 January 2015

Important.png
This is a draft only!
It is still under construction and content may change. Do not rely on this information.

This is a topic outline for teaching a future "System Administration for Programmers" session.

Screen

  • GNU Screen command
    • Common options

SSH

  • SSH tips and tricks (or, "How to Easily and Securely Access Remote Systems")
    • X tunneling
    • arbitrary forward and reverse tunnels
    • Using .ssh/config for convenience
    • Public key authentication
      • Use of passphrases
      • ssh-agent (and gnome ssh agent, ...)
  • Securing SSH
    • Preventing direct root login

LVM

  • Using LVM for storage management (or, "Why Running out of Disk Space is No Big Deal")
    • Concepts: PVs, VGs, LVs
    • pvs, vgs, lvs
    • vgextend
    • lvextend -r
    • pvmove

Bash

  • Bash tips 'n' tricks
    • Aliases
    • cd shortcuts: using - and ~
    • Command editing
      • ^Right, ^Left, Home, ^A, End, ^E, ^T
      • Esc-BS, Ctl-W
      • Esc-_
    • Command searching
      • ^R
      •  !
    • Tab completion
    • Prompts

X11

  • Remote access
  • Clipboard vs. Selection
  • Fast-paste (middle mouse)

Using Root

  • Via sudo
  • Via su
  • Directly (don't do it!)
  • Dangers

Installing and Removing Software

On an RPM-based system

  • Why use a package manager
  • Yum/DNF basics
    • list, search, info
    • install, remove
  • rpm -q basics
    • package selection: name -a -f --whatrequires --whatprovides
    • info selection: default -i -l --requires --provides --scripts --qf
  • repoquery basics (?)
  • apt-get basics (As needed)