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 | ||
| installfreebsd [2019/03/10 15:46] – [Démarrer xfce] cyrille | installfreebsd [2020/06/06 15:12] (Version actuelle) – [Pour la monter un [ DVD | CD ]] cyrille | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ======Installation de freeBSD 12====== | + | ======Installation de freeBSD 12.0 / 12.1 ====== |
| Sur laptop, DELL Latitude E5430 et DELL Latitude E6410 | Sur laptop, DELL Latitude E5430 et DELL Latitude E6410 | ||
| + | |||
| + | Testé avec un schéma de partition UFS et ZFS, en mode UEFI et LEGACY. | ||
| + | |||
| + | |||
| ===== Installation ===== | ===== Installation ===== | ||
| Ligne 53: | Ligne 57: | ||
| : | : | ||
| : | : | ||
| - | :lang=fr-FR.UTF-8:\ | + | :lang=fr_FR.UTF-8:\ |
| : | : | ||
| Ajouter pour que les locales soient prises en compte | Ajouter pour que les locales soient prises en compte | ||
| <code bash> | <code bash> | ||
| - | :lang=fr-FR.UTF-8: | + | :lang=fr_FR.UTF-8: |
| Le recharger | Le recharger | ||
| Ligne 70: | Ligne 74: | ||
| <code bash># adduser</ | <code bash># adduser</ | ||
| L’inclure dans les groupes : **wheel operator video** | L’inclure dans les groupes : **wheel operator video** | ||
| + | |||
| + | Editer .login_conf | ||
| + | |||
| + | <code bash> | ||
| + | [ragnarok@asgard-freebsd: | ||
| + | # $FreeBSD: releng/ | ||
| + | # | ||
| + | # see login.conf(5) | ||
| + | # | ||
| + | me:\ | ||
| + | : | ||
| + | : | ||
| Ligne 103: | Ligne 119: | ||
| + | ===== Network Manager ===== | ||
| + | |||
| + | |||
| + | ==== Network Manager ==== | ||
| + | |||
| + | |||
| + | <code bash>pkg show networkmgr | ||
| + | WWW : https:// | ||
| + | Comment | ||
| + | Annotations | ||
| + | repo_type | ||
| + | repository | ||
| + | Flat size : 1.71MiB | ||
| + | Description | ||
| + | NetworkMgr is an open source, Network Manager based on the look of the Linux | ||
| + | Network Manager user interface. It use ifconfig and netif if make all work. | ||
| + | </ | ||
| + | |||
| + | Il faudra ensuite configurer DOA pour que ça fonctionne | ||
| + | |||
| + | <code bash>cat / | ||
| + | |||
| + | permit nopass keepenv root | ||
| + | permit : | ||
| + | permit nopass keepenv :wheel cmd netcardmgr | ||
| + | permit nopass keepenv :wheel cmd ifconfig | ||
| + | permit nopass keepenv :wheel cmd service</ | ||
| + | |||
| + | Se delogguer, l' | ||
| + | |||
| + | |||
| + | Gestion de la connexion par ce fichier | ||
| + | |||
| + | <code bash> cat / | ||
| + | |||
| + | {{ :: | ||
| + | |||
| + | ==== CLI graphique de gestion ==== | ||
| + | |||
| + | <code bash> pkg install | ||
| + | |||
| + | {{ :: | ||
| + | ===== Devices : permissions ===== | ||
| + | Permettra en autres l' | ||
| + | |||
| + | <code bash>cat / | ||
| + | |||
| + | # Allow all users to access optical media | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | |||
| + | # Allow all USB Devices to be mounted | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | |||
| + | # Misc other devices | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | perm / | ||
| + | </ | ||
| + | |||
| + | <code bash>cat / | ||
| + | |||
| + | [devfsrules_common=7] | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | add path ' | ||
| + | | ||
| + | Mettre à jour le **/ | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | Prendre en compte les modifications sans rebooter | ||
| + | <code bash>/ | ||
| + | |||
| + | ===== Pour la lecture des DVD ===== | ||
| + | Il faudra penser à installer le paquet libdvdcss | ||
| + | |||
| + | <code bash># pkg install libdvdcss</ | ||
| + | |||
| + | |||
| + | ===== Pour la monter un [ DVD | CD ] ===== | ||
| + | <code bash> | ||
| + | Retournera le device | ||
| + | un cd | ||
| + | <code bash> | ||
| + | un dvd | ||
| + | <code bash> | ||
| + | |||
| + | (PS besoin de monter le DVD sous VLC, il le gère) | ||
| + | |||
| + | Pour ejecter le CD | DVD | ||
| + | <code bash> | ||
| + | ===== Powerd++ ===== | ||
| + | Gestion des processeurs multicores. | ||
| + | |||
| + | Desinstaller **powerd** | ||
| + | |||
| + | <code bash># service powerd stop | ||
| + | Stopping powerd. | ||
| + | Waiting for PIDS: 50127. | ||
| + | # service powerd disable | ||
| + | powerd disabled in / | ||
| + | |||
| + | Ensuite on peut installer et lancer **powerd++** : | ||
| + | <code bash># service powerdxx enable | ||
| + | powerdxx enabled in / | ||
| + | # service powerdxx start | ||
| + | Starting powerdxx.</ | ||
| =====X11 / XFCE===== | =====X11 / XFCE===== | ||
| Ligne 111: | Ligne 267: | ||
| ====Pour activer le suspend et resume ==== | ====Pour activer le suspend et resume ==== | ||
| Créer ces 2 fichiers | Créer ces 2 fichiers | ||
| - | <code bash>pkg info -D xfce4-session | ||
| - | xfce4-session-4.12.1_4: | ||
| - | Always: | ||
| - | To be able to shutdown or reboot your system, you'll have to add .rules | ||
| - | files in / | ||
| - | like this (replace PUTYOURGROUPHERE by your group): | ||
| - | polkit.addRule(function (action, subject) { | + | **/ |
| + | |||
| + | |||
| + | <code bash>polkit.addRule(function (action, subject) { | ||
| if ((action.id == " | if ((action.id == " | ||
| action.id == " | action.id == " | ||
| Ligne 125: | Ligne 278: | ||
| } | } | ||
| }); | }); | ||
| + | </ | ||
| - | For those who have working suspend/resume: | + | **/usr/ |
| - | polkit.addRule(function (action, subject) { | + | <code bash>polkit.addRule(function (action, subject) { |
| if (action.id == " | if (action.id == " | ||
| && subject.isInGroup(" | && subject.isInGroup(" | ||
| Ligne 135: | Ligne 289: | ||
| });</ | });</ | ||
| + | puis | ||
| + | <code bash> | ||
| Ligne 145: | Ligne 301: | ||
| <code bash>Pkg install dbus | <code bash>Pkg install dbus | ||
| service dbus onestart</ | service dbus onestart</ | ||
| + | |||
| + | Démarrage auttomatique, | ||
| + | <code bash>cat / | ||
| + | dbus_enable=" | ||
| On utilisera xinit pour le lacement de XFCE | On utilisera xinit pour le lacement de XFCE | ||
| Ligne 176: | Ligne 336: | ||
| ====anti-aliasing avec la police Helvetica===== | ====anti-aliasing avec la police Helvetica===== | ||
| - | Editer ce fichier ainsi | + | Editer ce fichier ainsi : **/ |
| <code bash><? | <code bash><? | ||
| < | < | ||
| Ligne 359: | Ligne 519: | ||
| =====Monter les périphériques amovibles===== | =====Monter les périphériques amovibles===== | ||
| Attention la version d’automount des repos ne permet pas de monter du FAT32. Utiliser cette procédure. | Attention la version d’automount des repos ne permet pas de monter du FAT32. Utiliser cette procédure. | ||
| + | |||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | Attention sous FreeBSD **12.1**, | ||
| + | </ | ||
| ====Installer git==== | ====Installer git==== | ||
| Ligne 408: | Ligne 573: | ||
| Et hop, ça fonctionne…... | Et hop, ça fonctionne…... | ||
| + | ===== Gérer le log d' | ||
| + | A la base je n' | ||
| + | Il faut donc utiliser [[https:// | ||
| + | |||
| + | <code bash>su - | ||
| + | cd / | ||
| + | nano automount.conf</ | ||
| + | |||
| + | avec le contenu suivant : | ||
| + | <code bash># newsyslog for automount | ||
| + | # Cyrille | ||
| + | / | ||
| + | |||
| + | Dès lors une archive sera créée dès que le log sera supérieur à 1 000Kb et 7 archives seront conservées. | ||
| =====Dropbox===== | =====Dropbox===== | ||
| + | |||
| + | <WRAP center round info 60%> | ||
| + | J'ai laissé tomber **dropbox**. | ||
| + | J'ai opté pour l' | ||
| + | Fait très bien le travail demandé ;) | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| Pas de portage Dropbox sous freeBSD | Pas de portage Dropbox sous freeBSD | ||
| Le kernel de freeBSD ne prend pas en charge **inotify** donc pas de dropbox... En tout cas dropbox ne fournit pas de client freeBSD. Reste à trouver une alternative ou utiliser wine et le client windows (parait il)... Il y aussi [[https:// | Le kernel de freeBSD ne prend pas en charge **inotify** donc pas de dropbox... En tout cas dropbox ne fournit pas de client freeBSD. Reste à trouver une alternative ou utiliser wine et le client windows (parait il)... Il y aussi [[https:// | ||
| Ligne 551: | Ligne 739: | ||
| Puis peaufinage via | Puis peaufinage via | ||
| <code bash>$ winecfg</ | <code bash>$ winecfg</ | ||
| + | |||
| + | Accepter tout ce qu'il propose de télécharger et installer. | ||
| + | |||
| Fonctionne nickel, mais les polices sont vraiment bizarres. | Fonctionne nickel, mais les polices sont vraiment bizarres. | ||
| Ligne 569: | Ligne 760: | ||
| </ | </ | ||
| + | |||
| + | ===== XFCE / Archives ===== | ||
| + | Si vous avez le message d' | ||
| + | |||
| + | <code bash>pkg install xarchiver</ | ||
| =====Arduino===== | =====Arduino===== | ||
| Ligne 579: | Ligne 775: | ||
| # sudo pw groupmod dialer -m $USER</ | # sudo pw groupmod dialer -m $USER</ | ||
| - | Donner l' | + | Donner l' |
| # cat / | # cat / | ||
| # | # | ||
| Ligne 587: | Ligne 783: | ||
| add path usbctl mode 0660 group operator | add path usbctl mode 0660 group operator | ||
| add path ' | add path ' | ||
| - | add path ' | + | add path ' |
| Prise en compte des changements | Prise en compte des changements | ||
| Ligne 601: | Ligne 797: | ||
| {{ :: | {{ :: | ||
| + | |||
| + | |||
| + | ===== Bash ===== | ||
| + | |||
| + | ==== bash comme shell par défaut ==== | ||
| + | |||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | Attention ne pas changer le shell du root | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | <code bash># chsh -s / | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | |||
| + | |||
| + | |||
| + | __Cas d'un système UFS__ | ||
| + | <code bash>cat /etc/fstab | ||
| + | ## append the following to /etc/fstab file ## | ||
| + | fdesc / | ||
| + | |||
| + | __Cas d'un système ZFS__ (**fdescfs** doit être monté après la racine zfs) | ||
| + | <code bash>cat /etc/fstab | ||
| + | ## append the following to /etc/fstab file ## | ||
| + | fdesc / | ||
| + | |||
| + | ==== Autocomplétion ==== | ||
| + | <code bash>add the following to your ~/.bashrc or ~/ | ||
| + | [[ $PS1 && -f / | ||
| + | . / | ||
| + | |||
| + | |||
| + | <code bash># pkg install bash-completion</ | ||
| + | |||
| + | ==== Alias ==== | ||
| + | Créer un fichier **.bash_aliases** | ||
| + | touch .bash_aliases | ||
| + | Et y mettre ses alias. Si non fait, insérer cette section dans le .bashrc | ||
| + | <code bash># Alias definitions. | ||
| + | # You may want to put all your additions into a separate file like | ||
| + | # ~/ | ||
| + | # See / | ||
| + | if [ -f ~/ | ||
| + | . ~/ | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | ===== VirtualBox ===== | ||
| + | Jeter un oeil : [[freebsdvirtualbox|VirtualBox sous freeBSD]] | ||
| Ligne 655: | Ligne 904: | ||
| Rebooter et la nouvelle entrée est fonctionnelle dans le grub. | Rebooter et la nouvelle entrée est fonctionnelle dans le grub. | ||
| - | =====Sources===== | + | ===== SSD Config [UFS] ===== |
| + | Rien d' | ||
| + | Chez moi ada0p2 (**/**) et ada0p4 (**/ | ||
| + | |||
| + | Rebooter et démarrer en mode :** Boot Single User** (le n°2). (Il ne faut pas que les partitions soient montées) | ||
| + | <code bash> | ||
| + | tunefs -t enable ada0p2 | ||
| + | tunefs -t enable ada0p4</ | ||
| + | |||
| + | Rebooter | ||
| + | |||
| + | Vérfier que ce soit pris en compte | ||
| + | < | ||
| + | tunefs: POSIX.1e ACLs: (-a) disabled | ||
| + | tunefs: NFSv4 ACLs: (-N) | ||
| + | tunefs: MAC multilabel: (-l) | ||
| + | tunefs: soft updates: (-n) | ||
| + | tunefs: soft update journaling: (-j) | ||
| + | tunefs: gjournal: (-J) | ||
| + | tunefs: trim: (-t) | ||
| + | tunefs: maximum blocks per file in a cylinder group: (-e) 4096 | ||
| + | tunefs: average file size: (-f) 16384 | ||
| + | tunefs: average number of files in a directory: (-s) 64 | ||
| + | tunefs: minimum percentage of free space: (-m) 8% | ||
| + | tunefs: space to hold for metadata blocks: (-k) 6408 | ||
| + | tunefs: optimization preference: (-o) time | ||
| + | tunefs: volume label: (-L) | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Problème de boot UFS ===== | ||
| + | Pour schéma de disque **UFS** | ||
| + | Au boot du système, j' | ||
| + | " | ||
| + | Une pression sur ENTER lançait cependant le système. | ||
| + | Voici la marche suivit par régler le problème (déclarer // | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | |||
| + | => | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 440401960 | ||
| + | |||
| + | Dans un premier temps, régénérer le secteur de boot | ||
| + | <code bash>cd /boot | ||
| + | gpart bootcode -b pmbr -p gptboot -i1 ada0</ | ||
| + | |||
| + | Si ne fonctionne touojours pas après un redémarrage, | ||
| + | <code bash> | ||
| + | ******* Working on device /dev/ada0 ******* | ||
| + | parameters extracted from in-core disklabel are: | ||
| + | cylinders=465141 heads=16 sectors/ | ||
| + | Figures below won't work with BIOS for partitions not in cyl 1 | ||
| + | parameters to be used for BIOS calculations are: | ||
| + | cylinders=465141 heads=16 sectors/ | ||
| + | Media sector size is 512 | ||
| + | Warning: BIOS sector numbering starts with sector 1 | ||
| + | Information from DOS bootblock is: | ||
| + | The data for partition 1 is: | ||
| + | sysid 238 (0xee),(EFI GPT) | ||
| + | start 1, size 468862127 (228936 Meg), flag 0 | ||
| + | beg: cyl 0/ head 0/ sector 2; | ||
| + | end: cyl 1023/ head 255/ sector 63 | ||
| + | |||
| + | The data for partition 2 is: | ||
| + | < | ||
| + | The data for partition 3 is: | ||
| + | < | ||
| + | The data for partition 4 is: | ||
| + | < | ||
| + | Do you want to change the active partition? [n] y | ||
| + | Supply a decimal value for " | ||
| + | |||
| + | On précise le numéro de la partition où booter et valide le reste. | ||
| + | |||
| + | On reboote et ça devrait passer | ||
| + | |||
| + | ===== ZFS Configuration ===== | ||
| + | Si vous avez choisi cette option, vous devriez avoir cette sortie. | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | [ragnarok@asgard-freeBSD: | ||
| + | NAME | ||
| + | zroot | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | NAME PROPERTY | ||
| + | zroot | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | zroot/ | ||
| + | </ | ||
| + | |||
| + | Si problème de montage au boot, vérifier que **/ | ||
| + | <code bash> | ||
| + | |||
| + | |||
| + | Normalement le TRIM est pris en compte par défaut | ||
| + | <code bash> | ||
| + | vfs.zfs.trim.max_interval: | ||
| + | vfs.zfs.trim.timeout: | ||
| + | vfs.zfs.trim.txg_delay: | ||
| + | vfs.zfs.trim.enabled: | ||
| + | <code bash> | ||
| + | kstat.zfs.misc.zio_trim: | ||
| + | kstat.zfs.misc.zio_trim.failed: | ||
| + | kstat.zfs.misc.zio_trim.unsupported: | ||
| + | kstat.zfs.misc.zio_trim.success: | ||
| + | kstat.zfs.misc.zio_trim.bytes: | ||
| + | <code bash> | ||
| + | kern.cam.nda.max_trim: | ||
| + | kstat.zfs.misc.zio_trim.failed: | ||
| + | kstat.zfs.misc.zio_trim.unsupported: | ||
| + | kstat.zfs.misc.zio_trim.success: | ||
| + | kstat.zfs.misc.zio_trim.bytes: | ||
| + | </ | ||
| + | |||
| + | |||
| + | OPtimisation en lecture / écriture | ||
| + | (mais tout dépend de l' | ||
| + | <code bash> | ||
| + | zpool add ' | ||
| + | |||
| + | |||
| + | ===== Gestion des fichiers core ===== | ||
| + | ==== core générés par le kernel ==== | ||
| + | Dans **__/ | ||
| + | Ajouter cette option | ||
| + | <code bash> kern.coredump=0</ | ||
| + | Ou celle-ci : Reroutage des fichiers core | ||
| + | <code bash> | ||
| + | |||
| + | OU | ||
| + | | ||
| + | |||
| + | |||
| + | ==== core générés par les applications ==== | ||
| + | |||
| + | |||
| + | |||
| + | CSH | ||
| + | limit coredumpsize 0 dans **/ | ||
| + | |||
| + | BASH | ||
| + | |||
| + | |||
| + | ulimit -c 0 dans **.bash_profile** | ||
| + | |||
| + | ===== Gestion des paquets PKG ===== | ||
| + | |||
| + | ==== Gestion des mises à jour (PKG) ==== | ||
| + | |||
| + | Récupérer la liste des mises à jour | ||
| + | <code bash># pkg update</ | ||
| + | |||
| + | |||
| + | La déployer | ||
| + | <code bash># pkg upgrade</ | ||
| + | |||
| + | |||
| + | ==== Geler / dégeler un paquet ==== | ||
| + | | ||
| + | <code bash># pkg | ||
| + | Geler un paquet === | ||
| + | <code bash># pkg lock -y LePaquet</ | ||
| + | Dégeler un paquet | ||
| + | <code bash># pkg unlock LePaquet</ | ||
| + | ==== Installer la dernière version des paquets de pkg ==== | ||
| + | |||
| + | Créer ce dossier | ||
| + | <code bash> | ||
| + | |||
| + | et ce fichier | ||
| + | <code bash>cat / | ||
| + | FreeBSD: { | ||
| + | url: " | ||
| + | }</ | ||
| + | |||
| + | Recharger la base de données des paquets | ||
| + | <code bash> pkg upgrade -f</ | ||
| + | |||
| + | Mettre à jour | ||
| + | === Vérfier quel dépôt est utilisé=== | ||
| + | <code bash>pkg -vv</ | ||
| + | === Informations sur pkg=== | ||
| + | <code bash>pkg info pkg</ | ||
| + | |||
| + | ===== Gestion des ports ===== | ||
| + | Pour ceux qui préfèrent compiler les paquets par eux. | ||
| + | |||
| + | ==== via portsnap ==== | ||
| + | |||
| + | |||
| + | Première install | ||
| + | <code bash># portsnap fetch | ||
| + | # portsnap extract</ | ||
| + | |||
| + | Pour les fois suivantes | ||
| + | <code bash># portsnap fetch update</ | ||
| + | |||
| + | Installer un programme | ||
| + | <code bash># cd / | ||
| + | |||
| + | Installer | ||
| + | <code bash># make install clean</ | ||
| + | |||
| + | Le supprimer | ||
| + | <code bash># make deinstall</ | ||
| + | |||
| + | ==== portmaster et mise à jour des ports ==== | ||
| + | Pour mettre à jour les logiciels des ports, le plus simple est d' | ||
| + | <code bash> | ||
| + | # cd / | ||
| + | # make install clean</ | ||
| + | |||
| + | Lister les paquets à mettre à jour | ||
| + | <code bash># portmaster -L</ | ||
| + | |||
| + | Les mettre à jour | ||
| + | <code bash># portmaster -a</ | ||
| + | |||
| + | Portmaster peut aussi être utiliser pour gérer l' | ||
| + | <code bash># portmaster shells/ | ||
| + | |||
| + | |||
| + | ===== Patchs de sécurité ===== | ||
| + | <code bash> | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | These are hardcoded into freebsd-version during the build.</ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | <code bash> | ||
| + | src component not installed, skipped | ||
| + | Looking up update.FreeBSD.org mirrors... 3 mirrors found. | ||
| + | Fetching public key from update4.freebsd.org... done. | ||
| + | Fetching metadata signature for 12.0-RELEASE from update4.freebsd.org... done. | ||
| + | Fetching metadata index... done. | ||
| + | Fetching 2 metadata files... done. | ||
| + | Inspecting system... done. | ||
| + | Preparing to download files... done. | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | src component not installed, skipped | ||
| + | Installing updates... done.</ | ||
| + | <code bash> | ||
| + | root@asgard-freeBSD: | ||
| + | FreeBSD asgard-freeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC | ||
| + | <code bash> | ||
| + | 12.0-RELEASE-p5</ | ||
| + | <code bash> | ||
| + | 12.0-RELEASE-p4</ | ||
| + | |||
| + | |||
| + | ===== Upgrader freeBSD 12.0 à 12.1 ===== | ||
| + | <code bash># freebsd-update fetch | ||
| + | # freebsd-update install | ||
| + | # freebsd-update upgrade -r 12.1-RELEASE | ||
| + | # freebsd-update install</ | ||
| + | |||
| + | A cette étape, rebooter le système : | ||
| + | <code bash># shutdown -r now</ | ||
| + | |||
| + | Après ce reboot, freebsd-update(8) doit être relancer avec les nouveaux composants de l' | ||
| + | |||
| + | <code bash># freebsd-update install</ | ||
| + | |||
| + | A cette étape les utilisateurs sont invités par freebsd-update(8) à reconstruire leurs applications tiers (comme celles compilées depuis les sources (/ | ||
| + | |||
| + | Une fois fait, relancer | ||
| + | |||
| + | <code bash># freebsd-update install</ | ||
| + | |||
| + | Enfin rebboter sous **FreeBSD 12.1-RELEASE** | ||
| + | |||
| + | <code bash># shutdown -r now</ | ||
| + | |||
| + | Une fois rebooter, il est recommandé de régénérer le paquet pkg afin d' | ||
| + | |||
| + | <code bash># pkg-static install -f pkg</ | ||
| + | ===== Sources ===== | ||
| Je n'ai pas pondu tout cela tout seul, j'ai lu pas mal de docs et les forums BSD. | Je n'ai pas pondu tout cela tout seul, j'ai lu pas mal de docs et les forums BSD. | ||
| Voici les sources indispensables à mon avis : | Voici les sources indispensables à mon avis : | ||
| Ligne 663: | Ligne 1234: | ||
| *[[https:// | *[[https:// | ||
| *[[https:// | *[[https:// | ||
| - | + | *[[https:// | |
| + | | ||
| Et surtout | Et surtout | ||
| *[[https:// | *[[https:// | ||
| *[[https:// | *[[https:// | ||
| *[[https:// | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[http:// | ||