====== Debian ======
{{indexmenu>:start:gnu-linux:debian#5}}
[[https://debian-facile.org/doc:systeme:administration|Debian-Facile]]
[[https://lescahiersdudebutant.fr/src/doku.php/accueil|https://lescahiersdudebutant.fr/src/doku.php/accueil]]
https://ascendances.wordpress.com/2017/02/23/frise-chronologique-des-distributions-debian/
https://www.reddit.com/r/debian/comments/365hom/what_are_your_musthave_packages/
===== Dérivée =====
* [[http://www.parsix.org/wiki/WikiStart|http://www.parsix.org/wiki/WikiStart]]
* [[http://www.gnewsense.org/Projects/GNewSenseToMIPS|http://www.gnewsense.org/Projects/GNewSenseToMIPS]]
* [[http://www.elivecd.org|http://www.elivecd.org]]
* [[https://lepouf.info/wine-2-0/|https://lepouf.info/wine-2-0/]]
===== Sources =====
* http://naeh.net/configurer-la-locale-et-lheure-debian/
* http://blog.nicolargo.com/2013/03/mes-5-premieres-minutes-sur-un-serveur-debian.html
* http://www.cyberciti.biz/faq/debian-ubuntu-linux-install-ntpd/
* https://www.guillaume-leduc.fr/configurer-client-ntp-jessie-systemd.htmlRemplacer par chrony + dispatcher
* http://www.it-connect.fr/trash-cli-une-corbeille-sous-linux/
* https://angristan.fr/compiler-noyau-linux-sous-debian-ubuntu/
* https://wiki.debian-fr.xyz/Compiler_et_patcher_son_noyau
* http://verahill.blogspot.fr/2013/04/395-ck-kernel-on-debian-and-patching.html
* https://www.noobunbox.net/serveur/securite/securiser-un-kernel-avec-grsecurity
* http://zurlinux.com/?p=1623
* http://blog.backslasher.net/boot-uuid-without-initramfs.html
* http://jeandamiendurand.free.fr/debian/splashutils/
* https://wiki.debian-fr.xyz/Apt-listbugs
* http://linuxfr.org/nodes/109165/comments/1659835
* https://www.system-linux.eu/index.php?post/2016/06/09/Apres-une-net-intall-Debian-jessie-8
* https://www.linux.com/blog/creating-debian-live-usb-flash-drive-persistence-non-techies
* http://reload.eez.fr/blog:2016:09:16:pvgrub_sur_debian_jessie
* http://blog.niqnutn.com/index.php?article57/mes-logiciels-sur-debian
* https://nos-oignons.net/wiki-admin/Services/Debian/
* http://alterlibriste.free.fr/index.php?post/2017/02/21/Rendre-Debian-stable-moins-obsol%C3%A8te
* https://gitlab.com/dwarmstrong/debian-after-install/-/blob/main/debian-after-install
* https://gitlab.com/dwarmstrong/dotfiles
===== Repositories =====
* [[https://wiki.debian.org/UnofficialRepositories|https://wiki.debian.org/UnofficialRepositories]]
* [[https://debgen.simplylinux.ch|https://debgen.simplylinux.ch]]
* [[https://jxself.org/linux-libre/|https://jxself.org/linux-libre/]]
* [[https://www.fsfla.org/ikiwiki/selibre/linux-libre/|https://www.fsfla.org/ikiwiki/selibre/linux-libre/]]
* [[http://deb-multimedia.org/|http://deb-multimedia.org/]]
* [[https://www.torproject.org/docs/debian.html.en|https://www.torproject.org/docs/debian.html.en]]
* [[https://liquorix.net/|https://liquorix.net/]]
* https://m4lvin.github.io/nextcloud-client-debian-packaging/
* http://neuro.debian.net/
* Samsung Unified Drivers - http://www.bchemnet.com/suldr/
* https://wiki.debian.org/Wayland
* https://www.haguichi.net/
* https://deb.sury.org/
==== Apt-Cacher-NG ====
* Guide pour LAN avec autodetect - https://www.blog-libre.org/2016/01/09/installation-et-configuration-de-apt-cacher-ng/
* Script «proxy not avalaible» - https://askubuntu.com/questions/53443/how-do-i-ignore-a-proxy-if-not-available
* Wiki Debian-XYZ - https://wiki.debian-fr.xyz/Apt-cacher-ng voir bugs.debian
* Ubuntu Guide (advanced configuration) - https://fabianlee.org/2018/02/11/ubuntu-a-centralized-apt-package-cache-using-apt-cacher-ng/
* Basic guide - https://wiki.rockstable.it/apt-cacher-ng
* CentOS Guide - https://www.pitt-pladdy.com/blog/_20150720-132951_0100_Home_Lab_Project_apt-cacher-ng_with_CentOS/
===== Configuration =====
==== Configurer la locale et l'heure ====
Configurer l’heure du système avec le bon fuseau horaire, taper :
''dpkg-reconfigure locales''
Ensuite on passe a l’heure, on tape :
''dpkg-reconfigure tzdata''
Et là on va avoir un écran où il faudra sélectionner « Europe » puis valider, en suite sélectionner « Paris » puis valider.
**Configurer le client NTP avec Systemd** //Remplacer par Chrony//
Avant de démarrer le service, il va falloir dé-commenter la onzième ligne du fichier ''/etc/systemd/timesyncd.conf'' :
''Servers=0.fr.pool.ntp.org 1.fr.pool.ntp.org 2.fr.pool.ntp.org 3.fr.pool.ntp.org''
Sauvegarder. Il ne reste plus qu’à démarrer le service, et à l’activer au démarrage de la machine :
''sudo systemctl start systemd-timesyncd.service; sudo systemctl enable systemd-timesyncd.service''
Puis vérifier :
''sudo systemctl status systemd-timesyncd.service''
==== Hibernation ====
* https://wiki.debian.org/Hibernation
* https://wiki.debian.org/SystemdSuspendSedation
==== SmartCTL ====
https://blog.genma.fr/?Yunohost-Surveiller-l-etat-de-son-disque-dur
==== Auto-Update ====
* [[http://alterlibriste.free.fr/index.php?post/2016/09/12/Mettre-%C3%A0-jour-sans-s-en-occuper|http://alterlibriste.free.fr/index.php?post/2016/09/12/Mettre-%C3%A0-jour-sans-s-en-occuper]]
* [[https://buzut.fr/mise-jour-automatique-de-serveurs-linux/|https://buzut.fr/mise-jour-automatique-de-serveurs-linux/]]
* [[https://help.ubuntu.com/community/AutomaticSecurityUpdates|https://help.ubuntu.com/community/AutomaticSecurityUpdates]]
* [[https://www.howtoforge.com/how-to-configure-automatic-updates-on-debian-wheezy|https://www.howtoforge.com/how-to-configure-automatic-updates-on-debian-wheezy]]
* [[https://wiki.deimos.fr/Cron-apt_:_Installation_des_mises_%C3%A0_jour_de_s%C3%A9curit%C3%A9_automatique|https://wiki.deimos.fr/Cron-apt_:_Installation_des_mises_%C3%A0_jour_de_s%C3%A9curit%C3%A9_automatique]]
* En place sur Serveur pour mail et détail
==== DAVFS2 ====
* [[https://doc.ubuntu-fr.org/davfs2|https://doc.ubuntu-fr.org/davfs2]]
* [[http://bernaerts.dyndns.org/linux/75-debian/62-debian-webdav-share#h4-5-mount-the-webdav-share|http://bernaerts.dyndns.org/linux/75-debian/62-debian-webdav-share#h4-5-mount-the-webdav-share]]
* [[https://wiki.archlinux.org/index.php/fstab#Automount_with_systemd|https://wiki.archlinux.org/index.php/fstab#Automount_with_systemd]]
* [[https://bbs.archlinux.org/viewtopic.php?id=148464|https://bbs.archlinux.org/viewtopic.php?id=148464]]
==== p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module ====
[[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687953|https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687953]]
==== UPnP open ports ====
* [[https://pavelfatin.com/access-your-raspberry-pi-from-anywhere/|https://pavelfatin.com/access-your-raspberry-pi-from-anywhere/]]
* [[http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/|http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/]]
* Simpliest [[http://po-ru.com/diary/using-upnp-igd-for-simpler-port-forwarding/|http://po-ru.com/diary/using-upnp-igd-for-simpler-port-forwarding/]]
==== TextSuggest ====
[[https://github.com/bharadwaj-raju/TextSuggest|https://github.com/bharadwaj-raju/TextSuggest]]
==== Debian downgrade ====
[[http://unix.stackexchange.com/questions/117122/how-to-get-back-from-testing-to-stable-kernel-downgrade|http://unix.stackexchange.com/questions/117122/how-to-get-back-from-testing-to-stable-kernel-downgrade]]
==== Serial Permission ====
[[http://askubuntu.com/questions/58119/changing-permissions-on-serial-port|http://askubuntu.com/questions/58119/changing-permissions-on-serial-port]]
==== Cleaning ====
[[http://blog.ght1pc9kc.fr/Nettoyer-sa-Debian/|http://blog.ght1pc9kc.fr/Nettoyer-sa-Debian/]]
==== Faster apt-get or better ====
* [[https://github.com/ilikenwf/apt-fast|https://github.com/ilikenwf/apt-fast]]
* https://github.com/icy/pacapt
* https://yeuxdelibad.net/Programmation/yapyt-un_yaourt_pour_debian.html
[[http://askubuntu.com/questions/17823/how-to-list-all-installed-packages|http://askubuntu.com/questions/17823/how-to-list-all-installed-packages]]
==== LXC ====
[[https://matutine.gitlab.io/2016/12/08/installer-lxc-et-lxd-sur-debian-jessie.html|https://matutine.gitlab.io/2016/12/08/installer-lxc-et-lxd-sur-debian-jessie.html]]
==== HotSpot Wifi ====
* https://wiki.debian-fr.xyz/Hotspot_wifi
* https://johnkeen.tech/making-hotspot-using-debian-raspbian/
==== Snapper ====
[[https://poisonpacket.wordpress.com/2015/06/06/apt-btrfs-snapper-apt-get-snapper-snapshots/|https://poisonpacket.wordpress.com/2015/06/06/apt-btrfs-snapper-apt-get-snapper-snapshots/]]
==== Linux-libre ====
[[https://jxself.org/linux-libre/|https://jxself.org/linux-libre/]]
==== Block non-free ====
[[http://unix.stackexchange.com/questions/284582/how-to-block-non-free-with-apt-preferences|http://unix.stackexchange.com/questions/284582/how-to-block-non-free-with-apt-preferences]]
==== Package blacklist ====
[[https://www.cyberciti.biz/faq/debian-ubuntu-linux-apt-get-blacklisting-packages-using-hold-option/|https://www.cyberciti.biz/faq/debian-ubuntu-linux-apt-get-blacklisting-packages-using-hold-option/]]
==== Trim over LUKS ====
[[http://www.gitztalk.com/posts/2014/09/01/debian-jessie-trim-dm-crypt-luks-fr/|http://www.gitztalk.com/posts/2014/09/01/debian-jessie-trim-dm-crypt-luks-fr/]]
==== LVM On LUKS ====
* [[https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS|https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS]]
* [[http://www.matthew.ath.cx/articles/cryptkey|http://www.matthew.ath.cx/articles/cryptkey]]
* [[https://florent.peterschmitt.fr/installer-debian-sur-un-volume-lukslvm-existant.html|https://florent.peterschmitt.fr/installer-debian-sur-un-volume-lukslvm-existant.html]]
* Remote Unlock - https://www.arminpech.de/2019/12/23/debian-unlock-luks-root-partition-remotely-by-ssh-using-dropbear/ et https://hamy.io/post/0009/how-to-install-luks-encrypted-ubuntu-18.04.x-server-and-enable-remote-unlocking
==== SSD xsession ====
[[https://www.debian-fr.org/t/desactiver-xsession-errors-surtout-utile-sur-ssd/60130/21|https://www.debian-fr.org/t/desactiver-xsession-errors-surtout-utile-sur-ssd/60130/21]]
''touch /tmp/$(basename $HOME).xsession-errors; ln -fs /tmp/$(basename $HOME).xsession-errors "$HOME"/.xsession-errors''
==== Unbound ====
[[https://rewopit.net/creer-resolveur-dns-unbound-debian/|https://rewopit.net/creer-resolveur-dns-unbound-debian/]]
==== APT-Backup ====
* [[http://serverfault.com/questions/56848/install-the-same-debian-packages-on-another-system|http://serverfault.com/questions/56848/install-the-same-debian-packages-on-another-system]]
* [[http://askubuntu.com/questions/9135/how-to-backup-settings-and-list-of-installed-packages|http://askubuntu.com/questions/9135/how-to-backup-settings-and-list-of-installed-packages]]
* [[http://www.pc-freak.net/blog/how-to-copy-clone-installed-packages-from-one-debian-server-to-another/|http://www.pc-freak.net/blog/how-to-copy-clone-installed-packages-from-one-debian-server-to-another/]]
==== Check traffic réseau ====
[[http://arobaseinformatique.eklablog.com/surveiller-le-trafic-reseau-avec-speedometer-a118055678|http://arobaseinformatique.eklablog.com/surveiller-le-trafic-reseau-avec-speedometer-a118055678]]
==== Impossible de réouvrir STDIN ====
[[http://serverfault.com/questions/500764/dpkg-reconfigure-unable-to-re-open-stdin-no-file-or-directory|http://serverfault.com/questions/500764/dpkg-reconfigure-unable-to-re-open-stdin-no-file-or-directory]]
==== Galileo ====
[[https://www.raspberrypi.org/forums/viewtopic.php?f=41&t=72029|https://www.raspberrypi.org/forums/viewtopic.php?f=41&t=72029]]->> stretch package galileo
==== System Upgrade ====
[[https://www.howtoforge.com/tutorial/how-to-upgrade-debian-wheezy-to-jessie-stable-release/|https://www.howtoforge.com/tutorial/how-to-upgrade-debian-wheezy-to-jessie-stable-release/]]
==== Create .deb ====
Checkinstall avec make install
sinon [[https://coderwall.com/p/urkybq/how-to-create-debian-package-from-source|https://coderwall.com/p/urkybq/how-to-create-debian-package-from-source]] si dossier debian
=== Troubleshooting ===
* https://askubuntu.com/questions/226495/how-to-solve-dpkg-source-source-problem-when-building-a-package
* https://github.com/jamesdbloom/grunt-debian-package/issues/23
* tg https://github.com/vysheng/tg/issues/1070
==== Scanner Samsung ====
https://forum.ubuntu-fr.org/viewtopic.php?id=1667851
==== ITunes ====
https://infoidevice.fr/comment-utiliser-iphone-ipad-linux-ubuntu/
https://infoidevice.fr/installer-itunes-sous-linux/
==== Port Serie ====
https://tutox.fr/2018/02/02/communiquer-port-serie-linux/
==== FOG ====
https://wiki.fogproject.org/wiki/index.php?title=Installation
==== Label mounting ====
https://debian-administration.org/article/522/Mounting_file-systems_by_label_rather_than_device_name
==== Reinstall Grub ====
https://wiki.debian-fr.xyz/Réinstaller_Grub2
==== Nettoyage des noyaux ====
http://www.upubuntu.com/2011/11/how-to-remove-unused-old-kernels-on.html
==== No Pubkey ====
sudo apt-key adv --keyserver keyring.debian.org --recv-keys 7638D0442B90D010
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
==== ClamAV ====
https://howto.biapy.com/en/debian-gnu-linux/system/security/install-the-clamav-anti-virus-on-debian
==== Budgie Desktop ====
https://mike632t.wordpress.com/2016/11/29/installing-budgie-desktop-on-debian-9-x-stretch/
sudo apt install budgie-desktop
==== System Adblock ====
http://forums.debian.net/viewtopic.php?t=129202