lunedì 1 dicembre 2008

PRIMI PASSI

Premetto che l'autore di questo articolo è il nostro ~FullSyst3m~ che per strani problemi non è riuscito a postare.

In questo articolo vedremo i primi passi più importanti da fare dopo aver installato la nostra distro, e cioè:
  1. Aggiunta dei repository
  2. Aggiornamento dei pacchetti
  3. Collegamento alla rete
Connessione ad internet

Qui tratterò come creare una connessione ad internet tramite modem esterno seriale 56k. I passaggi sono semplicissimi. Per prima cosa installiamo gnome-ppp, qua trovate il .deb autoinstallante per sistemi a 32 bit, qua quello per sistemi a 64 bit.

Dopodichè aprite il programma, inserite nome utente, password e numero della connessione e cliccate su Configura. In configura selezionate la porta del modem (di solito ttyS1) e deselezionate "Attendi il segnale di linea", poi andate sul tab "Opzioni" e selezionate tutto, tranne "Abbandona la connessione se la linea è occupata" e "Invia risposta personalizzata". Fatto questo, chiudete la finestra di configurazione, cliccate su "Connetti" e siete pronti per esplorare la grande rete ;-)

Aggiunta dei repository e aggiornamento dei pacchetti

La prima cosa da fare dopo aver installato il proprio sistema e aver configurato la connessione ad internet è quella di aggiungere una bella lista di repository per poter installare i programmi che più vi aggradano. In questo articolo vi presento due modi di aggiungere i repo, manualmente e in automatico tramite un simpatico script.

Metodo manuale

Aprite il terminale e scrivete:

sudo gedit /etc/apt/sources.list

vi troverete davanti un file tipo questo:


# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.2)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
#GMCworld
deb http://gmcworld.altervista.org/ubuntu/ binary/

deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted

deb http://apt.wicd.net hardy extras


ora aggiungete tutti i repository che volete alla fine del file, un repository per ogni riga. Ad esempio se voleste aggiungere il repository della VirtualMachine dovreste mettere alla fine del sources.list queso link:

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free

quindi alla fine avremo:


# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.2)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
#GMCworld
deb http://gmcworld.altervista.org/ubuntu/ binary/

deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted

deb http://apt.wicd.net hardy extras


deb http://download.virtualbox.org/virtualbox/debian intrepid non-free


Chiudete, salvate il file e adesso dovete aggiornare la lista dei pacchetti, scrivete nel terminale:

sudo apt-get update

e aspettate che finisca il tutto. Quando finisce siete pronti per poter installare i programmi che volete, a patto che siano presenti nei repository ovviamente ;-)

Metodo automatico

Scaricate questo script, salvatelo dove volete e poi aprite il terminale. Andate nella directory dove avete salvato il file, ad esempio se siete nella home e il file lo avete salvato nel desktop scrivete nel terminale:

cd Scrivania

e per lanciare lo script basta dare:

sudo ./script.sh

in questo caso

sudo ./jd.sh

vedrete che lo script vi si avvierà. Seguite la procedura guidata e alla fine avrete i vostri bei repository aggiornati e pronti all’uso.
In alternativa potete avviare lo script aprendolo con un doppio clic e cliccando su "Run" o "Esegui".

ATTENZIONE: lo script fa anche altre operazione, quindi leggete bene prima di dare conferme.

Alla prossima,
byez ;-)

Nessun commento: