Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
ressources:linux:utilisation:base:installation:accueil [2024/07/03 13:33] – [Fonctionnalités de base] alainbatailly | ressources:linux:utilisation:base:installation:accueil [2025/06/25 11:01] (Version actuelle) – alainbatailly | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
Cette page décrit la procédure d' | Cette page décrit la procédure d' | ||
+ | |||
+ | |||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | <pane id=" | ||
+ | |||
+ | <callout type=" | ||
+ | Remarques pour **Mint 22** : | ||
+ | * '' | ||
+ | * le paquet '' | ||
+ | </ | ||
Scripts principaux : | Scripts principaux : | ||
+ | * **Mint 22** : | ||
+ | - [[ressources/ | ||
+ | - <btn type=" | ||
+ | - <btn type=" | ||
+ | - <btn type=" | ||
+ | |||
* **Mint 21** / **Mint 21.1** : | * **Mint 21** / **Mint 21.1** : | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
Scripts correctifs / supplémentaires : | Scripts correctifs / supplémentaires : | ||
Ligne 20: | Ligne 41: | ||
| | ||
- | | ||
- | | ||
- | |||
- | |||
- | < | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | <pane id=" | ||
===== Fonctionnalités de base ===== | ===== Fonctionnalités de base ===== | ||
Liste des fonctionnalités de base à valider avant la mise en opération d'une nouvelle version de Linux Mint : | Liste des fonctionnalités de base à valider avant la mise en opération d'une nouvelle version de Linux Mint : | ||
Ligne 200: | Ligne 210: | ||
< | < | ||
# programmes de base | # programmes de base | ||
- | apt-get -y install autofs portmap | + | apt-get -y install autofs portmap |
# ajout du conteneur Singularity (Salome 2022) | # ajout du conteneur Singularity (Salome 2022) | ||
Ligne 228: | Ligne 238: | ||
# connexion au serveur | # connexion au serveur | ||
+ | sudo apt-get install -y autofs nfs-common realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit | ||
+ | echo qw34er | realm join meca.polymtl.ca -U adjoiner | ||
+ | systemctl stop sssd | ||
+ | systemctl stop autofs | ||
+ | |||
+ | cd /etc/sssd/ | ||
+ | curl -O http:// | ||
cd /etc | cd /etc | ||
- | printf " | + | curl -O http://132.207.39.173/ |
- | printf '# | + | curl -O http://132.207.39.173/ |
- | # yp.conf | + | curl -O http:// |
- | # NIS servers manually here if they can t be found by | + | curl -O http://132.207.39.173/ |
- | # | + | |
- | # | + | systemctl enable sssd |
- | # See the manual page of ypbind for the syntax of this file. | + | systemctl start sssd |
- | # | + | systemctl enable autofs |
- | # IMPORTANT: For the " | + | systemctl start autofs |
- | # the host is in /etc/hosts. This file is only interpreted | + | systemctl start portmap |
- | # once, and if DNS isn t reachable yet the ypserver cannot | + | systemctl add-wants multi-user.target rpcbind.service |
- | # be resolved and ypbind won t ever bind to the server. | + | |
- | # ypserver ypserver.network.com | + | echo " |
- | domain me2 server 132.207.39.99 | + | echo "+ : root : ALL" |
- | #' | + | echo "+ : (lava_vnl) : ALL" >> |
- | printf '# | + | echo "- : ALL : ALL" |
- | # | + | |
- | # Example configuration of GNU Name Service Switch functionality. | + | |
- | # If you have the "glibc-doc-reference" | + | |
- | # "info libc "Name Service Switch"" | + | |
- | passwd: | + | # pour éviter des ralentissements de connexion |
- | group: | + | systemctl mask systemd-logind.service |
- | shadow: | + | |
- | gshadow: | + | |
- | hosts: | + | # correction bug authentification |
- | networks: | + | systemctl disable nscd |
+ | systemctl stop nscd | ||
- | protocols: | + | reboot |
- | services: | + | |
- | ethers: | + | |
- | rpc: db files | + | |
- | netgroup: | ||
- | automount: | ||
- | ##' > nsswitch.conf | + | </ |
- | service autofs stop | + | </ |
- | service ypbind stop | + | |
- | service portmap stop | + | <modal id=" |
- | systemctl add-wants multi-user.target rpcbind.service | + | < |
- | service portmap start | + | |
- | service ypbind start | + | |
- | service | + | # acces root ssh |
- | systemctl enable | + | echo ' |
+ | echo ' | ||
+ | service ssh restart | ||
+ | |||
+ | # interface de connexion - écran d' | ||
+ | cd / | ||
+ | printf ' | ||
+ | user-session=cinnamon | ||
+ | greeter-show-manual-login = true | ||
+ | greeter-hide-users = true | ||
+ | allow-guest = false | ||
+ | |||
+ | ##' > 70-linuxmint.conf | ||
+ | |||
+ | # connexion au serveur | ||
+ | export DEBIAN_FRONTEND=noninteractive | ||
+ | apt -y install nfs-common realmd sssd sssd-ad sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit autofs openssh-server krb5-config nfs-common libsss-sudo krb5-user | ||
+ | echo qw34er | realm join meca.polymtl.ca -U adjoiner | ||
+ | systemctl stop sssd | ||
+ | systemctl stop autofs | ||
+ | |||
+ | #On copie le bon fichier SSSD | ||
+ | cd /etc/sssd | ||
+ | /bin/cp / | ||
+ | /bin/rm sssd.conf | ||
+ | wget ' | ||
+ | chmod 600 sssd.conf | ||
+ | |||
+ | #On va chercher les bons fichier | ||
+ | |||
+ | cd /etc | ||
+ | /bin/cp / | ||
+ | /bin/rm nsswitch.conf | ||
+ | wget ' | ||
+ | chmod 644 nsswitch.conf | ||
+ | |||
+ | cd /etc | ||
+ | /bin/cp / | ||
+ | /bin/rm krb5.conf | ||
+ | wget ' | ||
+ | chmod 644 nsswitch.conf | ||
+ | |||
+ | cd /etc | ||
+ | /bin/cp / | ||
+ | /bin/rm idmapd.conf | ||
+ | wget ' | ||
+ | chmod 644 idmapd.conf | ||
+ | | ||
+ | systemctl enable | ||
+ | systemctl start sssd | ||
systemctl enable autofs | systemctl enable autofs | ||
+ | systemctl start autofs | ||
- | # pour éviter des ralentissements de connexion | ||
- | systemctl mask systemd-logind.service | ||
- | reboot | + | echo " |
+ | echo "+ : root : ALL" >> / | ||
+ | echo "+ : (lava_vnl) : ALL" >> / | ||
+ | echo "- : ALL : ALL" >> / | ||
+ | # correction bug authentification | ||
+ | systemctl disable nscd | ||
+ | systemctl stop nscd | ||
+ | |||
+ | systemctl restart autofs | ||
+ | |||
+ | apt-get -y install xrdp net-tools | ||
+ | systemctl enable xrdp | ||
+ | usermod -a -G ssl-cert xrdp | ||
+ | |||
+ | reboot | ||
</ | </ | ||
</ | </ | ||
Ligne 305: | Ligne 373: | ||
# installation des logiciels requis | # installation des logiciels requis | ||
- | apt-get -y install gedit geany geany-plugin* meld fail2ban cifs-utils nfs-common libwx-perl libwxbase3.0-dev libboost-dev libuser apache2 fail2ban htop filezilla rsync members nfs-common sshpass git gfortran gcc g++ libreoffice imagemagick emacs gummi liblapack-dev libarpack2-dev texlive-full inkscape gitg thunar giggle lyx csh nemo sshpass ssh clusterssh gitk blender kwrite gimp guake guake-indicator evince gedit libboost-dev libblas-dev liblapack-dev libboost-dev libblas-dev liblapack-dev okular rdesktop biber screen jabref myspell-fr-gut pdfgrep pdftk-java texstudio pdftk xournal freerdp2-x11 gscan2pdf gnome-terminal cheese | + | apt-get -y install gedit geany geany-plugin* meld fail2ban cifs-utils nfs-common libwx-perl libwxbase3.0-dev libboost-dev libuser apache2 fail2ban htop filezilla rsync members nfs-common sshpass git gfortran gcc g++ libreoffice imagemagick emacs gummi liblapack-dev libarpack2-dev texlive-full inkscape gitg thunar giggle lyx csh nemo sshpass ssh clusterssh gitk blender kwrite gimp guake guake-indicator evince gedit libboost-dev libblas-dev liblapack-dev libboost-dev libblas-dev liblapack-dev okular rdesktop biber screen jabref myspell-fr-gut pdfgrep pdftk-java texstudio pdftk xournal freerdp2-x11 gscan2pdf gnome-terminal cheese |
# thèmes Geany | # thèmes Geany | ||
Ligne 319: | Ligne 387: | ||
# suppression de Firefox | # suppression de Firefox | ||
apt remove firefox | apt remove firefox | ||
+ | |||
+ | # suppression du keyring | ||
+ | apt-get remove gnome-keyring | ||
+ | |||
+ | apt-get update | ||
+ | apt-get -y upgrade | ||
+ | apt-get -y dist-upgrade | ||
+ | reboot | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <modal id=" | ||
+ | < | ||
+ | export DEBIAN_FRONTEND=noninteractive | ||
+ | |||
+ | # ajout du conteneur Singularity (Salome 2022) | ||
+ | wget https:// | ||
+ | sudo apt install ./ | ||
+ | |||
+ | # Fix Matlab | ||
+ | |||
+ | apt-get -y install libncursesw6 libncurses6 | ||
+ | ln -s / | ||
+ | |||
+ | apt-get -y install gedit meld cifs-utils nfs-common libwx-perl libboost-dev libuser apache2 fail2ban htop filezilla rsync members nfs-common sshpass git gfortran gcc g++ libreoffice imagemagick emacs gummi liblapack-dev libarpack2-dev texlive-full inkscape gitg thunar giggle lyx csh nemo sshpass ssh clusterssh gitk blender kwrite gimp guake guake-indicator evince gedit libboost-dev libblas-dev liblapack-dev libboost-dev libblas-dev liblapack-dev okular rdesktop biber screen jabref myspell-fr-gut pdfgrep pdftk-java texstudio pdftk xournal freerdp2-x11 gscan2pdf gnome-terminal cheese chromium geany libxcb-cursor-dev | ||
+ | |||
+ | apt-get -y install curl | ||
+ | curl -fsSLo / | ||
+ | echo "deb [signed-by=/ | ||
+ | apt update | ||
+ | apt-get -y install brave-browser | ||
+ | |||
+ | apt-get -y remove firefox | ||
+ | |||
+ | # suppression du keyring | ||
+ | apt-get remove gnome-keyring | ||
apt-get update | apt-get update | ||
apt-get -y upgrade | apt-get -y upgrade | ||
+ | apt-get -y dist-upgrade | ||
reboot | reboot | ||
</ | </ | ||
Ligne 379: | Ligne 484: | ||
<modal id=" | <modal id=" | ||
< | < | ||
+ | # installation singularity | ||
+ | cd /tmp; | ||
+ | wget https:// | ||
+ | sudo apt install ./ | ||
+ | |||
# correctif singularity (requis pour PCs Mint 21 avec pilotes nvidia installés) | # correctif singularity (requis pour PCs Mint 21 avec pilotes nvidia installés) | ||
sed -i -e ' | sed -i -e ' |