Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
debian:etape_1_installation_base [2010/01/17 17:52] – smolski | debian:etape_1_installation_base [2010/01/18 11:37] – smolski | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
* [[debian: | * [[debian: | ||
====== Etape 1 - Installation du système de base ====== | ====== Etape 1 - Installation du système de base ====== | ||
+ | |||
+ | <note important> | ||
+ | http:// | ||
== Convention syntaxique : == | == Convention syntaxique : == | ||
Ligne 14: | Ligne 17: | ||
Au cas d' | Au cas d' | ||
- | ===== ISO d'install | + | ==== ISO pour une install |
- | Téléchargez | + | Au lieu de récupérer |
+ | Il est nécessaire d' | ||
+ | |||
+ | Téléchargez une iso '' | ||
http:// | http:// | ||
- | ===== Installer un minimum ===== | ||
- | Attention, pour une installation directement '' | ||
==== Le réseau ==== | ==== Le réseau ==== | ||
Ligne 30: | Ligne 34: | ||
Suivre la procédure habituelle d' | Suivre la procédure habituelle d' | ||
- | * Répondez aux questions posées. | + | * Répondez aux questions posées |
- | * Répondez | + | * Répondez |
// | // | ||
- | |||
- | Si vous débutez voyez ce tuto : \\ | ||
- | http:// | ||
==== Partitionnement ==== | ==== Partitionnement ==== | ||
Ligne 127: | Ligne 128: | ||
# aptitude install apt-file | # aptitude install apt-file | ||
# apt-file update | # apt-file update | ||
- | |||
- | |||
- | ===== Installation de VIm ===== | ||
- | |||
- | VIm est un éditeur de fichier tout à fait remarquable, | ||
- | |||
- | ==== Installer ==== | ||
- | |||
- | # aptitude install vim-nox vim-scripts exuberant-ctags | ||
- | |||
- | ==== VIm par défaut ==== | ||
- | |||
- | Placez '' | ||
- | |||
- | # update-alternatives --set editor / | ||
- | |||
- | <note important>'' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== Configuration de VIm ==== | ||
- | |||
- | vim se configure dans le fichier ''/ | ||
- | |||
- | Pour exemple, voici le mien : | ||
- | |||
- | < | ||
- | " / | ||
- | " you can find below. | ||
- | " do it in this file (/ | ||
- | " everytime an upgrade of the vim packages is performed. | ||
- | " make changes after sourcing debian.vim since it alters the value of the | ||
- | " ' | ||
- | |||
- | " This line should not be removed as it ensures that various options are | ||
- | " properly set to work with the Vim-related packages available in Debian. | ||
- | runtime! debian.vim | ||
- | |||
- | " Uncomment the next line to make Vim more Vi-compatible | ||
- | " NOTE: debian.vim sets ' | ||
- | " options, so any other options should be set AFTER setting ' | ||
- | "set compatible | ||
- | |||
- | " Vim5 and later versions support syntax highlighting. Uncommenting the next | ||
- | " line enables syntax highlighting by default. | ||
- | syntax on | ||
- | |||
- | " If using a dark background within the editing area and syntax highlighting | ||
- | " turn on this option as well | ||
- | set background& | ||
- | |||
- | " Uncomment the following to have Vim jump to the last position when | ||
- | " reopening a file | ||
- | "if has(" | ||
- | " | ||
- | " | ||
- | "endif | ||
- | |||
- | " Uncomment the following to have Vim load indentation rules and plugins | ||
- | " according to the detected filetype. | ||
- | "if has(" | ||
- | " | ||
- | "endif | ||
- | |||
- | " The following are commented out as they cause vim to behave a lot | ||
- | " differently from regular Vi. They are highly recommended though. | ||
- | "set showcmd | ||
- | "set showmatch | ||
- | "set ignorecase | ||
- | "set smartcase | ||
- | "set incsearch | ||
- | "set autowrite | ||
- | "set hidden | ||
- | "set mouse=a | ||
- | set number | ||
- | set cursorline | ||
- | highlight CursorLine ctermbg=grey | ||
- | |||
- | " Source a global configuration file if available | ||
- | " XXX Deprecated, please move your changes here in / | ||
- | if filereadable("/ | ||
- | source / | ||
- | endif | ||
- | |||
- | </ | ||
- | Il en est de multiples exemples bien plus élaborés qu' | ||
- | |||
- | ===== Installation de MC (midnight commander) ===== | ||
- | |||
- | '' | ||
- | |||
- | # aptitude install mc | ||
- | |||
- | == Note : == | ||
- | |||
- | '' | ||
- | | ||
- | //Mais à quoi bon que '' | ||
- | |||
- | ===== Gestion des priorités - le fichier preferences ===== | ||
- | |||
- | * Créez et éditez le fichier des '' | ||
- | |||
- | # vim / | ||
- | |||
- | * Et écrivez : | ||
- | |||
- | Package: * | ||
- | Pin: release o=Debian, | ||
- | Pin-priority: | ||
- | | ||
- | Package: * | ||
- | Pin: release o=Unofficial Multimedia Packages, | ||
- | Pin-priority: | ||
- | | ||
- | Package: * | ||
- | Pin: release o=Backports.org archive, | ||
- | Pin-priority: | ||
- | |||
- | Les priorités peuvent être vérifiées avec la commande : | ||
- | |||
- | # apt-cache policy | ||
- | |||
- | ===== Configurations des premiers outils ===== | ||
- | |||
- | ==== Complétion avec bash ==== | ||
- | |||
- | === Installation === | ||
- | |||
- | Installer les paquets nécessaires : | ||
- | |||
- | $ sudo aptitude install bash-completion | ||
- | |||
- | === Configuration === | ||
- | |||
- | Editez le fichier '' | ||
- | |||
- | # vim / | ||
- | |||
- | Les lignes suivantes ne doivent pas être commentées : | ||
- | |||
- | < | ||
- | . / | ||
- | fi | ||
- | </ | ||
- | ===== Configuration du réseau ===== | ||
A suivre ici pour les premières applications et configurations d' | A suivre ici pour les premières applications et configurations d' | ||
[[debian: | [[debian: |