Automating Ubuntu Installation with Kickstart L'automazione di installazione di Ubuntu con Kickstart
Kickstart is a method for providing a predetermined installation configuration for installing Ubuntu. Kickstart è un metodo per fornire un predeterminato di installazione di configurazione per l'installazione di Ubuntu. Instead of having a user enter responses on the install screens, the responses can be listed in a kickstart file from which the install process can read. Invece di avere un utente di inserire le risposte sul installare schermi, le risposte possono essere elencati in un file kickstart da cui il processo di installazione è in grado di leggere. You will need to create a kickstart configuration file on a working Ubuntu system. È necessario creare un file di configurazione di kickstart su un sistema di lavoro di Ubuntu. (Kickstart configuration files have the extension .cfg.) A kickstart file is created for every Ubuntu system that holds the install responses used for that installation. (Kickstart file di configurazione hanno l'estensione. Cfg.) Un file kickstart viene creato per ogni sistema di Ubuntu che contiene l'installazione utilizzato per le risposte che l'installazione. It is located in the root directory at /root/anaconda-ks.cfg. Si trova nella root directory in / root / anaconda-ks.cfg.
If you plan to perform the same kind of installation on computers that would be configured in the same way—such as on a local network with hosts that have the same hardware—you could use this kickstart file as a model for performing installations. Se si pensa di eseguire lo stesso tipo di installazione sul computer che potrebbero essere configurati allo stesso modo, ad esempio su una rete locale con gli host che hanno lo stesso hardware è possibile utilizzare questo file kickstart come un modello per l'esecuzione di impianti. It is a text file that you can edit, with entries for each install response, such as the following for keyboard and time zone: Si tratta di un file di testo che è possibile modificare, con le voci per ogni installazione di risposta, come ad esempio i seguenti per la tastiera e il fuso orario:
keyboard us tastiera noi
timezone America/LosAngeles fuso orario America / LosAngeles
More complex responses may take options such as network, which uses --device for the device interface and bootproto for the boot client: Risposte più complesse possono assumere opzioni, come la rete, che utilizza - dispositivo per il dispositivo di interfaccia e BOOTPROTO per l'avvio del client:
network --device eth0 --bootproto dhcp rete - dispositivo eth0 - BOOTPROTO dhcp
Display configuration is more complex, specifying a video card and monitor type, which could vary. Visualizzare la configurazione è più complessa, specificando una scheda video e monitor tipo, che potrebbero variare. You can have the system skip this by using xskip. È possibile avere il sistema di saltare questo utilizzando xskip. The first entry is the install source. La prima voce è la fonte di installazione. This will be cdrom for a CD/DVD-ROM install. Questo sarà cdrom per un CD / DVD-ROM di installazione. If you want to use an NFS or Web install instead, you could add that information here, specifying the server name or Web site. Se si desidera utilizzare uno NFS o Web installare invece, si potrebbe aggiungere che le informazioni qui, specificando il nome del server o sito Web.
You can also use the system-config-kickstart tool to create your kickstart file. È inoltre possibile utilizzare il system-config-kickstart strumento per creare il file kickstart. This provides a graphical interface for each install screen. Questo fornisce una interfaccia grafica per installare ogni schermo. First install the tool. In primo luogo l'installazione dello strumento. Then, to start it, choose Applications | System Tools | Kickstart. Quindi, per iniziare, scegli Applicazioni | Strumenti di sistema | Kickstart. The help manual provides a detailed description on how to use this tool. L'aiuto manuale fornisce una descrizione dettagliata su come utilizzare questo strumento.
The name of the configuration file should be ks.cfg. Il nome del file di configurazione dovrebbe essere ks.cfg. Once you have created the kickstart file, you can copy it to CD/DVD or even to a floppy disk. Dopo aver creato il file kickstart, è possibile copiarlo su CD / DVD o anche su un disco floppy. You could also place the file on a local hard disk partition (such as a Windows or Linux partition) if you have one. Si potrebbe anche mettere il file su un disco rigido locale partizione (come Windows o Linux partizione), se ne hai uno. For a network, you could place the file on an NFS server, provided your network is running a DHCP server to enable automatic network configuration on the install computer. Per una rete, è possibile posizionare il file su un server NFS, a condizione che la rete è in esecuzione un server DHCP per consentire la configurazione di rete automatica l'installazione sul computer. When you start the installation, at the boot prompt you specify the kickstart file and its location. Quando si avvia l'installazione, al prompt boot si specifica il file kickstart e la sua posizione. In the following example, the kickstart file is located on a floppy disk as /dev/fd0: Nel seguente esempio, il file kickstart si trova su un disco floppy come / dev/fd0:
linux ks=floppy linux ks = floppy
You can use hd:device to specify a particular device such as a hard drive or second CD-ROM drive. È possibile utilizzare hd: dispositivo di specificare un particolare dispositivo, come un disco rigido o secondo CD-ROM. For an NFS site, you would use nfs:. Per un sito NFS, si può usare NFS:.
Source of Information : McGraw Hill Ubuntu The Complete Reference Fonte delle informazioni: McGraw Hill Ubuntu il riferimento completo
Written by magakos. Scritto da magakos. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
no comments nessun commento . .
Read more articles on Per saperne di più articoli su Ubuntu Linux Ubuntu Linux and e otherSoftware otherSoftware . .
- [+] Digg [+] Digg : Feature this article : Feature questo articolo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Aggiungi ai preferiti questo articolo
- [+] Furl [+] Furl : Bookmark this article : Aggiungi ai preferiti questo articolo















