Difference between revisions of "Linux System Administration for Programmers"
Chris Tyler (talk | contribs) (→X11) |
Chris Tyler (talk | contribs) (→Using Root) |
||
Line 53: | Line 53: | ||
* Virtual desktops | * Virtual desktops | ||
− | == Using Root == | + | == Using Root (or, "No Power in the 'Verse Can Stop Me") == |
* Via sudo | * Via sudo |
Revision as of 13:01, 19 January 2015
This is a topic outline for teaching a future "System Administration for Programmers" session.
Contents
- 1 Screen (or, "How to Start a Build at the End of the Day")
- 2 SSH (or, "Remote Access made Easy and Secure")
- 3 LVM (or, "Why Running out of Disk Space is No Big Deal" or "Snapshots, Volumes, and Disk Errors, Oh My!")
- 4 Bash (or, "How To Save Hours of Your Life on the Command Line")
- 5 X11 (or, "Why the Linux GUI Rocks and No One Knows")
- 6 Using Root (or, "No Power in the 'Verse Can Stop Me")
- 7 Installing and Removing Software
Screen (or, "How to Start a Build at the End of the Day")
- GNU Screen command
- Common options
SSH (or, "Remote Access made Easy and Secure")
- SSH tips and tricks
- 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 (or, "Why Running out of Disk Space is No Big Deal" or "Snapshots, Volumes, and Disk Errors, Oh My!")
- Using LVM for storage management
- Why?
- Concepts: PVs, VGs, LVs
-
pvs, vgs, lvs
-
vgextend
-
lvextend -r
-
pvmove
- LV snapshots
Bash (or, "How To Save Hours of Your Life on the Command Line")
- 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 (or, "Why the Linux GUI Rocks and No One Knows")
- Remote access
- Clipboard vs. Selection
- Fast-paste (middle mouse)
- Composed desktops
- Virtual desktops
Using Root (or, "No Power in the 'Verse Can Stop Me")
- 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
- package selection:
- repoquery basics (?)
- apt-get basics (As needed)