Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
linux:grundkonfiguration [2007-07-29 11:27] stefan |
linux:grundkonfiguration [2010-05-17 12:36] stefan |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Grundkonfiguration des Systems ====== | ====== Grundkonfiguration des Systems ====== | ||
===== Verschiedenes ===== | ===== Verschiedenes ===== | ||
+ | * Alle Pakete updaten | ||
+ | * <code bash>apt-get update | ||
+ | apt-get -u -o APT::Force-LoopBreak=true upgrade</code> | ||
* ''~/bin'' anlegen für eigene Scripts | * ''~/bin'' anlegen für eigene Scripts | ||
+ | * Nützliche Pakete | ||
+ | * <code bash>apt-get install bzip2 unzip less patch traceroute ssh vim locate dnsutils host telnet</code> | ||
+ | * Zeiten für automatische Scripts in ''/etc/crontab'' anpassen | ||
===== ~/.bashrc ===== | ===== ~/.bashrc ===== | ||
Zeile 45: | Zeile 51: | ||
set history=50 " keep 50 lines of command line history | set history=50 " keep 50 lines of command line history | ||
set ruler " show the cursor position all the time | set ruler " show the cursor position all the time | ||
+ | set nopaste | ||
+ | set pastetoggle=<F2> | ||
" Suffixes that get lower priority when doing tab completion for filenames. | " Suffixes that get lower priority when doing tab completion for filenames. | ||
Zeile 78: | Zeile 86: | ||
set autowrite " Automatically save before commands like :next and :make | set autowrite " Automatically save before commands like :next and :make | ||
"set hidden " Hide buffers when they are abandoned | "set hidden " Hide buffers when they are abandoned | ||
- | "set mouse=a " Enable mouse usage (all modes) in terminals</code> | + | "set mouse=a " Enable mouse usage (all modes) in terminals |
+ | set hlsearch | ||
+ | |||
+ | " Konfiguration für Syntax Highlighting => HTML | ||
+ | let use_xhtml = 1 | ||
+ | let html_number_lines = 1 | ||
+ | let html_use_css = 1</code> | ||
+ | |||
+ | ===== logrotate ===== | ||
+ | todo |