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 [2021/08/06 15:53] miquel [Instal·lació de CentOS 7] |
informatica:hp_z400_600_centos7 [2021/08/25 15:03] miquel removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Instal·lació de CentOS 7 ====== | + | ====== Instal·lació de CentOS 7 - 5a part ====== |
- | S' | + | En aquesta cinquena part de la instal·lació del CentOS els objectius són: |
- | <WRAP info> | + | * Copiar el contingut de les carpetes " |
- | A la [[informatica: | + | * Organitzar les carpetes |
+ | * Configurar el TopSpin i l' | ||
- | * cóm afegir nous // | + | ===== Copiar les carpetes “home” |
- | * cóm guardar la llista de paquets instal·lats en un ordinador que es vol replicar, en el nostre cas, l' | + | |
- | * cóm processar la llista de paquets per instal·lar-los | + | |
- | * cóm instal·lar el controlador adient per la targeta gràfica de l' | + | |
- | A la [[informatica: | + | Llevat |
- | * cóm completar la configuració de l' | + | < |
+ | # du -hs data data-old-600-wkstation/ | ||
+ | 579G data | ||
+ | 21G | ||
+ | </file> | ||
- | Al final de la tercera part, el sistema operatiu instal·lat hauria | + | la resta del contingut |
- | </ | + | |
+ | < | ||
+ | # du -hs Desktop/ Documents/ Downloads/ Estradiol/ miriam/ Music/ nmarco/ NMRSIM_SESSION/ | ||
+ | 201M Desktop/ | ||
+ | 1.2G Documents/ | ||
+ | 1.2G Downloads/ | ||
+ | 16K | ||
+ | 104K miriam/ | ||
+ | 4.0K Music/ | ||
+ | 516K nmarco/ | ||
+ | 332K NMRSIM_SESSION/ | ||
+ | 1.7M PDF/ | ||
+ | 29M | ||
+ | 4.0K Public/ | ||
+ | 100K Temperatura/ | ||
+ | 4.0K Templates/ | ||
+ | 80K test/ | ||
+ | 4.0K Videos/ | ||
+ | </ | ||
- | ===== Documentació oficial ===== | + | Les carpetes '' |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | ===== Altra documentació ===== | + | |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | ===== Instal·lació - Problemes inicials ===== | + | |
- | + | ||
- | La instal·lació es fa a partir del CD-ROM amb la imatge " | + | |
- | + | ||
- | El primer intent no funciona i dona un error " | + | |
- | + | ||
- | Després de cercar a Internet, trobo un [[https:// | + | |
- | + | ||
- | < | + | |
- | + | ||
- | Abans de provar-ho, intento instal·lar el sistema operatiu des del menú " | + | |
- | + | ||
- | De forma que em descarrego | + | |
<WRAP todo> | <WRAP todo> | ||
- | ==== Enllaços a consultar ==== | + | Comprovar el contingut |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | <WRAP tip> | + | |
- | En alguns enllaços s' | + | |
</ | </ | ||
- | </WRAP> | + | ===== Copiar les antigues carpetes a “/opt” al nou disc dur ===== |
- | Finalment, afegint l' | + | Copio el contingut |
- | + | ||
- | * prémer la tecla < | + | |
- | * esborrar '' | + | |
- | * afegir '' | + | |
- | * prémer < | + | |
- | + | ||
- | Ara el problema és que el programa no detecta correctament la mida de la pantalla, segurament perquè no té els controladors adients per la targeta gràfica Nvidia de l'ordinador, i la interfície gràfica del programa d'instal·lació és massa gran i només es mostra una part de la finestra. [[https:// | + | |
- | + | ||
- | * Troubleshooting > " | + | |
- | + | ||
- | perquè el kernel faci servir les opcions '' | + | |
- | + | ||
- | ===== Instal·lació en mode text ===== | + | |
- | + | ||
- | Una possibilitat seria executar el programa d' | + | |
- | + | ||
- | Ho provo i amb el mode '' | + | |
- | + | ||
- | ==== Opcions d' | + | |
- | + | ||
- | * 1) Language settings: English (United States) | + | |
- | * 2) Time settings: | + | |
- | * 1) Change timezone: Europe/Madrid | + | |
- | * 2) Configure NTP servers: time.google.com | + | |
- | * 3) Installation source: | + | |
- | * 3) Network: https:// | + | |
- | * 4) Software selection | + | |
- | * FIXME pendent del punt anterior, pendent de configurar la xarxa | + | |
- | * 5) Installation Destination | + | |
- | * 2) Samsung SSD 860: 465.76 GiB (sdb) | + | |
- | * Autopartitioning Options | + | |
- | * 2) Use All Space | + | |
- | * Partition Scheme: | + | |
- | * 3) LVM | + | |
- | * 6) Kdyn (Kdump is enabled) | + | |
- | * 7) Network configuration | + | |
- | * FIXME i <color black/ | + | |
- | + | ||
- | Com que no puc configurar la xarxa perquè els servidors de la UAB estan avui fora de servei, el programa d'instal·lació no pot accedir | + | |
- | + | ||
- | Per aprofitar | + | |
- | + | ||
- | ===== Instal·lació gràfica - Problema amb la resolució ===== | + | |
- | + | ||
- | Hi ha un problema amb el mode gràfic del programa d' | + | |
- | + | ||
- | A la secció [[https:// | + | |
- | + | ||
- | ^ Opció recomanada | + | |
- | | Fer servir l' | + | |
- | | Afegir l' | + | |
- | | Afegir l' | + | |
- | | Afegir les opcions '' | + | |
- | + | ||
- | La combinació de les opcions '' | + | |
- | + | ||
- | ===== Instal·lació gràfica ===== | + | |
- | + | ||
- | Un cop resolt el problema amb la resolució de la pantalla, faig servir l' | + | |
- | + | ||
- | ==== Software Selection ==== | + | |
- | + | ||
- | Aquesta és la selecció inicial de programes a instal·lar: | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP half column> | + | |
- | * Minimal Install | + | |
- | * Compatibility Libraries | + | |
- | * Development Tools | + | |
- | * System Administration Tools | + | |
- | * Compute Node | + | |
- | * Hardware Monitoring Tools | + | |
- | * Network File System Client | + | |
- | * Performance Tools | + | |
- | * System Administration Tools | + | |
- | * Infrastructure Server | + | |
- | * File and Storage Server | + | |
- | * File and Print Server | + | |
- | * no additional sotware added | + | |
- | </ | + | |
- | + | ||
- | <WRAP half column> | + | |
- | + | ||
- | * Basic Web Server | + | |
- | * PHP Support | + | |
- | * Python | + | |
- | * Virtualization Host | + | |
- | * no additional sotware added | + | |
- | * Server with GUI | + | |
- | * no additional sotware added | + | |
- | * GNOME Desktop | + | |
- | * GNOME Applications | + | |
- | * KDE Plasma Workspaces | + | |
- | * no additional software added | + | |
- | * Development and Creative Workstation | + | |
- | * no additional sofware added | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | Un cop completada | + | |
- | + | ||
- | Llavors, per fi! comença a descarregar-se el sistema operatiu i, uns minuts més tard ((es nota que la xarxa és ràpida, que el servidor està a la mateixa xarxa d'alta velocitat, i que el disc dur és d' | + | |
- | + | ||
- | <WRAP box> | + | |
- | Complete! CentOS is now successfully installed and ready for you to use! | + | |
- | + | ||
- | Go ahead and reboot to start using it! < | + | |
- | </ | + | |
- | + | ||
- | ===== Primera execució | + | |
- | + | ||
- | Després de prémer el botó < | + | |
- | + | ||
- | <WRAP todo> | + | |
- | **Cal comprovar l' | + | |
- | + | ||
- | Durant el procés de càrrega | + | |
- | + | ||
- | Contingut del fitxer de registre //dmesg//: | + | |
< | < | ||
- | root@cie-56-18:/ | + | # du -hs Bruker/ topspin* |
- | [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-1160.el7.x86_64 root=/ | + | 174M Bruker/ |
- | [ 0.000000] ACPI has been disabled or is not available on this hardware. | + | 48M |
- | [ 0.000000] Kernel command line: BOOT_IMAGE=/ | + | 1.6G topspin2.1 |
- | [ 0.264566] ACPI: Interpreter disabled. | + | 2.9G topspin3.1 |
- | [ 0.264571] ACPI Exception: AE_BAD_PARAMETER, | + | 6.2G topspin3.5pl6 |
- | [ 0.267297] pci 0000: | + | 2.6G topspin3.6.3 |
- | [ 0.280324] pnp: PnP ACPI: disabled | + | |
- | [ 3.853605] ACPI Exception: AE_BAD_PARAMETER, | + | |
- | [ 3.853614] ACPI Exception: AE_BAD_PARAMETER, | + | |
- | [ | + | |
- | root@cie-56-18:/ | + | |
</ | </ | ||
- | </ | + | esdevé |
- | Un cop carregat el CentOS, surt la pantalla " | + | <file> |
- | + | ||
- | * Licensing: License Information | + | |
- | * License not accepted | + | |
- | * System: Network & Hostname | + | |
- | * Wired (enp1s0) connected | + | |
- | + | ||
- | El primer, " | + | |
- | + | ||
- | Un cop acceptada la nova configuració, | + | |
- | + | ||
- | <WRAP todo> | + | |
- | **Cal comprovar perquè l' | + | |
- | + | ||
- | La versió de GNOME que s' | + | |
- | </ | + | |
- | + | ||
- | ===== LVM i particions ===== | + | |
- | + | ||
- | Comentar les particions i volums lògics creats automàticament pel programa d' | + | |
- | + | ||
- | <WRAP todo> | + | |
- | + | ||
- | Comentar les instruccions i resultats següents: | + | |
- | + | ||
- | <code bash> | + | |
- | + | ||
- | # fdisk --list /dev/sdb | + | |
- | + | ||
- | Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors | + | |
- | Units: sectors of 1 * 512 = 512 bytes | + | |
- | Sector size (logical/ | + | |
- | I/O size (minimum/ | + | |
- | Disklabel type: dos | + | |
- | Disk identifier: 0x000d43b9 | + | |
- | + | ||
- | Device | + | |
- | / | + | |
- | / | + | |
- | + | ||
- | # mkdir -vp / | + | |
- | # mount / | + | |
- | # mount / | + | |
- | # mount /dev/sdb1 / | + | |
- | + | ||
- | # pvscan | + | |
- | PV / | + | |
- | Total: 1 [464.76 GiB] / in use: 1 [464.76 GiB] / in no VG: 0 [0 ] | + | |
- | + | ||
- | # pvdisplay | + | |
- | --- Physical volume --- | + | |
- | PV Name / | + | |
- | VG Name | + | |
- | PV Size | + | |
- | Allocatable | + | |
- | PE Size 4.00 MiB | + | |
- | Total PE 118978 | + | |
- | Free PE 1 | + | |
- | Allocated PE 118977 | + | |
- | PV UUID | + | |
- | + | ||
- | # vgscan | + | |
- | Reading all physical volumes. | + | |
- | Found volume group " | + | |
- | + | ||
- | # vgdisplay | + | |
- | --- Volume group --- | + | |
- | VG Name | + | |
- | System ID | + | |
- | Format | + | |
- | Metadata Areas 1 | + | |
- | Metadata Sequence No 4 | + | |
- | VG Access | + | |
- | VG Status | + | |
- | MAX LV 0 | + | |
- | Cur LV 3 | + | |
- | Open LV 2 | + | |
- | Max PV 0 | + | |
- | Cur PV 1 | + | |
- | Act PV 1 | + | |
- | VG Size | + | |
- | PE Size 4.00 MiB | + | |
- | Total PE 118978 | + | |
- | Alloc PE / Size | + | |
- | Free PE / Size 1 / 4.00 MiB | + | |
- | VG UUID | + | |
- | + | ||
- | # lvscan | + | |
- | ACTIVE | + | |
- | ACTIVE | + | |
- | ACTIVE | + | |
- | + | ||
- | # lvdisplay | + | |
- | --- Logical volume --- | + | |
- | LV Path / | + | |
- | LV Name swap | + | |
- | VG Name centos_cie-56-18 | + | |
- | LV UUID QHh9Y1-Elkq-sn0X-lsXo-jWYz-Afkh-RRLy4Z | + | |
- | LV Write Access | + | |
- | LV Creation host, time cie-56-18.uab.es, | + | |
- | LV Status | + | |
- | # open 0 | + | |
- | LV Size 5.88 GiB | + | |
- | Current LE | + | |
- | Segments | + | |
- | Allocation | + | |
- | Read ahead sectors | + | |
- | - currently set to 256 | + | |
- | Block device | + | |
- | + | ||
- | --- Logical volume --- | + | |
- | LV Path / | + | |
- | LV Name home | + | |
- | VG Name centos_cie-56-18 | + | |
- | LV UUID 3Rj2MG-IlTr-f0PV-Es92-T3Fh-cqE7-8AMjcc | + | |
- | LV Write Access | + | |
- | LV Creation host, time cie-56-18.uab.es, | + | |
- | LV Status | + | |
- | # open 1 | + | |
- | LV Size 408.88 GiB | + | |
- | Current LE | + | |
- | Segments | + | |
- | Allocation | + | |
- | Read ahead sectors | + | |
- | - currently set to 256 | + | |
- | Block device | + | |
- | + | ||
- | --- Logical volume --- | + | |
- | LV Path / | + | |
- | LV Name root | + | |
- | VG Name centos_cie-56-18 | + | |
- | LV UUID U9D4Dt-2dBH-5ifa-FQSF-73OY-AALG-Ablh2s | + | |
- | LV Write Access | + | |
- | LV Creation host, time cie-56-18.uab.es, | + | |
- | LV Status | + | |
- | # open 1 | + | |
- | LV Size 50.00 GiB | + | |
- | Current LE | + | |
- | Segments | + | |
- | Allocation | + | |
- | Read ahead sectors | + | |
- | - currently set to 256 | + | |
- | Block device | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | ==== Enllaços ==== | + | |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
+ | </ | ||