$ sudo add-apt-repository {universe,multiverse}
Par défaut, il n'y a plus de partition d'échange (swap). Ubuntu utilise désormais le fichier d'échange (plus facile à gérer).
Le partitionnement peut se préparer avec gparted :
/dev/sda1 | /dev/sda2 | /dev/sda3 | /dev/sda4 | /dev/sda5 | /dev/sda8 | |
---|---|---|---|---|---|---|
Taille | 1 MB | 564 MB | 188 GB | 225 GB | 225 GB | 130 GB |
Formaté | Unknown | FAT32 | Ext4 | Ext4 | Ext4 | Ext4 |
Montage | /boot/efi | / | /home | /media/data | /media/nicolas/… | |
UID | 2BDA-B680 | f776d33a-c128-40e6-998b-03e93a883809 | 43a37136-dc31-41f1-9e11-1ab9b427622a | b7afb291-5954-475a-8aeb-569e6fc6d148 | 9b6942a4-b9aa-487e-a53a-4b76e907e6e8 | |
Type | BIOS Boot | EFI System | Linux Filesystem | Linux Filesystem | Linux Filesystem | Linux Filesystem |
~$ sudo add-apt-repository universe ~$ sudo add-apt-repository multiverse
~$ sudo dpkg --add-architecture i386
~$ sudo apt install {cifs-utils,ntfs-3g}
USER@MACHINE:~$ sudo apt install nautilus-gtkhash
~$ nautilus -q
$ sudo apt install ./balena-etcher_x.y.z_amd64.deb
~$ sudo apt install geany,geany-plugins
~$ sudo gpasswd -a $USER www-data Ajout de l'utilisateur nicolas au groupe www-data
127.0.0.1 localhost localdomain.localhost chateau 127.0.0.1 doc.localhost 127.0.0.1 perso.localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters # chateau.parc 192.168.0.1 chateau.parc 192.168.0.1 doc.chateau.parc 192.168.0.1 doc0.chateau.parc 192.168.0.1 doc-old.chateau.parc 192.168.0.1 essai.chateau.parc 192.168.0.1 essai.chateau.parc 192.168.0.1 kine.chateau.parc 192.168.0.1 magie.chateau.parc 192.168.0.1 perso.chateau.parc 192.168.0.1 perso0.chateau.parc 192.168.0.1 perso-old.chateau.parc 192.168.0.1 adminer.chateau.parc 192.168.0.1 awstats.chateau.parc 192.168.0.1 dolibarr.chateau.parc 192.168.0.1 glpi.chateau.parc 192.168.0.1 php.chateau.parc # Ferme wiki.chateau.parc # fermier : fermier (wiki.chateau.parc) # animaux : doc, bacasable, perso (*.wiki.chateau.parc) 192.168.0.1 wiki.chateau.parc 192.168.0.1 doc.wiki.chateau.parc 192.168.0.1 doc1.wiki.chateau.parc 192.168.0.1 bacasable.wiki.chateau.parc 192.168.0.1 perso.wiki.chateau.parc 192.168.0.1 essais.wiki.chateau.parc # Ferme ferme.parc # fermier : dokuwiki # animaux : doc, magie, perso 192.168.0.1 : ferme.parc 192.168.0.1 : doc.ferme.parc 192.168.0.1 : magie.ferme.parc 192.168.0.1 : perso.ferme.parc 192.168.0.32 framboise4.parc 192.168.0.32 doc.framboise4.parc 192.168.0.32 perso.framboise4.parc 192.168.0.31 framboise.parc 192.168.0.31 doc.framboise.parc
~$ cd /media/l-reservoirs/svg/2022-08-31/chateau/ ~$ sudo cp etc/hosts /etc/ ~$ sudo cp etc/*.credentials /etc/ ~$ sudo cp home/nicolas/.bash_aliases ~/
username=pi password=Epp48Arf domain=WORKGROUP
username= password= domain=WORKGROUP
alias sudo='sudo ' alias rm='rm --preserve-root' alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias ls='ls --color=auto' alias manfr='man -L fr' alias xmg="sudo xauth merge ~/.Xauthority" #~ alias gksudo="sudo xauth merge ~/.Xauthority && sudo" alias gksudo="pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY" alias upd="sudo apt-get -y update" alias upg="sudo apt-get -y upgrade" alias dupg="sudo apt-get -y dist-upgrade" alias maj="upd && upg && dupg" alias tosu="xhost +si:localuser:root" alias exsu="xhost -si:localuser:root" # Aliases pour Xampp alias lampp='/opt/lampp/lampp' alias ctlampp='/opt/lampp/manager-linux-x64.run' #~ alias ftpasswd='/opt/lampp/bin/ftpasswd'
~$ sudo mkdir -p /media/{data,donnees,donnees-2,l-reservoirs,partisos,reservoirs,serveur,tmp}
~$ sudo apt install {libcanberra-gtk*,update-manager}
~$ sudo apt remove apturl{,-common} ~$ sudo apt install apturl{,-common}
~$ sudo apt install {xdotool,ffmpeg,net-tools,ubuntu-restricted-extras,sqlite3,aria2,qt5dxcb-plugin,git,htop,xdot,hunspell,menulibre}
libappindicator3-1 retire les apturls
~$ sudo apt install ttf-mscorefonts-installer
~$ sudo apt install manpages-fr{,-dev,-extra}
~$ sudo apt install {openjdk-XX-jdk,icedtea-netx} ~$ java -version openjdk version "21.0.2" 2024-01-16
~$ sudo apt install {python3-pip,php{,-gd}}
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # +==================+ # | tmpfs : ramdisks | # +==================+ # /tmp en tmpfs tmpfs /tmp tmpfs defaults,relatime,mode=2777,uid=1000,gid=1000,size=4g 0 0 # /media/tmp en tmpfs tmpfs /media/tmp tmpfs defaults,size=8g,mode=2777,uid=1000,gid=1000 0 0 # +====================================+ # | 1er disque 1 To : /dev/sda : linux | # | sda 931,5G | # | ├─sda1 1M | # | ├─sda2 538M /boot/efi | # | ├─sda3 174,8G / | # | ├─sda4 425,7G /home | # | ├─sda5 209,7G /media/data | # | └─sda8 120,8G | # +====================================+ # /boot/efi was on /dev/sda2 during installation # /dev/sda2 : efi (/boot/efi) UUID=2BDA-B680 /boot/efi vfat umask=0077 0 1 # / was on /dev/sda3 during installation # /dev/sda3 : racine (/) UUID=d8825b21-c757-4ce9-aaf1-4aa502103162 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda4 during installation # /dev/sda4 : newhome (/home) UUID=43a37136-dc31-41f1-9e11-1ab9b427622a /home ext4 defaults 0 2 # /media/data was on /dev/sda5 during installation # /dev/sda5 : Data (/media/data) UUID=b7afb291-5954-475a-8aeb-569e6fc6d148 /media/data ext4 defaults 0 2 # +=====================================+ # | 2e disque 1 To : /dev/sdb : windows | # | sdb 931,5G | # | ├─sdb1 549M | # | ├─sdb2 97,1G | # | ├─sdb3 733,9G /media/donnees | # | ├─sdb4 1K | # | └─sdb5 32G /media/partisos | # +=====================================+ # /media/donnees was on /dev/sdb3 during installation # /dev/sdb3 : donnees (/media/donnees) UUID=200EB5FF0EB5CDD2 /media/donnees ntfs-3g rw,user,auto,gid=1000,uid=1000,nls=utf8,umask=002 0 0 # /media/partisos was on /dev/sdb5 during installation # /dev/sdb5 : isos (/media/partisos) UUID=19D22ADE39FB5783 /media/partisos ntfs-3g rw,user,auto,gid=1000,uid=1000,nls=utf8,umask=002 0 0 # +=======================================+ # | 3e disque 1 To : /dev/sdc : donnees-2 | # | sdc 931,5G | # | ├─sdc1 300G /media/serveur | # | └─sdc2 631,5G /media/donnees-2 | # +=======================================+ # /media/serveur was on /dev/sdc1 during installation # /dev/sdc1 : serveur (/media/serveur) UUID=215401a6-27c6-4068-b6b8-c98c8d0375ec /media/serveur ext4 defaults 0 2 # /media/donnees-2 was on /dev/sdc2 during installation # /dev/sdc2 : donnees-2 (/media/donnees-2) UUID=64D94BA80E92FA73 /media/donnees-2 ntfs-3g rw,user,auto,gid=1000,uid=1000,nls=utf8,umask=002 0 0 # +=================================================+ # | disque externe 2,7 To : /dev/sdd : Réservoirs | # | sdd 2,7T | # | ├─sdd1 1000G /media/reservoirs | # | └─sdd2 1000G /media/l-reservoirs | # +=================================================+ # /media/reservoirs was on /dev/sde1 during installation # /dev/sdd1 : Reservoirs (/media/reservoirs) UUID=3AF1FC151F5AB935 /media/reservoirs ntfs-3g rw,user,auto,gid=1000,uid=1000,nls=utf8,umask=002 0 0 # /media/l-reservoirs was on /dev/sde2 during installation # /dev/sdd2 : L-Reservoirs (/media/l-reservoirs) UUID=5e9d1ce2-1931-4859-a435-e1197874dbdb /media/l-reservoirs ext4 defaults 0 2 # +================+ # | Disques réseau | # +================+ # Framboise # --------- # //framboise/data : rpi-data (/media/rpi-data) #~ //192.168.0.31/data /media/rpi-data cifs credentials=/etc/framboise.credentials 0 0 # //framboise/root : rpi-root (/disk/rpi-root) #~ //192.168.0.31/root /media/rpi-root cifs credentials=/etc/framboise.credentials 0 0 # +================+ # | Montages perso | # +================+ # /media/tmp --> /home/nicolas/tmp #~ /home/nicolas/tmp /media/tmp none bind,user,rw,auto,exec,nls=utf8,umask=022 0 0 # /srv --> /media/serveur/srv /media/serveur/srv /srv none bind,user 0 0 # /var/www --> /srv/www /srv/www /var/www none bind,user 0 0 # /srv/ftp --> /srv/www /srv/www /srv/ftp none bind,user 0 0 # /var/lib/geneweb --> /home/nicolas/geneweb /home/nicolas/geneweb /var/lib/geneweb none,user bind 0 0
~$ sudo apt install {gnome-shell-extensions,gnome-shell-extension-manager,chrome-gnome-shell,gnome-tweaks}
~$ sudo apt purge gnome-control-center ~$ sudo apt install {gnome-control-center,}
Après redémarrage, s'il faut refaire GRUB 2 :
~$ sudo fdisk -l ~$ sudo os-prober ~$ sudo update-grub ~$ sudo grub-install /dev/sdX
Éventuellement, Déplacer le dossier /home
~$ tracker3 daemon -t ~$ cd ~/.config/autostart/ ~/.config/autostart$ cp -v /etc/xdg/autostart/tracker-* ./ ~/.config/autostart$ for FILE in tracker-* ; do echo Hidden=true >> $FILE; done ~/.config/autostart$ rm -rf ~/.cache/tracker3 ~/.local/share/tracker3
~$ sudo apt install {apt-file,flatpak,gnome-software-plugin-flatpak,gdebi}
~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
~$ sudo add-apt-repository ppa:appimagelauncher-team/stable ~$ sudo apt install appimagelauncher
~$ sudo apt install {exif,exiv2,gthumb,jhead}
~$ sudo add-apt-repository ppa:xtradeb/apps
~$ sudo apt install czkawka
~$ sudo apt install {python3-nautilus,xclip}
actions-for-nautilus*.deb
le plus récent sur la page https://github.com/bassmanitram/actions-for-nautilus/releases/latest~$ sudo apt install {nautilus-{admin,dropbox,filename-repairer,gtkhash,ideviceinfo,image-converter,owncloud}}
nautilus -q
~$ sudo apt install meld
~$ sudo apt install {smartmontools,smart-notifier,gsmartcontrol,gpart,gparted,}
~$ sudo apt install {djvulibre-bin,unpaper,pdftk,gscan2pdf}
~$ sudo apt install calibre
Répertoires calibre : /home/nicolas/Books-in et “/home/nicolas/Documents/Bibliotheque calibre”
~$ sudo apt install {cherrytree,zim}
fichier cherrytree : /home/nicolas/cloud/Documents/notes/cherrytree/notes.ctd
~$ sudo apt install {lios,}
~$ sudo apt install {gnucash,gnucash-docs}
comptes gnucash : /home/nicolas/MesComptes/Mes comptes.gnucash
~$ sudo apt install {homebank,}
~$ sudo apt install keepassxc-full
Base de données : ~/cloud/Documents/Keepass/nfrappe.kdbx
~$ sudo apt install filezilla
~$ sudo apt install {adb,scrcpy}
~$ sudo apt install {virtualbox,virtualbox-qt,virtualbox-ext-pack}
Répertoire VirtualBox : /home/nicolas/.VirtualBox/
~$ sudo apt install playonlinux
~$ sudo apt install {gnome-screenshot,flameshot}
~$ sudo apt install {tesseract-ocr-all,tesseract-ocr-fra,gimagereader}
~$ cd /opt /opt$ sudo tar xf ~/Téléchargements/SweetHome3D* /opt$ sudo mv SweetHome3D* sweethome3d
~$ sudo apt install {sweethome3d-furniture{,-nonfree,-editor}}
~$ sudo apt install {sweethome3d-textures-editor,}
~$ flatpak install whatsapp-desktop-linux