Outils pour utilisateurs

Outils du site


installfreebsd

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
installfreebsd [2019/03/24 11:19] – [Installation de freeBSD 12] cyrilleinstallfreebsd [2019/03/25 07:35] – [Arduino] cyrille
Ligne 158: Ligne 158:
  
 <code bash> pkg install  wifimgr</code> <code bash> pkg install  wifimgr</code>
 +===== Devices : permissions =====
 +Permettra en autres l'accès aux périphériques amovibles (CDR,DVD). Nécessaire pour xfburner par exemple.
 +
 +<code bash>cat /etc/devfs.conf
 +
 +    # Allow all users to access optical media
 +    perm    /dev/acd0       0666
 +    perm    /dev/acd1       0666
 +    perm    /dev/cd0        0666
 +    perm    /dev/cd1        0666
 +     
 +    # Allow all USB Devices to be mounted
 +    perm    /dev/da0        0666
 +    perm    /dev/da1        0666
 +    perm    /dev/da2        0666
 +    perm    /dev/da3        0666
 +    perm    /dev/da4        0666
 +    perm    /dev/da5        0666
 +     
 +    # Misc other devices
 +    perm    /dev/pass0      0666
 +    perm    /dev/xpt0       0666
 +    perm    /dev/uscanner0  0666
 +    perm    /dev/video0     0666
 +    perm    /dev/tuner0     0666
 +    perm    /dev/dvb/adapter0/demux0    0666
 +    perm    /dev/dvb/adapter0/dvr       0666
 +    perm    /dev/dvb/adapter0/frontend0 0666
 +</code>
 +
 +<code bash>cat /etc/devfs.rules
 +
 +    [devfsrules_common=7]
 +    add path 'ad[0-9]\*' mode 666
 +    add path 'ada[0-9]\*' mode 666
 +    add path 'da[0-9]\*' mode 666
 +    add path 'acd[0-9]\*' mode 666
 +    add path 'cd[0-9]\*' mode 666
 +    add path 'mmcsd[0-9]\*' mode 666
 +    add path 'pass[0-9]\*' mode 666
 +    add path 'xpt[0-9]\*' mode 666
 +    add path 'ugen[0-9]\*' mode 666
 +    add path 'usbctl' mode 666
 +    add path 'usb/\*' mode 666
 +    add path 'lpt[0-9]\*' mode 666
 +    add path 'ulpt[0-9]\*' mode 666
 +    add path 'unlpt[0-9]\*' mode 666
 +    add path 'fd[0-9]\*' mode 666
 +    add path 'uscan[0-9]\*' mode 666
 +    add path 'video[0-9]\*' mode 666
 +    add path 'tuner[0-9]*'  mode 666
 +    add path 'dvb/\*' mode 666
 +    add path 'cx88*' mode 0660
 +    add path 'cx23885*' mode 0660 # CX23885-family stream configuration device
 +    add path 'iicdev*' mode 0660
 +    add path 'uvisor[0-9]*' mode 0660</code>
 +    
 +Mettre à jour le **/etc/rc.conf** avec cette entrée
 +
 +<code bash>devfs_system_ruleset="devfsrules_common"</code>
 +
 +Prendre en compte les modifications sans rebooter
 +<code bash>/etc/rc.d/devfs restart</code>
 +
 +
 +
 =====X11 / XFCE===== =====X11 / XFCE=====
  
Ligne 649: Ligne 715:
 add path usbctl mode 0660 group operator add path usbctl mode 0660 group operator
 add path 'usb/*' mode 0660 group operator add path 'usb/*' mode 0660 group operator
-add path 'ugen*' mode 0660 group operator+add path 'ugen*' mode 0660 group operator</code>
  
 Prise en compte des changements Prise en compte des changements
Ligne 722: Ligne 788:
  
  
-Attention ne pas changer le shell du root +<WRAP center round important 60%> 
 +Attention ne pas changer le shell du root 
 +</WRAP> 
 + 
  
  
Ligne 758: Ligne 827:
 fi fi
 </code> </code>
 +
 +===== SSD Config =====
 +Rien d'extraorinaire à faire, juste **activer le trim** sur les partitions montées
 +Chez moi ada0p2 (**/**) et ada0p4 (**/home**)
 +
 +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</code>
 +
 +Rebooter
 +
 +Vérfier que ce soit pris en compte
 + <code bash>tunefs -p /dev/ada0p4 | grep trim
 +tunefs: POSIX.1e ACLs: (-a)                                disabled
 +tunefs: NFSv4 ACLs: (-N)                                   disabled
 +tunefs: MAC multilabel: (-l)                               disabled
 +tunefs: soft updates: (-n)                                 enabled
 +tunefs: soft update journaling: (-j)                       enabled
 +tunefs: gjournal: (-J)                                     disabled
 +tunefs: trim: (-t)                                         enabled
 +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)                                 
 +</code>
 +
 +
 +
  
 =====Sources===== =====Sources=====
Ligne 768: Ligne 869:
   *[[https://www.tecmint.com/things-to-do-after-installing-freebsd/|Post installation freeBSD laptop]]   *[[https://www.tecmint.com/things-to-do-after-installing-freebsd/|Post installation freeBSD laptop]]
   *[[https://www.cyberciti.biz/faq/freebsd-bash-installation/|FreeBSD Install BASH Shell Using pkg command]]   *[[https://www.cyberciti.biz/faq/freebsd-bash-installation/|FreeBSD Install BASH Shell Using pkg command]]
- +  *[[https://cooltrainer.org/a-freebsd-desktop-howto/|A FreeBSD 11 Desktop How-to]]
 Et surtout Et surtout
   *[[https://www.freebsd.org/| Site FreeBSD]]   *[[https://www.freebsd.org/| Site FreeBSD]]
   *[[https://forums.freebsd.org/|Forums FreeBSD]]   *[[https://forums.freebsd.org/|Forums FreeBSD]]
   *[[https://www.freebsd.org/doc/fr/books/handbook/|HandBook Français de FreeBSD]]   *[[https://www.freebsd.org/doc/fr/books/handbook/|HandBook Français de FreeBSD]]
installfreebsd.txt · Dernière modification : 2020/06/06 17:12 de cyrille