User Tools

Site Tools


informatica:hp_z230_400sb_centos7_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
informatica:hp_z230_400sb_centos7_3 [2021/08/23 15:17]
miquel [Configurar la connexió amb la consola]
informatica:hp_z230_400sb_centos7_3 [2021/08/24 15:41]
miquel [Comprovació de les rutes]
Line 65: Line 65:
 ===== Connexió i configuració dels dos monitors ===== ===== Connexió i configuració dels dos monitors =====
  
-<WRAP todo> +Connecto l'estació de treball el monitor HP Compaq LE2202x (sortida DisplayPort amb adaptador a DVI) i el monitor HP LA1951g (sortida DVI), i l'ordinador els reconeix i configura correctament. El monitor HP LE2202x es configura com pantalla principal (finestra del TopSpin) i el monitor HP LA1951g com pantalla secundària (finestres de la BSMS, de lock, etc.), 
-Aprofitar les instruccions [[informatica:hp_z400_600_centos7_3 | Instal·lació de CentOS 7 3a part]] + 
-</WRAP>+  * HP LE2202x 
 +    * Pantalla principal 
 +    * Característiques tècniques: 21,5 polsades (16:9), resolució: 1920 x 1080 @ 60.0 Hz, entrades: DVI-D & VGA.  
 +  * HP LA1951g 
 +    * Pantalla secundària 
 +    * Característiques tècniques: 19 polsades (5:4), resolució: 1280 x 1024 @ 75 Hz, entrades: DVID-D & VGA.
  
 ===== Configuració de KDE ===== ===== Configuració de KDE =====
Line 224: Line 229:
 </file> </file>
  
-Per ara, com que aquest dispositiu no està connectat, no puc comprovar amb ''ping'' que funciona. +Comprovo amb ''ping'' que hi ha connexió.
- +
-<WRAP todo>+
  
 <file> <file>
 # ping -c 5 spect # ping -c 5 spect
 PING spect (149.236.99.90) 56(84) bytes of data. PING spect (149.236.99.90) 56(84) bytes of data.
-64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.346 ms +64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.448 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.115 ms +64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.283 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.112 ms +64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.336 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.117 ms +64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.269 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.133 ms+64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.153 ms
  
 --- spect ping statistics --- --- spect ping statistics ---
-5 packets transmitted, 5 received, 0% packet loss, time 4000ms +5 packets transmitted, 5 received, 0% packet loss, time 3999ms 
-rtt min/avg/max/mdev = 0.112/0.164/0.346/0.092 ms+rtt min/avg/max/mdev = 0.153/0.297/0.448/0.098 ms
 </file> </file>
- 
-</WRAP> 
- 
  
 ==== Comprovació de les rutes ==== ==== Comprovació de les rutes ====
  
 Un cop els dos dispositius de xarxa estan en funcionament, Un cop els dos dispositius de xarxa estan en funcionament,
- 
-<WRAP todo> 
  
 <file> <file>
 # nmcli device status # nmcli device status
-DEVICE   TYPE      STATE      CONNECTION   +DEVICE  TYPE      STATE      CONNECTION  
-enp1s0   ethernet  connected  UAB-LAN      +eno1    ethernet  connected  UAB-LAN     
-enp55s9  ethernet  connected  CONSOLE-LAN  +ens3    ethernet  unmanaged  --          
-lo       loopback  unmanaged  --  +lo      loopback  unmanaged  --         
  
 # ping -c 5 spect # ping -c 5 spect
 PING spect (149.236.99.90) 56(84) bytes of data. PING spect (149.236.99.90) 56(84) bytes of data.
-64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.140 ms +64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.150 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.110 ms +64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.156 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.115 ms +64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.194 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.116 ms +64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.153 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.115 ms+64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.127 ms
  
 --- spect ping statistics --- --- spect ping statistics ---
 5 packets transmitted, 5 received, 0% packet loss, time 3999ms 5 packets transmitted, 5 received, 0% packet loss, time 3999ms
-rtt min/avg/max/mdev = 0.110/0.119/0.140/0.012 ms+rtt min/avg/max/mdev = 0.127/0.156/0.194/0.021 ms
  
 # ping -c 5 gw.uab.cat # ping -c 5 gw.uab.cat
 PING gw.uab.cat (158.109.0.3) 56(84) bytes of data. PING gw.uab.cat (158.109.0.3) 56(84) bytes of data.
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=1 ttl=253 time=0.211 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=1 ttl=253 time=0.582 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=2 ttl=253 time=0.198 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=2 ttl=253 time=0.540 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=3 ttl=253 time=0.194 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=3 ttl=253 time=0.537 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=4 ttl=253 time=0.203 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=4 ttl=253 time=0.273 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=5 ttl=253 time=0.254 ms+64 bytes from gw.uab.es (158.109.0.3): icmp_seq=5 ttl=253 time=0.280 ms
  
 --- gw.uab.cat ping statistics --- --- gw.uab.cat ping statistics ---
-5 packets transmitted, 5 received, 0% packet loss, time 4000ms +5 packets transmitted, 5 received, 0% packet loss, time 4001ms 
-rtt min/avg/max/mdev = 0.194/0.212/0.254/0.021 ms+rtt min/avg/max/mdev = 0.273/0.442/0.582/0.137 ms
 </file> </file>
  
-</WRAP> +comprovo les rutes definides i veig que hi són les correctes,
- +
-comprovo les rutes definides i veig que són les correctes,+
  
 <file> <file>
Line 292: Line 288:
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1 default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1
-149.236.99.0    0.0.0.0         255.255.255.0       101    0        0 ens3+149.236.99.0    0.0.0.0         255.255.255.0       0      0        0 ens3
 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +link-local      0.0.0.0         255.255.0.0         1002          0 ens3
  
 # route -n # route -n
Line 299: Line 296:
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1 0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1
-149.236.99.0    0.0.0.0         255.255.255.0       101    0        0 ens3+149.236.99.0    0.0.0.0         255.255.255.0       0      0        0 ens3
 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +169.254.0.0     0.0.0.0         255.255.0.0         1002          0 ens3
 </file> </file>
 +
 +però que hi ha una (''169.254.0.0 (link-local)'') que cal eliminar amb la comanda ''route del -net 169.254.0.0 ...''
 +
 +<file>
 +# route del -net 169.254.0.0 netmask 255.255.0.0 dev ens3 metric 1002
 +
 +# route -n
 +Kernel IP routing table
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 +0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1
 +149.236.99.0    0.0.0.0         255.255.255.0            0        0 ens3
 +158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +
 +# route
 +Kernel IP routing table
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 +default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1
 +149.236.99.0    0.0.0.0         255.255.255.0            0        0 ens3
 +158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +</file>
 +
 +Un cop eliminada, les rutes definides són les correctes.
 +
 +=== Enllaços d'interès ===
 +
 +  * [[https://askubuntu.com/questions/893097/how-to-get-rid-of-169-254-0-0-route | How to get rid of 169.254.0.0 route?]]
 +
  
 ===== Eliminar els kernels més antics ===== ===== Eliminar els kernels més antics =====
Line 309: Line 334:
 <file> <file>
 # uname -snr # uname -snr
-Linux cie-56-18.uab.cat 3.10.0-1160.36.2.el7.x86_64+Linux cie-54-214.uab.cat 3.10.0-1160.25.1.el7.x86_64
  
-# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg+# awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg
 0 : CentOS Linux (3.10.0-1160.25.1.el7.x86_64) 7 (Core) 0 : CentOS Linux (3.10.0-1160.25.1.el7.x86_64) 7 (Core)
-1 : CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core) +1 : CentOS Linux (3.10.0-1160.21.1.el7.x86_64) 7 (Core) 
-2 : CentOS Linux (3.10.0-1160.21.1.el7.x86_64) 7 (Core)+2 : CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)
 3 : CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core) 3 : CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)
-4 : CentOS Linux (0-rescue-0f254d22a67c404692c5df67336e787a) 7 (Core+4 : CentOS Linux (0-rescue-e70caa6a85d0497ab6302fee0744e4f5) 7 (Core)
-5 : Debian GNU/Linux (8.11) (on /dev/sda3)+
 </file> </file>
  
Line 324: Line 348:
 <file> <file>
 # df -hl # df -hl
-Filesystem                           Size  Used Avail Use% Mounted on+Filesystem                            Size  Used Avail Use% Mounted on
 [...] [...]
-/dev/mapper/centos_cie--56--18-root   50G   11G   40G  21% / +/dev/mapper/centos_cie--54--214-root   50G  8.8G   42G  18% / 
-/dev/sdb1                           1014M  430M  585M  43% /boot+/dev/sda1                            1014M  320M  695M  32% /boot 
 +/dev/mapper/centos_cie--54--214-home  408G  1.3G  406G   1% /home
 [...] [...]
 </file> </file>
Line 334: Line 359:
  
 <file> <file>
-# package-cleanup --oldkernels --downloadonly +# package-cleanup --oldkernels --downloadonly
 Loaded plugins: fastestmirror, langpacks, refresh-packagekit Loaded plugins: fastestmirror, langpacks, refresh-packagekit
 --> Running transaction check --> Running transaction check
Line 351: Line 376:
  kernel                      x86_64                3.10.0-1160.el7                     @anaconda                 64 M  kernel                      x86_64                3.10.0-1160.el7                     @anaconda                 64 M
  kernel                      x86_64                3.10.0-1160.21.1.el7                @updates                  64 M  kernel                      x86_64                3.10.0-1160.21.1.el7                @updates                  64 M
- kernel-devel                x86_64                3.10.0-1160.el7                     @anaconda                 38 M+ kernel-devel                x86_64                3.10.0-1160.el7                     @base                     38 M
  kernel-devel                x86_64                3.10.0-1160.21.1.el7                @updates                  38 M  kernel-devel                x86_64                3.10.0-1160.21.1.el7                @updates                  38 M
  
Line 383: Line 408:
  kernel                      x86_64                3.10.0-1160.el7                     @anaconda                 64 M  kernel                      x86_64                3.10.0-1160.el7                     @anaconda                 64 M
  kernel                      x86_64                3.10.0-1160.21.1.el7                @updates                  64 M  kernel                      x86_64                3.10.0-1160.21.1.el7                @updates                  64 M
- kernel-devel                x86_64                3.10.0-1160.el7                     @anaconda                 38 M+ kernel-devel                x86_64                3.10.0-1160.el7                     @base                     38 M
  kernel-devel                x86_64                3.10.0-1160.21.1.el7                @updates                  38 M  kernel-devel                x86_64                3.10.0-1160.21.1.el7                @updates                  38 M
  
Line 397: Line 422:
 Transaction test succeeded Transaction test succeeded
 Running transaction Running transaction
 +Warning: RPMDB altered outside of yum.
   Erasing    : kernel.x86_64                                                                                      1/4    Erasing    : kernel.x86_64                                                                                      1/4 
   Erasing    : kernel.x86_64                                                                                      2/4    Erasing    : kernel.x86_64                                                                                      2/4 
Line 417: Line 443:
 <file> <file>
 # df -hl # df -hl
-Filesystem                           Size  Used Avail Use% Mounted on+Filesystem                            Size  Used Avail Use% Mounted on
 [...] [...]
-/dev/mapper/centos_cie--56--18-root   50G   11G   40G  21% / +/dev/mapper/centos_cie--54--214-root   50G  8.7G   42G  18% / 
-/dev/sdb1                           1014M  292M  723M  29% /boot+/dev/sda1                            1014M  222M  793M  22% /boot
 [...] [...]
 </file> </file>
 +
informatica/hp_z230_400sb_centos7_3.txt · Last modified: 2021/08/24 15:42 by miquel