| Altre pagine: | 1] Alix mini web Server | 3] Configurazione | 5] Gestione tramite interfaccia WEB | ||
|---|---|---|---|---|---|
| 2] Preparazione | 4] Installazione Kernel | 6] Backup della CompactFlash |
Configurazione del sistema operativo
In questa pagina è dedicata alla gestione dei file di configurazione necessari della nostra scheda Alix.
Proseguire l’ installazione sulla CompactFlash
Fare il mount delle cartelle necessarie.
Cambio della root.
# mount --bind /proc /mnt/cf/proc
# mount --bind /sys /mnt/cf/sys
# chroot /mnt/cf /bin/bash
Creare / Adattare i file di configurazione
Il file /etc/fstab.
# FSTAB FOR BASE SYSTEM
proc /proc proc defaults 0 0
/dev/hda1 / ext3 noatime,errors=remount-ro,commit=120 0 1
tmpfs /tmp tmpfs defaults,noatime 0 0
tmpfs /var/tmp tmpfs defaults,noatime 0 0
tmpfs /var/run tmpfs defaults 0 0
tmpfs /var/log tmpfs defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0
I file elencati sotto dovranno essere adattati alle proprie esigenze.
Il file /etc/hostname con il nome del server
alix-1
Il file /etc/hosts
127.0.0.1 localhost
127.0.1.1 alix-1.schaubh.ch alix-1
Il file /etc/resolv.conf
search *
nameserver 151.99.125.1
nameserver 195.168.1.111
nameserver 194.230.1.103
Il file /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Installazione dei pacchetti aggiuntivi
Per evitare dei warnings durante l’ installazione impostare:
# export LC_ALL=C
Installare wget e ssh
# apt-get install wget ssh
Aggiungere alla fine del file /etc/apt/sources.list queste linee.
deb-src http://ch.archive.ubuntu.com/ubuntu hardy main
deb http://www.voyage.hk/dists/0.6 ./
deb-src http://www.voyage.hk/dists/0.6 ./
Prelevare ed installare la chiave pubblica pgp
Impostare i seguenti comandi:
# wget http://www.voyage.hk/dists/experimental/archive.key -O chiave
# apt-key add chiave
Aggiornare l’ elenco dei pacchetti
Impostare il seguente comando:
# apt-get update
Cambiare la lingua di default
Questa procedura è facoltativa.
La lista delle lingue supportate si trova nel file: /usr/share/i18n/SUPPORTED
Creare / mutare il file: /var/lib/locales/supported.d/local con lingua desiderata.
Esempio:
it_CH.UTF-8 UTF-8
Per rendere effettive le modifiche impostare:
# dpkg-reconfigure locales
Per riconfigurare console impostare:
# dpkg-reconfigure console-setup
Pagina precedente |
Pagina successiva ![]() |

Pagina precedente

