| At line 55 added 17 lines |
| %%prettify |
| {{{ |
| apt-get dist-update |
| }}} |
| update della distribuzione ...seguire con reboot |
| !Abilitare la bash-completion |
| Editare /etc/bash.bashrc e decommentare |
| %%prettify |
| {{{ |
| #if [ -f /etc/bash_completion ]; then |
| # . /etc/bash_completion |
| #fi |
| }}} |
| /% |
| riloggarsi |
|
|
| At line 65 changed one line |
| alias l='ls -CF |
| alias l='ls -CF' |
| At line 118 added 80 lines |
| !!Gestione sensori per temperature server: |
| %%prettify |
| {{{ |
| apt-get install lm-sensors hddtemp |
| sensors-detect |
| }}} |
| {{{ |
| Rispondere a ciascuna domanda con YES e confermare con Invio. Al termine della rilevazione sarà mostrato qualcosa del genere, nel nostro esempio è stato rilevato il sensore ITE IT8705F per il driver it87: |
|
| Now follows a summary of the probes I have just done. |
| Just press ENTER to continue: |
|
| Driver `it87' (should be inserted): |
| Detects correctly: |
| * ISA bus, address 0x290 |
| Chip `ITE IT8705F Super IO Sensors' (confidence: 9) |
|
| I will now generate the commands needed to load the required modules. |
| Just press ENTER to continue: |
|
| Al termine sarà generato un rapporto dei driver necessari per i sensori rilevati: |
|
| To load everything that is needed, add this to /etc/modules: |
|
| #----cut here---- |
| # Chip drivers |
| it87 |
| #----cut here---- |
|
| Do you want to add these lines automatically? (yes/NO) |
|
| Rispondere all’ultima domanda con YES per avviare automaticamente il driver necessario al riavvio del sistema. Tuttavia questa operazione non caricherà immediatamente i drivers necessari per cui, o riavviamo adesso il sistema o li avviamo uno per uno a mano con sudo modprobe nomedriver, nel nostro caso: |
|
| sudo modprobe it87 |
|
| E’ quindi possibile provare la rilevazione delle temperature e altri dati eseguendo: |
|
| sensors |
|
| it87-isa-0290 |
| Adapter: ISA adapter |
| VCore 1: +1.52 V (min = +0.00 V, max = +4.08 V) |
| VCore 2: +1.92 V (min = +0.00 V, max = +4.08 V) |
| +3.3V: +3.18 V (min = +0.00 V, max = +4.08 V) |
| +5V: +4.89 V (min = +0.00 V, max = +6.85 V) |
| +12V: +11.78 V (min = +0.00 V, max = +16.32 V) |
| -12V: -20.00 V (min = -27.36 V, max = +3.93 V) |
| -5V: -8.37 V (min = -13.64 V, max = +4.03 V) |
| Stdby: +5.00 V (min = +0.00 V, max = +6.85 V) |
| VBat: +0.00 V |
| fan1: 3924 RPM (min = 664 RPM, div = 8 ) |
| fan2: 1854 RPM (min = 664 RPM, div = 8 ) |
| M/B Temp: +47.0°C (low = +127.0°C, high = +127.0°C) sensor = transistor |
| CPU Temp: +127.0°C (low = +127.0°C, high = +127.0°C) sensor = transistor |
| Temp3: +46.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode |
|
| Il risultato mostrerà le temperature, i voltaggi e la rotazione delle ventole di tutti i sensori rilevati. Tuttavia non vogliamo accontentarci di questo risultato. Eseguendo: |
|
| sudo hddtemp /dev/sd? |
|
| /dev/sda: Maxtor 6Y080P0: 51°C |
| /dev/sdb: Maxtor 6Y080P0: 45°C |
| /dev/sdc: Maxtor 6Y080M0: 61°C |
|
|
| }}} |
|
|
|
| !!Gestione locales |
|
|
| Il locale per le lettere accentate e caratteri strani è ISO-8859-1 !! |
| quindi in /etc/default/locale metto ISO e devo crearlo anche sotto /var/lib/locales/supported.d/local !! |
| poi faccio: |
| %%prettify |
| {{{ |
| locale-gen --purge |
| dpkg-reconfigure locales |
| }}} |
| At line 199 added 2 lines |
| “lsb_release -a” – will show you all information about your Ubuntu version |
|
| At line 207 added 2 lines |
|
|