!!!Installazione
!!Installazione base (abilitazione utente root)
Dopo l'installazione da cd seguendo il wizard entrare nel sistema con l'utente creato e abilitare root con il comando:
%%prettify 
{{{
sudo passwd root
}}}
a questo punto è possibile loggarsi come root

!!Installazione base (network interfaces)
La configurazione della rete è contenuta nel file:

/etc/network/interfaces

per mettere un indirizzo statico bisogna avere un entry del tipo:

%%prettify 
{{{
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.125
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
}}}
Nomi schede di rete :
ifconfig -a fa vedere tutte le schede di rete
nel file /etc/udev/rules.d/70-persistent-net.rules ci sono le corrispondenze MAC address nomi schede di rete

!!Installazione base (apt e aptitude)
Controllare la lista dei repository nel file:

/etc/apt/sources.list
aggiungo i mirror
%%prettify 
{{{
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
}}}
fare un update dei pacchetti disponibili attraverso il comando:
%%prettify 
{{{
apt-get update
}}}
fare un update della distribuzione attraverso il comando
%%prettify 
{{{
aptitude full-upgrade
}}}
fare un reboot della macchina

!Abilitare la bash-completion
Editare /etc/bash.bashrc e decommentare 
%%prettify 
{{{
#if [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#fi
}}}
/%
riloggarsi


!!Installazione base (abilitazione comando ll)
 	 modificare il file:
/root/.bashrc

decommentare le righe:
%%prettify 
{{{
# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
}}}
!!Installazione base (gestione servizi)
Per la gestione dei servizi programma da installare:
%%prettify 
{{{
aptitude install sysv-rc-conf
#poi lo lancio
sysv-rc-conf
}}}

dall'interfaccia si vedono tutti i servizi attivi nei vari run-level
!!Installazione base (vi con colori)
%%prettify 
{{{
apt-get install vim-full
}}}
decommentare in vimrc la linea  "syntax on" line
!!Gestione pacchetti
lista dei pacchetti installati
%%prettify 
{{{
dpkg --get-selections
}}}
installa / rimuovi /cerca pacchetti
%%prettify 
{{{
aptitude install xxx
aptitude remove xxx
#purge rispetto a rmove elimina anche i file di configurazione
aptitude purge xxx
aptitude search xxx
}}}
!!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
}}}
!!Gestione variabili ambiente
/etc/enviroment setto il PATH
e aggiungo la linea per JAVA_HOME [installazione java|http://www.wiki.telnext.com/Wiki.jsp?page=Pagename]

!!Gestione, installazione RAID software
#[Da procedura installazione UBUNTU]
#[Da macchina UBUNTU funzionante]


“lsb_release -a” – will show you all information about your Ubuntu version