debian
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édente | ||
debian [2017/08/24 09:23] – [Articles] simon | debian [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Debian ====== | ||
- | J' | ||
- | |||
- | ===== Installation ===== | ||
- | On peut télécharger la [[https:// | ||
- | |||
- | Pour une installation en 64bits sur un ordinateur " | ||
- | |||
- | <code bash> | ||
- | marc@pc-Parents: | ||
- | NAME | ||
- | sda 8:0 0 74,5G 0 disk | ||
- | ├─sda1 | ||
- | ├─sda2 | ||
- | └─sda5 | ||
- | sdb 8:16 | ||
- | └─sdb1 | ||
- | sr0 | ||
- | |||
- | marc@pc-Parents: | ||
- | Mot de passe : | ||
- | |||
- | root@pc-Parents:/ | ||
- | |||
- | root@pc-Parents:/ | ||
- | NAME | ||
- | sda 8:0 0 74,5G 0 disk | ||
- | ├─sda1 | ||
- | ├─sda2 | ||
- | └─sda5 | ||
- | sdb 8:16 | ||
- | └─sdb1 | ||
- | sr0 | ||
- | |||
- | root@pc-Parents:/ | ||
- | GNU ddrescue 1.19 | ||
- | |||
- | Press Ctrl-C to interrupt | ||
- | rescued: | ||
- | | ||
- | | ||
- | Finished | ||
- | </ | ||
- | |||
- | ==== Avec cp ==== | ||
- | La [[https:// | ||
- | |||
- | ===== Configurations ===== | ||
- | ==== WiFi ==== | ||
- | Les vieux portables que j' | ||
- | |||
- | Première chose : Identifier le(s) firmare(s) manquant(s) : | ||
- | <code bash> | ||
- | # dmesg | grep iwlwifi | ||
- | [ | ||
- | [ | ||
- | [ | ||
- | [ | ||
- | </ | ||
- | |||
- | On télécharge les firmware depuis [[https:// | ||
- | <code bash> | ||
- | root@laptop:/ | ||
- | root@laptop:/ | ||
- | root@laptop:/ | ||
- | root@laptop:/ | ||
- | </ | ||
- | |||
- | On décompresse : | ||
- | <code bash> | ||
- | root@laptop:/ | ||
- | iwlwifi-3945-ucode-15.32.2.9.tgz | ||
- | root@laptop:/ | ||
- | iwlwifi-3945-ucode-15.32.2.9/ | ||
- | iwlwifi-3945-ucode-15.32.2.9/ | ||
- | iwlwifi-3945-ucode-15.32.2.9/ | ||
- | iwlwifi-3945-ucode-15.32.2.9/ | ||
- | root@laptop:/ | ||
- | iwlwifi-3945-ucode-2.14.1.5/ | ||
- | iwlwifi-3945-ucode-2.14.1.5/ | ||
- | iwlwifi-3945-ucode-2.14.1.5/ | ||
- | iwlwifi-3945-ucode-2.14.1.5/ | ||
- | </ | ||
- | |||
- | On déplace ensuite les firmwares au bon endroit : | ||
- | <code bash> | ||
- | root@laptop:/ | ||
- | root@laptop:/ | ||
- | root@laptop:/ | ||
- | hp iwlwifi-3945-1.ucode | ||
- | </ | ||
- | |||
- | ==== Openbox ==== | ||
- | J'ai décidé de tester [[Openbox]] car on le dit très léger et que mes machines sont vieillissantes. | ||
- | |||
- | ==== Activation de la complétion dans le terminal ==== | ||
- | Si '' | ||
- | <code bash> | ||
- | # apt-get update && apt-get install bash-completion | ||
- | </ | ||
- | |||
- | Ensuite, on va l' | ||
- | <code bash> | ||
- | # nano / | ||
- | (...) | ||
- | # enable bash completion in interactive shells | ||
- | if ! shopt -oq posix; then | ||
- | if [ -f / | ||
- | . / | ||
- | elif [ -f / | ||
- | . / | ||
- | fi | ||
- | fi | ||
- | (...) | ||
- | </ | ||
- | |||
- | === Source === | ||
- | * [[http:// | ||
- | |||
- | ==== Articles ==== | ||
- | Configurations qui nécessitent un article entier. | ||
- | |||
- | * [[Ajouter un disque dur sur un VPS]] | ||
- | * [[Installer et maintenir flash]] | ||
- | * [[Configuration d'un VPS]] | ||
- | |||
- | ===== Mise à jour vers une version majeure ===== | ||
- | Il " | ||
- | <code bash> | ||
- | # cat / | ||
- | deb http:// | ||
- | deb http:// | ||
- | |||
- | # sed -i ' | ||
- | |||
- | # cat / | ||
- | deb http:// | ||
- | deb http:// | ||
- | </ | ||
- | |||
- | Il faut vérifier qu'on a pas de dépôts tiers ou autres à modifier. Dans mon cas, je n'en ai pas. Ensuite, on peut regarder la liste des choses à mettre à jour : | ||
- | <code bash> | ||
- | # apt update | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | Ign http:// | ||
- | Get:1 http:// | ||
- | Get:2 http:// | ||
- | Get:3 http:// | ||
- | Get:4 http:// | ||
- | Get:5 http:// | ||
- | Get:6 http:// | ||
- | Get:7 http:// | ||
- | Get:8 http:// | ||
- | Fetched 14.8 MB in 6s (2,361 kB/s) | ||
- | Reading package lists... Done | ||
- | Building dependency tree | ||
- | Reading state information... Done | ||
- | 210 packages can be upgraded. Run 'apt list --upgradable' | ||
- | </ | ||
- | </ | ||
- | <code bash> | ||
- | W: There is no public key available for the following key IDs: | ||
- | EF0F382A1A7B6500 | ||
- | </ | ||
- | |||
- | L' | ||
- | <code bash> | ||
- | # apt install debian-archive-keyring | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | Reading package lists... Done | ||
- | Building dependency tree | ||
- | Reading state information... Done | ||
- | The following packages will be upgraded: | ||
- | debian-archive-keyring | ||
- | 1 upgraded, 0 newly installed, 0 to remove and 209 not upgraded. | ||
- | Need to get 56.4 kB of archives. | ||
- | After this operation, 10.2 kB of additional disk space will be used. | ||
- | Get:1 http:// | ||
- | Fetched 56.4 kB in 0s (1,286 kB/s) | ||
- | debconf: delaying package configuration, | ||
- | (Reading database ... 15921 files and directories currently installed.) | ||
- | Preparing to unpack .../ | ||
- | Unpacking debian-archive-keyring (2017.5) over (2014.3) ... | ||
- | Setting up debian-archive-keyring (2017.5) ... | ||
- | Removing obsolete conffile / | ||
- | Removing obsolete conffile / | ||
- | </ | ||
- | </ | ||
- | |||
- | On peut alors relancer un '' | ||
- | <code bash> | ||
- | # apt update | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | Ign http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Hit http:// | ||
- | Reading package lists... Done | ||
- | Building dependency tree | ||
- | Reading state information... Done | ||
- | 209 packages can be upgraded. Run 'apt list --upgradable' | ||
- | </ | ||
- | </ | ||
- | |||
- | Dernière étape : Mettre à jour complètement ! | ||
- | <code bash> | ||
- | # apt full-upgrade | ||
- | </ |