This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_z400_600_centos7_4 [2021/08/19 15:28] miquel [Configurar de la connexió amb la consola] |
informatica:hp_z400_600_centos7_4 [2021/08/23 15:16] (current) miquel [Enllaços d'interès] |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Crear els comptes d' | ===== Crear els comptes d' | ||
- | < | + | < |
- | Crear: nmrsu, nmr, sermnuab...: | + | Comentar la creació dels comptes d' |
* '' | * '' | ||
* '' | * '' | ||
Line 20: | Line 21: | ||
</ | </ | ||
- | ===== Configurar | + | ===== Configurar la connexió amb la consola ===== |
La configuració final prevista dels dos dispositius de xarxa és, | La configuració final prevista dels dos dispositius de xarxa és, | ||
Line 373: | Line 374: | ||
Destination | Destination | ||
default | default | ||
- | 149.236.99.0 | + | 149.236.99.0 |
158.109.48.0 | 158.109.48.0 | ||
- | 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 | ||
- | [root@cie-56-18 NetworkManager]# | ||
</ | </ | ||
Line 398: | Line 396: | ||
* [[https:// | * [[https:// | ||
+ | ===== Eliminar els kernels més antics ===== | ||
+ | |||
+ | Al llarg del procés d' | ||
+ | |||
+ | < | ||
+ | # uname -snr | ||
+ | Linux cie-56-18.uab.cat 3.10.0-1160.36.2.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.36.2.el7.x86_64) 7 (Core) | ||
+ | 2 : CentOS Linux (3.10.0-1160.21.1.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) | ||
+ | 5 : Debian GNU/Linux (8.11) (on /dev/sda3) | ||
+ | </ | ||
+ | |||
+ | 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 | ||
+ | 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 | ||
+ | [...] | ||
+ | / | ||
+ | / | ||
+ | [...] | ||
+ | </ |