This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
informatica:hp_z400_600_centos7_3 [2021/08/10 09:47] miquel [Configuració per Z400] |
informatica:hp_z400_600_centos7_3 [2021/08/19 10:18] miquel [Enllaços d'interès] |
||
---|---|---|---|
Line 230: | Line 230: | ||
prefereixo descarregar-lo i comprovar el contingut abans de decidir si cal instal·lar-ho. La conclusió és que no és necessari pel funcionament de l' | prefereixo descarregar-lo i comprovar el contingut abans de decidir si cal instal·lar-ho. La conclusió és que no és necessari pel funcionament de l' | ||
- | ===== Desinstal·lació de poquets | + | ===== Desinstal·lació de paquets |
- | A l' | + | A l' |
+ | |||
+ | < | ||
+ | # rpm -qa | sort > avance3-600-pkglist.txt | ||
+ | |||
+ | # comm -23 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-600.txt | ||
+ | # comm -13 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-500.txt | ||
+ | </ | ||
+ | |||
+ | Llavors genero un llistat que conté els paquets instal·lats només al 600 MHz i afegeixo el seu magatzem d'origen, | ||
+ | |||
+ | < | ||
+ | # for PKG in `cat list-packages-only-in-600.txt` ; do echo $PKG" | ||
+ | |||
+ | # wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt | ||
+ | 609 list-packages-only-in-600.txt | ||
+ | 159 list-packages-only-in-600-with-repo.txt | ||
+ | 768 total | ||
+ | |||
+ | # tail -f list-packages-only-in-600-with-repo.txt | ||
+ | gvfs-smb-1.36.2-4.el7.x86_64\t from_repo = anaconda | ||
+ | gvnc-0.7.0-3.el7.x86_64\t from_repo = anaconda | ||
+ | harfbuzz-1.7.5-2.el7.i686\t from_repo = base | ||
+ | highcontrast-qt5-0.1-2.el7.x86_64\t from_repo = anaconda | ||
+ | highlight-3.13-3.el7.x86_64\t from_repo = anaconda | ||
+ | hivex-1.3.10-6.11.el7_9.x86_64\t from_repo = updates | ||
+ | httpd-2.4.6-97.el7.centos.x86_64\t from_repo = updates | ||
+ | httpd-manual-2.4.6-97.el7.centos.noarch\t from_repo = updates | ||
+ | ^C | ||
+ | |||
+ | [...] | ||
+ | |||
+ | # | ||
+ | [1]+ Done for PKG in `cat list-packages-only-in-600.txt`; | ||
+ | do | ||
+ | echo $PKG" | ||
+ | done > list-packages-only-in-600-with-repo.txt | ||
+ | |||
+ | [root@cie-56-18 Downloads]# wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt | ||
+ | 609 list-packages-only-in-600.txt | ||
+ | 609 list-packages-only-in-600-with-repo.txt | ||
+ | 1218 total | ||
+ | </ | ||
+ | |||
+ | Com que molts dels paquets a desinstal·lar estan relacionats amb l'entorn gràfic, l' | ||
+ | |||
+ | < | ||
+ | [root@cie-56-18 Downloads]# systemctl status gdm.service | ||
+ | [...] | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager... | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager. | ||
+ | |||
+ | [root@cie-56-18 Downloads]# systemctl stop gdm.service | ||
+ | |||
+ | [root@cie-56-18 Downloads]# systemctl status gdm.service | ||
+ | [...] | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager... | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager. | ||
+ | Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopping GNOME Display Manager... | ||
+ | Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopped GNOME Display Manager. | ||
+ | </ | ||
+ | |||
+ | i començo a desinstal·lar paquets de Gnome. Primer comprovo si està instal·lat com a " | ||
+ | |||
+ | < | ||
+ | # yum grouplist | ||
+ | [...] | ||
+ | Available Environment Groups: | ||
+ | | ||
+ | [...] | ||
+ | GNOME Desktop | ||
+ | KDE Plasma Workspaces | ||
+ | | ||
+ | Available Groups: | ||
+ | | ||
+ | | ||
+ | [...] | ||
+ | | ||
+ | | ||
+ | | ||
+ | Done | ||
+ | </ | ||
+ | |||
+ | i com que no està instal·lat com grup, començo a desinstal·lar les paquets a mà, per exemple, | ||
+ | |||
+ | < | ||
+ | # yum remove nautilus | ||
+ | [...] | ||
+ | Removed: | ||
+ | nautilus.x86_64 0: | ||
+ | |||
+ | Dependency Removed: | ||
+ | evince-nautilus.x86_64 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Al final faig servir les comandes | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | fins que ja no es troba cap paquet innecessari. | ||
+ | |||
+ | <WRAP todo> | ||
+ | Per ara no elimino cap kernel antic, però caldrà fer-ho en algun moment fent servir la comanda '' | ||
+ | |||
+ | < | ||
+ | # yum remove kernel | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Skipping the running kernel: kernel-3.10.0-1160.25.1.el7.x86_64 | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 193 M | ||
+ | Is this ok [y/N]: N | ||
+ | </ | ||
+ | </ | ||
+ | ==== Enllaços d' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Connexió i configuració dels dos monitors ===== | ||
+ | |||
+ | Connecto a l' | ||
+ | |||
+ | ===== Configuració de KDE ===== | ||
+ | |||
+ | Per tal que es faci servir l' | ||
+ | |||
+ | < | ||
+ | # cat desktop | ||
+ | DESKTOP=KDE | ||
+ | </ | ||
+ | |||
+ | Llavors engego l' | ||
+ | |||
+ | < | ||
+ | [root@cie-56-18 sysconfig]# systemctl status gdm.service | ||
+ | [...] | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager... | ||
+ | Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager. | ||
+ | Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopping GNOME Display Manager... | ||
+ | Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopped GNOME Display Manager. | ||
+ | |||
+ | [root@cie-56-18 sysconfig]# systemctl start gdm.service | ||
+ | [root@cie-56-18 sysconfig]# systemctl status gdm.service | ||
+ | [...] | ||
+ | Aug 10 14:30:20 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager... | ||
+ | Aug 10 14:30:20 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager. | ||
+ | [root@cie-56-18 sysconfig]# | ||
+ | </ | ||
+ | |||
+ | i a la pantalla del GDM, abans d' | ||
+ | |||
+ | Llavors obro una sessió i comprovo que es carrega el KDE, i que hi ha uns quants processos relacionats amb el KDE, | ||
+ | |||
+ | < | ||
+ | # ps ax | grep -i kde | ||
+ | 28 ? S 0:00 [kdevtmpfs] | ||
+ | 25835 ? Ss 0:00 /bin/sh / | ||
+ | 25937 ? Ss 0:00 / | ||
+ | 26005 ? S 0:00 / | ||
+ | 26006 ? Ss 0:00 kdeinit4: kdeinit4 Running... | ||
+ | 26007 ? S 0:00 kdeinit4: klauncher [kdeinit] --fd=9 | ||
+ | 26009 ? Sl 0:00 kdeinit4: kded4 [kdeinit] | ||
+ | 26035 ? S 0:00 kdeinit4: kglobalaccel [kdeinit] | ||
+ | 26044 ? S 0:00 kdeinit4: kwalletd [kdeinit] | ||
+ | 26134 ? Sl 0:00 kdeinit4: ksmserver [kdeinit] | ||
+ | 26170 ? Sl 0:04 kdeinit4: plasma-desktop [kdeinit] | ||
+ | 26379 ? Sl 0:00 kdeinit4: krunner [kdeinit] | ||
+ | 26404 ? Sl 0:00 / | ||
+ | 26425 ? S 0:00 kdeinit4: klipper [kdeinit] | ||
+ | 26437 ? Sl 0:00 kdeinit4: kmix [kdeinit] | ||
+ | 26439 ? Sl 0:00 / | ||
+ | 27152 ? Sl 0:00 / | ||
+ | 31419 pts/2 S+ 0:00 grep --color=auto -i kde | ||
+ | |||
+ | # pstree --ascii | ||
+ | systemd-+-ModemManager---2*[{ModemManager}] | ||
+ | : | ||
+ | : | ||
+ | |-gdm-+-X---{X} | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | : | ||
+ | : | ||
+ | |-kactivitymanage---5*[{kactivitymanage}] | ||
+ | |-kded4---7*[{kded4}] | ||
+ | |-kdeinit4-+-abrt-applet---2*[{abrt-applet}] | ||
+ | | |-klauncher | ||
+ | | |-ksmserver-+-kscreenlocker_g---{kscreenlocker_g} | ||
+ | | | | ||
+ | | | | ||
+ | | |-seapplet---2*[{seapplet}] | ||
+ | | |-tracker-extract---13*[{tracker-extract}] | ||
+ | | |-tracker-miner-a---3*[{tracker-miner-a}] | ||
+ | | |-tracker-miner-u---3*[{tracker-miner-u}] | ||
+ | | `-xsettings-kde---4*[{xsettings-kde}] | ||
+ | |-kglobalaccel | ||
+ | |-klipper | ||
+ | |-kmix---{kmix} | ||
+ | |-knotify4---{knotify4} | ||
+ | |-krunner---{krunner} | ||
+ | |-kuiserver | ||
+ | |-kwalletd | ||
+ | : | ||
+ | : | ||
+ | |-plasma-desktop-+-ksysguardd | ||
+ | | `-4*[{plasma-desktop}] | ||
+ | |-polkit-kde-auth---2*[{polkit-kde-auth}] | ||
+ | : | ||
+ | : | ||
+ | |-start_kdeinit | ||
+ | : | ||
+ | : | ||
+ | |-udisksd---4*[{udisksd}] | ||
+ | |-upowerd---2*[{upowerd}] | ||
+ | |-wpa_supplicant | ||
+ | `-xinetd | ||
+ | |||
+ | </ | ||
+ | ==== Enllaços d' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Enllaç a la 4a part ===== | ||
+ | |||
+ | [[informatica: | ||