proyectos:linuxservidor-store-lo-part
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
proyectos:linuxservidor-store-lo-part [2019/11/09 17:24] – manuel.floresv | proyectos:linuxservidor-store-lo-part [2020/01/19 02:04] (actual) – [Referencias] manuel.floresv | ||
---|---|---|---|
Línea 17: | Línea 17: | ||
// | // | ||
+ | |||
+ | //**dd**// | ||
+ | |||
+ | // | ||
+ | |||
+ | |||
====== Montado ====== | ====== Montado ====== | ||
Línea 24: | Línea 30: | ||
// | // | ||
+ | |||
+ | // | ||
+ | |||
+ | // | ||
+ | |||
+ | // | ||
+ | |||
+ | |||
+ | UUID=e5c94d45-e620-4b6d-aaa5-f82cb1348b4f none swap sw 0 0 | ||
+ | |||
+ | LABEL=swap none swap sw 0 0 | ||
+ | |||
+ | ====== Montado con Systemd====== | ||
+ | systemd-fstab-generator procesa el archivo /etc/fstab y los convierte a montajes de systemd. | ||
+ | |||
+ | cat / | ||
+ | |||
+ | systemctl cat tmp.mount | ||
+ | |||
+ | systemctl daemon-reload | ||
+ | |||
+ | systemctl enable --now books.mount | ||
+ | systemctl status books.mount | ||
+ | |||
+ | systemctl list-units |grep mount | ||
+ | |||
+ | |||
+ | |||
====== Formateo ====== | ====== Formateo ====== | ||
// | // | ||
Línea 30: | Línea 64: | ||
// | // | ||
+ | |||
+ | ====== SWAP ====== | ||
+ | // | ||
+ | |||
+ | //**free -m**// | ||
+ | |||
+ | grep ctive / | ||
+ | |||
+ | // | ||
+ | |||
+ | // | ||
====== Particiones EXt4 ====== | ====== Particiones EXt4 ====== | ||
Línea 38: | Línea 83: | ||
====== Recuperacion de datos ====== | ====== Recuperacion de datos ====== | ||
+ | // | ||
+ | |||
+ | // | ||
+ | |||
+ | ====== Cifrado ====== | ||
+ | - MODO NORMAL: Crear partición | ||
+ | - MODO NORMAL: cryptsetup luksformat | ||
+ | - MODO NORMAL: cryptsetup luksopen / | ||
+ | - MODO LUKS: mkfs | ||
+ | - MODO LUKS: mount | ||
+ | - MODO LUKS: cryptoclose | ||
+ | - MODO NORMAL: Lo demas | ||
+ | |||
+ | |||
+ | < | ||
+ | crypsetup luksformat /dev/sdc3 | ||
+ | crypsetup luksopen /dev/sdc3 secret | ||
+ | ls -l / | ||
+ | mkfs.xfs / | ||
+ | mount / | ||
+ | BLA | ||
+ | umount / | ||
+ | crypsetup luksclose | ||
+ | |||
+ | |||
+ | tail -n 1 /etc/fstab | ||
+ | / | ||
+ | cat / | ||
+ | secret / | ||
+ | </ | ||
+ | ====== Referencias ====== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * |
proyectos/linuxservidor-store-lo-part.1573320272.txt.gz · Última modificación: por manuel.floresv