This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
informatica:hp_z400_600_centos7_2 [2021/08/05 16:19] miquel [Paquets addicionals] |
informatica:hp_z400_600_centos7_2 [2021/08/06 16:56] miquel [Enllaços d'interès] |
||
---|---|---|---|
Line 5: | Line 5: | ||
* s' | * s' | ||
* s' | * s' | ||
- | |||
- | Un cop completada aquesta segona part, l' | ||
===== Magatzems (repositories) addicionals ===== | ===== Magatzems (repositories) addicionals ===== | ||
Line 204: | Line 202: | ||
===== Paquets addicionals | ===== Paquets addicionals | ||
- | * FIXME Llista de paquets instal·lats per Bruker. Descriure cóm obtenir la llista de paquets instal·lats a l' | + | ==== Preparació i proves ==== |
- | * FIXME Descriure cóm instal·lar els paquets de la llista anterior per replicar una instal·lació. | + | |
En qualsevol dels nous ordinador dels espectròmetres Avance Neo, executar alguna de les següents parelles de comandes: | En qualsevol dels nous ordinador dels espectròmetres Avance Neo, executar alguna de les següents parelles de comandes: | ||
Line 238: | Line 235: | ||
<wrap alert> | <wrap alert> | ||
- | * Generació del llistat: '' | + | * Generació del llistat: '' |
* Processament del llistat: '' | * Processament del llistat: '' | ||
* Font: [[http:// | * Font: [[http:// | ||
Line 249: | Line 246: | ||
* Font: [[https:// | * Font: [[https:// | ||
+ | La conclusió final és que els mètodes que fan servir la comanda '' | ||
+ | El mètode triat és: | ||
+ | |||
+ | * Generació del llistat: '' | ||
+ | * Processament del llistat: | ||
+ | * '' | ||
+ | |||
+ | Per precaució, es pot fer un simulacre per veure quins paquets s' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | i es pot registrar l' | ||
+ | |||
+ | * comanda no interactiva: | ||
+ | * comanda interactiva: | ||
+ | |||
+ | ==== Instal·lació de nous paquets ==== | ||
+ | |||
+ | Un cop finalitzades les proves, inicio del procés d' | ||
+ | |||
+ | < | ||
+ | # script yum-install-output.log | ||
+ | Script started, file is yum-install-output.log | ||
+ | # yum -y install $(cat avance-neo-500-pkglist.txt | xargs) | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Loading mirror speeds from cached hostfile | ||
+ | epel/ | ||
+ | * base: ftp.csuc.cat | ||
+ | * elrepo: mirrors.coreix.net | ||
+ | * epel: pkg.adfinis.com | ||
+ | * extras: ftp.csuc.cat | ||
+ | * updates: ftp.csuc.cat | ||
+ | base | 3.6 kB 00: | ||
+ | bruker | ||
+ | elrepo | ||
+ | extras | ||
+ | updates | ||
+ | updates/ | ||
+ | Package abattis-cantarell-fonts-0.0.25-1.el7.noarch already installed and latest version | ||
+ | Package abrt-2.1.11-60.el7.centos.x86_64 already installed and latest version | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Package zip-3.0-11.el7.x86_64 already installed and latest version | ||
+ | Package zlib-1.2.7-19.el7_9.x86_64 already installed and latest version | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package ImageMagick.x86_64 0: | ||
+ | ---> Package NetworkManager-bluetooth.x86_64 1: | ||
+ | ---> Package NetworkManager-wwan.x86_64 1: | ||
+ | |||
+ | [...] | ||
+ | |||
+ | ---> Package yum-plugin-nvidia.noarch 0: | ||
+ | ---> Package yumex.noarch 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | [...] | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total size: 705 M | ||
+ | Installed size: 2.0 G | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : libxfce4util-4.12.1-2.el7.x86_64 | ||
+ | Installing : librevenge-0.0.2-2.el7.x86_64 | ||
+ | Installing : kdesdk-common-4.10.5-8.el7.noarch | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Installing : bruker-default-user-2.1-0.el7.brk.noarch | ||
+ | Installing : pyOpenSSL-0.13.1-4.el7.x86_64 | ||
+ | Installing : vte-0.28.2-10.el7.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | [...] | ||
+ | |||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | ImageMagick.x86_64 0: | ||
+ | NetworkManager-wwan.x86_64 1: | ||
+ | PackageKit-Qt.x86_64 0: | ||
+ | |||
+ | [...] | ||
+ | |||
+ | xorg-x11-server-Xvfb.x86_64 0: | ||
+ | xsettings-kde.x86_64 0: | ||
+ | yum-plugin-nvidia.noarch 0: | ||
+ | |||
+ | Complete! | ||
+ | |||
+ | # exit | ||
+ | exit | ||
+ | Script done, file is yum-install-output.log | ||
+ | |||
+ | </ | ||
Line 258: | Line 376: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ===== Desactivar el magatzem Bruker ===== | ||
+ | |||
+ | <WRAP important> | ||
+ | No s'ha d' | ||
+ | </ | ||
+ | |||
+ | Un cop instal·lats els paquets de Bruker necessaris, | ||
+ | |||
+ | < | ||
+ | # yum list installed | grep bruker | ||
+ | bruker-addon.noarch | ||
+ | bruker-default-user.noarch | ||
+ | bruker-images.noarch | ||
+ | bruker-lockdown-session.noarch | ||
+ | bruker-network-autoneo.noarch | ||
+ | bruker-system-environ.noarch | ||
+ | </ | ||
+ | |||
+ | desactivo el magatzem Bruker per evitar problemes. Per fer-ho edito el fitxer de configuració del magatzem amb la comanda '' | ||
+ | |||
+ | < | ||
+ | # yum repolist enabled | ||
+ | [..] | ||
+ | repo id repo name status | ||
+ | base/ | ||
+ | elrepo | ||
+ | epel/ | ||
+ | extras/ | ||
+ | updates/ | ||
+ | repolist: 26,858 | ||
+ | </ | ||
+ | |||
+ | ===== Paquets addicionals no instal·lats ===== | ||
+ | |||
+ | Comprovo quins paquets addicionals no s'han instal·lat: | ||
+ | |||
+ | < | ||
+ | # grep "No package" | ||
+ | No package CodeMeter-7.10.4196-501.x86_64 available. | ||
+ | No package gpg-pubkey-352c64e5-52ae6884 available. | ||
+ | No package gpg-pubkey-baadae52-49beffa4 available. | ||
+ | No package gpg-pubkey-c5c2a86d-4ede280b available. | ||
+ | No package gpg-pubkey-f4a80eb5-53a7ff4b available. | ||
+ | No package kernel-3.10.0-1127.13.1.el7.x86_64 available. | ||
+ | No package kernel-3.10.0-957.21.3.el7.x86_64 available. | ||
+ | No package kernel-devel-3.10.0-1127.13.1.el7.x86_64 available. | ||
+ | No package kernel-devel-3.10.0-957.21.3.el7.x86_64 available. | ||
+ | No package libmspack-0.7-0.1.alpha.el7.x86_64 available. | ||
+ | No package openprinting-ppds-postscript-sharp-20160218-1lsb3.2.noarch available. | ||
+ | </ | ||
+ | |||
+ | Els paquets gpg-pubkey es poden ignorar ja que es creen a l' | ||
+ | |||
+ | El programa CodeMeter no està a cap magatzem i s'ha de descarregar del lloc web de Bruker. | ||
+ | |||
+ | Els Linux Kernel no instal·lats són versions anterior a la instal·lada, | ||
+ | |||
+ | En el cas del paquet limbspack, hi ha instal·lada un versió anterior (0.5-0.8.alpha.el7) procedent del magatzem base, i la versió " | ||
+ | |||
+ | En el cas del paquet openprinting-ppds-postscript-sharp, | ||
+ | |||
+ | ===== Paquets per la targeta gràfica Nvidia Quadro 600 ===== | ||
+ | |||
+ | Després d' | ||
+ | |||
+ | < | ||
+ | # yum info libmspack | ||
+ | [...] | ||
+ | [nvidia]: excluding kmod-nvidia-460.80-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding kmod-nvidia-460.84-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding kmod-nvidia-470.57.02-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding nvidia-x11-drv-460.84-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding nvidia-x11-drv-470.57.02-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-460.80-1.el7_9.elrepo.i686 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-460.80-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-460.84-1.el7_9.elrepo.i686 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-460.84-1.el7_9.elrepo.x86_64 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-470.57.02-1.el7_9.elrepo.i686 | ||
+ | [nvidia]: excluding nvidia-x11-drv-libs-470.57.02-1.el7_9.elrepo.x86_64 | ||
+ | Installed Packages | ||
+ | Name : libmspack | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Aquests missatges indiquen que aquests paquets no contenen el controlador adient per la targeta gràfica instal·lada a l' | ||
+ | |||
+ | Per començar, comprovo quina és la targeta gràfica instal·lada a l' | ||
+ | |||
+ | < | ||
+ | # lshw -class video | ||
+ | *-display UNCLAIMED | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | i cerco al website de Nvidia quin és el driver per aquesta targeta, | ||
+ | |||
+ | * [[https:// | ||
+ | * Version: 390.144 | ||
+ | * Release Date: 2021.7.20 | ||
+ | * Operating System: Linux 64-bit | ||
+ | * Language: English (US) | ||
+ | * File Size: 81.06 MB | ||
+ | |||
+ | Un cop identificat el controlador, | ||
+ | |||
+ | < | ||
+ | # yum search kmod-nvidia | ||
+ | [...] | ||
+ | ============================================== N/S matched: kmod-nvidia ============================================== | ||
+ | kmod-nvidia.x86_64 : nvidia kernel module(s) | ||
+ | kmod-nvidia-340xx.x86_64 : nvidia-340xx kernel module(s) | ||
+ | kmod-nvidia-390xx.x86_64 : nvidia-390xx kernel module(s) | ||
+ | |||
+ | Name and summary matches only, use " | ||
+ | |||
+ | # yum search nvidia-x11-drv | ||
+ | [...] | ||
+ | ============================================ N/S matched: nvidia-x11-drv ============================================= | ||
+ | nvidia-x11-drv.x86_64 : NVIDIA OpenGL X11 display driver files | ||
+ | nvidia-x11-drv-340xx.x86_64 : NVIDIA OpenGL X11 display driver files | ||
+ | nvidia-x11-drv-340xx-32bit.x86_64 : Compatibility 32-bit files for the 64-bit Proprietary NVIDIA driver | ||
+ | nvidia-x11-drv-390xx.x86_64 : NVIDIA OpenGL X11 display driver files | ||
+ | nvidia-x11-drv-390xx-libs.i686 : Libraries for the Proprietary NVIDIA driver | ||
+ | nvidia-x11-drv-390xx-libs.x86_64 : Libraries for the Proprietary NVIDIA driver | ||
+ | nvidia-x11-drv-libs.x86_64 : Libraries for the Proprietary NVIDIA driver | ||
+ | |||
+ | Name and summary matches only, use " | ||
+ | </ | ||
+ | |||
+ | Veig que hi ha diversos paquets que caldrà instal·lar: | ||
+ | |||
+ | * kmod-nvidia-390xx | ||
+ | * nvidia-x11-drv-390xx | ||
+ | * nvidia-x11-drv-390xx-libs | ||
+ | |||
+ | alhora que caldrà desinstal·lar el paquet kmod-nvidia i els que en depenen. | ||
+ | |||
+ | Començo per desinstal·lar els paquets kmod-nvidia (desinstal·larà nvidia-x11-drv) i nvidia-x11-drv-libs, | ||
+ | |||
+ | < | ||
+ | # yum remove kmod-nvidia | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package kmod-nvidia.x86_64 0: | ||
+ | --> Processing Dependency: nvidia-kmod = 470.57.02 for package: nvidia-x11-drv-470.57.02-1.el7_9.elrepo.x86_64 | ||
+ | --> Processing Dependency: nvidia-kmod = 470.57.02 for package: nvidia-x11-drv-470.57.02-1.el7_9.elrepo.x86_64 | ||
+ | --> Running transaction check | ||
+ | ---> Package nvidia-x11-drv.x86_64 0: | ||
+ | --> Processing Dependency: nvidia-x11-drv for package: bruker-setup-2.2-3.el7.brk.noarch | ||
+ | --> Running transaction check | ||
+ | ---> Package bruker-setup.noarch 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | Removing for dependencies: | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 150 M | ||
+ | Is this ok [y/ | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Working. This may take some time ... | ||
+ | Done. | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Removed: | ||
+ | kmod-nvidia.x86_64 0: | ||
+ | |||
+ | Dependency Removed: | ||
+ | bruker-setup.noarch 0: | ||
+ | |||
+ | Complete! | ||
+ | |||
+ | # yum remove nvidia-x11-drv-libs | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package nvidia-x11-drv-libs.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 458 M | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Erasing | ||
+ | Verifying | ||
+ | |||
+ | Removed: | ||
+ | nvidia-x11-drv-libs.x86_64 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | i després instal·lo el paquet kmod-nvidia-390xx | ||
+ | |||
+ | < | ||
+ | # yum install kmod-nvidia-390xx | ||
+ | [...] | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package kmod-nvidia-390xx.x86_64 0: | ||
+ | --> Processing Dependency: nvidia-x11-drv-390xx = 390.144 for package: kmod-nvidia-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | --> Running transaction check | ||
+ | ---> Package nvidia-x11-drv-390xx.x86_64 0: | ||
+ | --> Processing Dependency: nvidia-x11-drv-390xx-libs(x86-64) = 390.144-1.el7_9.elrepo for package: nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | --> Processing Dependency: libnvidia-glcore.so.390.144()(64bit) for package: nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | --> Processing Dependency: libnvidia-ml.so.1()(64bit) for package: nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | --> Processing Dependency: libnvidia-tls.so.390.144()(64bit) for package: nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | --> Running transaction check | ||
+ | ---> Package nvidia-x11-drv-390xx-libs.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Installing: | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Install | ||
+ | |||
+ | Total download size: 57 M | ||
+ | Installed size: 229 M | ||
+ | Is this ok [y/d/N]: y | ||
+ | Downloading packages: | ||
+ | (1/3): nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64.rpm | ||
+ | (2/3): kmod-nvidia-390xx-390.144-1.el7_9.elrepo.x86_64.rpm | ||
+ | (3/3): nvidia-x11-drv-390xx-libs-390.144-1.el7_9.elrepo.x86_64.rpm | ||
+ | ---------------------------------------------------------------------------------------------------------------------- | ||
+ | Total 4.1 MB/s | 57 MB 00: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : kmod-nvidia-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | Working. This may take some time ... | ||
+ | Done. | ||
+ | Installing : nvidia-x11-drv-390xx-libs-390.144-1.el7_9.elrepo.x86_64 | ||
+ | Installing : nvidia-x11-drv-390xx-390.144-1.el7_9.elrepo.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | kmod-nvidia-390xx.x86_64 0: | ||
+ | |||
+ | Dependency Installed: | ||
+ | nvidia-x11-drv-390xx.x86_64 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Els missatges sobre els paquets de Nvidia encara surten, però ara puc eliminar el paquet [[https:// | ||
+ | |||
+ | < | ||
+ | # yum remove yum-plugin-nvidia | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package yum-plugin-nvidia.noarch 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 22 k | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Erasing | ||
+ | Verifying | ||
+ | |||
+ | Removed: | ||
+ | yum-plugin-nvidia.noarch 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | i finalment deixen d' | ||
+ | |||
+ | |||
+ | ==== Enllaços d' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | ===== Enllaç a la 3a part ===== | ||
+ | [[informatica: | ||