Difference between revisions of "Linux System Administration for Programmers"
Chris Tyler (talk | contribs) |
Chris Tyler (talk | contribs) |
||
Line 39: | Line 39: | ||
* Clipboard vs. Selection | * Clipboard vs. Selection | ||
* Fast-paste (middle mouse) | * 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 | ||
+ | ** <code>list, search, info</code> | ||
+ | ** <code>install, remove</code> | ||
+ | * <code>rpm -q</code> basics | ||
+ | ** package selection: <code>''name'' -a -f --whatrequires --whatprovides</code> | ||
+ | ** info selection: <code>''default'' -i -l --requires --provides --scripts --qf</code> | ||
+ | * repoquery basics (?) | ||
+ | * apt-get basics (As needed) |
Revision as of 12:50, 19 January 2015
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
- X tunneling
- arbitrary forward and reverse tunnels
- Using
.ssh/config
for convenience - Public key authentication
LVM
- Using LVM for storage management
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
- package selection:
- repoquery basics (?)
- apt-get basics (As needed)