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édenteProchaine révisionLes deux révisions suivantes | ||
installfreebsd [2019/03/10 15:10] – [Sources] cyrille | installfreebsd [2019/03/24 10:41] – [WINE] cyrille | ||
---|---|---|---|
Ligne 61: | Ligne 61: | ||
Le recharger | Le recharger | ||
- | <code bash> | + | <code bash> |
=====Initialisation de pkg===== | =====Initialisation de pkg===== | ||
Ligne 69: | Ligne 69: | ||
=====AJOUTER un user===== | =====AJOUTER un user===== | ||
<code bash># adduser</ | <code bash># adduser</ | ||
- | L’inclure dans les groupes : wheel operator video | + | L’inclure dans les groupes : |
Ligne 75: | Ligne 75: | ||
=====Gestion du son===== | =====Gestion du son===== | ||
- | <code bash># | + | <code bash># kldload snd_driver</ |
<code bash>cat / | <code bash>cat / | ||
Installed devices: | Installed devices: | ||
Ligne 85: | Ligne 85: | ||
No devices installed from userspace.</ | No devices installed from userspace.</ | ||
- | <code bash># | + | <code bash># sysrc kld_list+=snd_hda</ |
Ligne 103: | Ligne 103: | ||
+ | ===== 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 | ||
=====X11 / XFCE===== | =====X11 / XFCE===== | ||
Ligne 111: | Ligne 150: | ||
====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 161: | ||
} | } | ||
}); | }); | ||
+ | </ | ||
- | 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 172: | ||
});</ | });</ | ||
+ | puis | ||
+ | <code bash> | ||
Ligne 159: | Ligne 198: | ||
/ | / | ||
+ | Lier xinitrc et xsession | ||
+ | <code bash> ln -s ~/.xinitrc ~/ | ||
Enfin lancer la session X | Enfin lancer la session X | ||
<code bash> | <code bash> | ||
- | |||
- | Lier xinitrc et xsession | ||
- | <code bash> ln -s ~/.xinitrc ~/ | ||
Pour démarrer la session de XFCE, j'ai choisi la façon manuelle sinon on peut passer, entre autre par SLIM. | Pour démarrer la session de XFCE, j'ai choisi la façon manuelle sinon on peut passer, entre autre par SLIM. | ||
Ligne 177: | Ligne 215: | ||
====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 552: | Ligne 590: | ||
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 605: | Ligne 646: | ||
=====DUAL BOOT freeBSD / Linux===== | =====DUAL BOOT freeBSD / Linux===== | ||
- | J' | + | J' |
<code bash>$ sudo fdisk -l | <code bash>$ sudo fdisk -l | ||
Ligne 654: | Ligne 695: | ||
</ | </ | ||
- | Rebooter et vous verrez | + | Rebooter et la nouvelle entrée |
+ | |||
+ | ===== Bash ===== | ||
+ | |||
+ | <code bash># chsh -s / | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <code bash>cat / | ||
+ | ## append the following to /etc/fstab file ## | ||
+ | fdesc / | ||
+ | |||
+ | <code bash>add the following to your ~/.bashrc or ~/ | ||
+ | [[ $PS1 && -f / | ||
+ | . / | ||
+ | |||
+ | |||
+ | <code bash># pkg install bash-completion</ | ||
=====Sources===== | =====Sources===== | ||
Ligne 664: | Ligne 727: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
+ | *[[https:// | ||