This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_z230_400sb_centos7_3 [2021/08/20 17:07] miquel [Instal·lació de l'entorn del TopSpin] |
informatica:hp_z230_400sb_centos7_3 [2021/08/24 15:42] (current) miquel [Comprovació de les rutes] |
||
---|---|---|---|
Line 15: | Line 15: | ||
* '' | * '' | ||
- | El simulacre mostra que els paquets ja estan instal·lats, | + | El simulacre mostra que els paquets |
< | < | ||
Line 44: | Line 44: | ||
* '' | * '' | ||
- | El simulacre mostra que, com en el cas anterior, els paquets ja s'han instal·lat i que no cal fer res. | + | El simulacre mostra que, com en el cas anterior, els paquets |
< | < | ||
Line 65: | Line 65: | ||
===== Connexió i configuració dels dos monitors ===== | ===== Connexió i configuració dels dos monitors ===== | ||
- | <WRAP todo> | + | Connecto |
- | Aprofitar les instruccions | + | |
- | </ | + | * 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 ===== | ||
- | <WRAP todo> | + | No cal fer res. KDE es va triar com entorn gràfic en el moment d' |
- | Aprofitar les instruccions a [[informatica: | + | |
- | </ | + | |
===== Crear els comptes d' | ===== Crear els comptes d' | ||
Line 81: | Line 84: | ||
</ | </ | ||
- | ===== Configurar | + | ===== Configurar |
- | + | ||
- | <WRAP todo> | + | |
- | Aprofitar les instruccions a [[informatica: | + | |
- | </ | + | |
==== Configuració de la xarxa UAB ==== | ==== Configuració de la xarxa UAB ==== | ||
- | Començo per configurar el dispositiu '' | + | Començo per configurar el dispositiu '' |
< | < | ||
Line 97: | Line 96: | ||
# nmcli general hostname | # nmcli general hostname | ||
- | cie-56-18.uab.cat | + | |
+ | < | ||
+ | |||
+ | Veig que encara no he editat el fitxer ''/ | ||
+ | |||
+ | < | ||
+ | # cat / | ||
+ | |||
+ | ## 127.0.0.1 | ||
+ | ### ::1 | ||
+ | |||
+ | 127.0.0.1 | ||
+ | 158.109.54.214 | ||
+ | |||
+ | # The following lines are related to Bruker NMR spectrometers | ||
+ | # DO NOT REMOVE THEM. | ||
+ | # | ||
+ | # An older TS version? | ||
+ | # 149.236.99.99 | ||
+ | |||
+ | # TS 3.6.3 | ||
+ | 149.236.99.90 | ||
+ | |||
+ | 149.236.99.1 | ||
+ | |||
+ | # The following lines are desirable for IPv6 capable hosts | ||
+ | ::1 | ||
+ | fe00::0 ip6-localnet | ||
+ | ff00::0 ip6-mcastprefix | ||
+ | ff02::1 ip6-allnodes | ||
+ | ff02::2 ip6-allrouters | ||
+ | </ | ||
+ | |||
+ | Llavors defineixo el hostname també al NetworkManager i continuo amb la configuració de la xarxa de la UAB | ||
+ | |||
+ | < | ||
+ | # nmcli general hostname cie-54-214.uab.cat | ||
+ | # nmcli general hostname | ||
+ | |||
+ | cie-54-214.uab.cat | ||
# nmcli connection show --active | # nmcli connection show --active | ||
NAME | NAME | ||
- | UAB-LAN | + | UAB-LAN |
# nmcli connection show id UAB-LAN | # nmcli connection show id UAB-LAN | ||
- | connection.id: | + | connection.id: |
- | connection.uuid: | + | connection.uuid: |
connection.stable-id: | connection.stable-id: | ||
connection.type: | connection.type: | ||
[...] | [...] | ||
- | connection.permissions: | + | connection.permissions: |
[...] | [...] | ||
- | 802-3-ethernet.mac-address: | + | 802-3-ethernet.mac-address: |
[...] | [...] | ||
- | GENERAL.NAME: | + | GENERAL.NAME: |
- | GENERAL.UUID: | + | GENERAL.UUID: |
- | GENERAL.DEVICES: | + | GENERAL.DEVICES: |
GENERAL.STATE: | GENERAL.STATE: | ||
GENERAL.DEFAULT: | GENERAL.DEFAULT: | ||
- | [...] -- | + | [...] |
- | IP4.ADDRESS[1]: | + | IP4.ADDRESS[1]: |
IP4.GATEWAY: | IP4.GATEWAY: | ||
IP4.ROUTE[1]: | IP4.ROUTE[1]: | ||
Line 128: | Line 166: | ||
DHCP4.OPTION[1]: | DHCP4.OPTION[1]: | ||
[...] | [...] | ||
- | DHCP4.OPTION[9]: | + | DHCP4.OPTION[9]: |
DHCP4.OPTION[10]: | DHCP4.OPTION[10]: | ||
[..] | [..] | ||
Line 141: | Line 179: | ||
# cd / | # cd / | ||
# cat ifcfg-UAB-LAN | # cat ifcfg-UAB-LAN | ||
- | HWADDR=3C: | + | |
TYPE=Ethernet | TYPE=Ethernet | ||
+ | NAME=UAB-LAN | ||
+ | UUID=5f23e0c4-ba38-4644-98e3-c8a8fc3f3c62 | ||
+ | HWADDR=50: | ||
PROXY_METHOD=none | PROXY_METHOD=none | ||
BROWSER_ONLY=no | BROWSER_ONLY=no | ||
- | ETHTOOL_OPTS=" | ||
BOOTPROTO=none | BOOTPROTO=none | ||
DEFROUTE=yes | DEFROUTE=yes | ||
IPV4_FAILURE_FATAL=yes | IPV4_FAILURE_FATAL=yes | ||
+ | ONBOOT=yes | ||
+ | IPADDR=158.109.54.214 | ||
+ | PREFIX=20 | ||
+ | GATEWAY=158.109.48.1 | ||
+ | DNS1=158.109.0.36 | ||
+ | DNS2=158.109.254.130 | ||
+ | DOMAIN=" | ||
IPV6INIT=no | IPV6INIT=no | ||
- | NAME=UAB-LAN | + | IPV6_AUTOCONF=yes |
- | UUID=be7bd600-74cb-49ef-919f-c3c027459391 | + | IPV6_DEFROUTE=yes |
- | ONBOOT=no | + | IPV6_FAILURE_FATAL=no |
- | USERS=sermnadmin | + | IPV6_ADDR_GEN_MODE=stable-privacy |
- | IPADDR=158.109.56.18 | + | IPV6_PRIVACY=no |
- | PREFIX=20 | + | |
- | GATEWAY=158.109.48.0 | + | |
- | DNS1=158.109.254.130 | + | |
- | DNS2=158.109.0.36 | + | |
- | DOMAIN=uab.es | + | |
</ | </ | ||
==== Configuració de la xarxa de l' | ==== Configuració de la xarxa de l' | ||
- | Pel dispositiu de la xarxa de l' | + | Pel dispositiu de la xarxa de l' |
< | < | ||
- | # ping -c 5 spect | + | # cat ./ifcfg-CONSOLE-LAN |
- | PING spect (149.236.99.90) 56(84) bytes of data. | + | NAME="CONSOLE-LAN" |
- | 64 bytes from spect (149.236.99.90): | + | |
- | 64 bytes from spect (149.236.99.90): | + | |
- | 64 bytes from spect (149.236.99.90): | + | |
- | 64 bytes from spect (149.236.99.90): | + | |
- | 64 bytes from spect (149.236.99.90): | + | |
- | + | ||
- | --- spect ping statistics --- | + | |
- | 5 packets transmitted, | + | |
- | rtt min/ | + | |
- | </ | + | |
- | + | ||
- | El fitxer de configuració d' | + | |
- | + | ||
- | < | + | |
- | # cat ifcfg-CONSOLE-LAN | + | |
ZONE=trusted | ZONE=trusted | ||
USERCTL=no | USERCTL=no | ||
- | NETMASK=255.255.255.0 | + | DEVICE=ens3 |
- | DEVICE=enp55s9 | + | HWADDR=a0: |
TYPE=Ethernet | TYPE=Ethernet | ||
PROXY_METHOD=none | PROXY_METHOD=none | ||
Line 195: | Line 222: | ||
IPV4_FAILURE_FATAL=yes | IPV4_FAILURE_FATAL=yes | ||
IPV6INIT=no | IPV6INIT=no | ||
- | IPV6_AUTOCONF=yes | + | UUID=4d9f6b1a-abb6-4880-ba14-72f2841859e8 |
- | IPV6_DEFROUTE=yes | + | |
- | IPV6_FAILURE_FATAL=no | + | |
- | IPV6_ADDR_GEN_MODE=stable-privacy | + | |
- | NAME=" | + | |
- | UUID=227b37f9-5a73-4dfb-9ad4-60924a6fe3d9 | + | |
ONBOOT=yes | ONBOOT=yes | ||
- | HWADDR=1C: | ||
IPADDR=149.236.99.1 | IPADDR=149.236.99.1 | ||
PREFIX=24 | PREFIX=24 | ||
+ | NETMASK=255.255.255.0 | ||
+ | </ | ||
+ | |||
+ | Comprovo amb '' | ||
+ | |||
+ | < | ||
+ | # ping -c 5 spect | ||
+ | PING spect (149.236.99.90) 56(84) bytes of data. | ||
+ | 64 bytes from spect (149.236.99.90): | ||
+ | 64 bytes from spect (149.236.99.90): | ||
+ | 64 bytes from spect (149.236.99.90): | ||
+ | 64 bytes from spect (149.236.99.90): | ||
+ | 64 bytes from spect (149.236.99.90): | ||
+ | |||
+ | --- spect ping statistics --- | ||
+ | 5 packets transmitted, | ||
+ | rtt min/ | ||
</ | </ | ||
Line 213: | Line 251: | ||
< | < | ||
# nmcli device status | # nmcli device status | ||
- | DEVICE | + | DEVICE |
- | enp1s0 | + | eno1 |
- | enp55s9 | + | ens3 |
- | lo | + | lo loopback |
# 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): | + | 64 bytes from spect (149.236.99.90): |
- | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
- | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
- | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
- | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
--- spect ping statistics --- | --- spect ping statistics --- | ||
5 packets transmitted, | 5 packets transmitted, | ||
- | rtt min/ | + | rtt min/ |
# 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): | + | 64 bytes from gw.uab.es (158.109.0.3): |
- | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
- | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
- | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
- | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
--- gw.uab.cat ping statistics --- | --- gw.uab.cat ping statistics --- | ||
- | 5 packets transmitted, | + | 5 packets transmitted, |
- | rtt min/ | + | rtt min/ |
</ | </ | ||
- | comprovo les rutes definides i veig que són les correctes, | + | comprovo les rutes definides i veig que hi són les correctes, |
< | < | ||
Line 249: | Line 287: | ||
Kernel IP routing table | Kernel IP routing table | ||
Destination | Destination | ||
- | default | + | default |
- | 149.236.99.0 | + | 149.236.99.0 |
- | 158.109.48.0 | + | 158.109.48.0 |
- | link-local | + | link-local |
- | [root@cie-56-18 NetworkManager]# route -n | + | # route -n |
Kernel IP routing table | Kernel IP routing table | ||
Destination | Destination | ||
- | 0.0.0.0 | + | 0.0.0.0 |
- | 149.236.99.0 | + | 149.236.99.0 |
- | 158.109.48.0 | + | 158.109.48.0 |
- | 169.254.0.0 | + | 169.254.0.0 |
+ | </ | ||
+ | |||
+ | però que hi ha una ('' | ||
+ | |||
+ | < | ||
+ | # route del -net 169.254.0.0 netmask 255.255.0.0 dev ens3 metric 1002 | ||
+ | |||
+ | # route -n | ||
+ | Kernel IP routing table | ||
+ | Destination | ||
+ | 0.0.0.0 | ||
+ | 149.236.99.0 | ||
+ | 158.109.48.0 | ||
+ | |||
+ | # route | ||
+ | Kernel IP routing table | ||
+ | Destination | ||
+ | default | ||
+ | 149.236.99.0 | ||
+ | 158.109.48.0 | ||
+ | </ | ||
+ | |||
+ | Un cop eliminada, les rutes definides són les correctes. | ||
+ | |||
+ | ==== Enllaços d' | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ===== Eliminar els kernels més antics ===== | ||
+ | |||
+ | Al llarg del procés d' | ||
+ | |||
+ | < | ||
+ | # uname -snr | ||
+ | Linux cie-54-214.uab.cat 3.10.0-1160.25.1.el7.x86_64 | ||
+ | |||
+ | # awk -F\' ' | ||
+ | 0 : CentOS Linux (3.10.0-1160.25.1.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.36.2.el7.x86_64) 7 (Core) | ||
+ | 3 : CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core) | ||
+ | 4 : CentOS Linux (0-rescue-e70caa6a85d0497ab6302fee0744e4f5) 7 (Core) | ||
+ | </ | ||
+ | |||
+ | i ara ocupen espai a la partició '' | ||
+ | |||
+ | < | ||
+ | # df -hl | ||
+ | Filesystem | ||
+ | [...] | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | [...] | ||
+ | </ | ||
+ | |||
+ | Per eliminar els més antics, faig servir la comanda ''# | ||
+ | |||
+ | < | ||
+ | # package-cleanup --oldkernels --downloadonly | ||
+ | Loaded plugins: fastestmirror, | ||
+ | --> Running transaction check | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel-devel.x86_64 0: | ||
+ | ---> Package kernel-devel.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 205 M | ||
+ | Background downloading packages, then exiting: | ||
+ | exiting because " | ||
+ | </ | ||
+ | |||
+ | Un cop convençut dels canvis proposats, executo la comanda '' | ||
+ | |||
+ | < | ||
+ | # package-cleanup --oldkernels | ||
+ | Loaded plugins: fastestmirror, | ||
+ | --> Running transaction check | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel.x86_64 0: | ||
+ | ---> Package kernel-devel.x86_64 0: | ||
+ | ---> Package kernel-devel.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ====================================================================================================================== | ||
+ | | ||
+ | ====================================================================================================================== | ||
+ | Removing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ====================================================================================================================== | ||
+ | Remove | ||
+ | |||
+ | Installed size: 205 M | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading packages: | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Warning: RPMDB altered outside of yum. | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Erasing | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Removed: | ||
+ | kernel.x86_64 0: | ||
+ | kernel-devel.x86_64 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | i comprovo l' | ||
+ | |||
+ | < | ||
+ | # df -hl | ||
+ | Filesystem | ||
+ | [...] | ||
+ | / | ||
+ | / | ||
+ | [...] | ||
</ | </ | ||