Outils pour utilisateurs

Outils du site


informatique:linux:kickstart

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
informatique:linux:kickstart [2008/06/19 13:54]
benoit créée
informatique:linux:kickstart [2018/09/06 19:10] (Version actuelle)
Ligne 1: Ligne 1:
 ===== Deploiement sous Redhat 4 avec kickstart par le réseau ===== ===== Deploiement sous Redhat 4 avec kickstart par le réseau =====
 +
 +
 +
 +
 +
  
  
Ligne 8: Ligne 13:
   - Lancer l'une des commandes ci-dessous pour lancer l'​installation   - Lancer l'une des commandes ci-dessous pour lancer l'​installation
  
-Avec un dhcp sur le réseau : **linux ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg**+  * Avec un dhcp sur le réseau : **linux ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg** 
 + 
 +  * Sans dhcp sur le réseau : **linux ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg ksdevice=eth0** 
 + 
 +  * Si drivers externe: **linux dd ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg** 
 + 
 +  * Fichier KS sur clé USB: **linux ks=hd:​sdc1:/​anaconda-ks.cfg** 
 + 
 +:!: Si l'​installeur ne trouve pas le fichier ''​anaconda-ks.cfg''​ sur la clé USB. Faire ''​Alt F4''​ pour afficher l'​écran des messages de diagnostique,​ retirer et remettre la clé USB. Le nom du device sera afficher à l'​ecran. Pour revenir à l'​écran d'​installation ''​Alt F1''​ et indiquer le bon device. 
 + 
 +:!: Pour une installation par la réseau le CD distribution Linux avec ses RPMS doit être disponible par HTTP, FTP ou NFS. 
 + 
 + 
 + 
 + 
 + 
  
-Sans dhcp sur le réseau : **linux ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg ksdevice=eth0** 
  
-Si drivers externe: **linux dd ks=ftp://​10.0.0.2/​RHEL/​anaconda-ks.cfg** 
  
 ==== Avec boot PXE ==== ==== Avec boot PXE ====
Ligne 22: Ligne 41:
  
   # Kickstart file automatically generated by anaconda.   # Kickstart file automatically generated by anaconda.
- +  ​
-  url --url ftp://​10.0.0.2/​RHEL/​RHEL4-U4-i386-ES/​ +
-  text +
   install   install
-  ​cdrom +  ​url --url http://​10.0.0.2/​depot/​linux/​rhel/​el5_i386 
-  lang en_US.UTF-8 +  lang fr_FR.UTF-8
-  langsupport --default=en_US.UTF-8 en_US.UTF-8+
   keyboard fr-latin9   keyboard fr-latin9
-  ​xconfig --card "​VMWare"​ --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 +  network --device eth0 --noipv6 ​--bootproto dhcp --hostname newhost 
-  ​network --device eth0 --bootproto dhcp +  rootpw --iscrypted $1$gHsf3I9X$tJ/6mDeRKRfPMmSIYXqlk0
-  rootpw --iscrypted $1$o1IaOzfb$qQ/FLSCSCpaePggWd3VFh.+
   firewall --disabled   firewall --disabled
-  selinux --disabled 
   authconfig --enableshadow --enablemd5   authconfig --enableshadow --enablemd5
-  timezone Europe/​Paris +  ​selinux --disabled 
-  bootloader --location=mbr+  ​timezone ​--utc Europe/​Paris 
 +  skipx 
 +  text 
 +  bootloader --location=mbr ​--driveorder=sda
   # The following is the partition information you requested   # The following is the partition information you requested
   # Note that any partitions you deleted are not expressed   # Note that any partitions you deleted are not expressed
   # here so unless you clear all partitions first, this is   # here so unless you clear all partitions first, this is
   # not guaranteed to work   # not guaranteed to work
-  clearpart --all +  ​#clearpart ​--linux 
-  ​#part /boot --fstype ext3 --size=100 --asprimary +  zerombr 
-  part /boot --fstype ext3 --size=100 --asprimary ​--ondisk=sda +  clearpart --drives=sda ​--all 
-  part pv.3 --size=100 --grow ​--asprimary +  part /boot --fstype ext3 --size=128 --asprimary 
-  ​volgroup rootvg --pesize=32768 pv.3 +  part / --fstype ext3 --size=--grow --asprimary 
-  logvol ​/ --fstype ext3 --name=lvroot --vgname=rootvg ​--size=2016 +  part swap --size=256 --asprimary 
-  ​logvol ​/var --fstype ext3 --name=lvvar --vgname=rootvg ​--size=1024 +  ​part /var --fstype ext3 --size=400 
-  ​logvol swap --fstype swap --name=lvswap --vgname=rootvg --size=256 +  ​part /tmp --fstype ext3 --size=200 
-  ​logvol /home --fstype ext3 --name=lvhome --vgname=rootvg --size=640 +   
 +  ​key --skip 
 +   
 +  reboot 
 +  ​
   %packages   %packages
-  ​grub+  ​#### Paquetages installés 
 +  # Support de la langue francaise 
 +  @ french-support
   e2fsprogs   e2fsprogs
-  ​kernel +  ​grub 
-  ​lvm2 +  ​# Client et Serveur SSH 
 +  ​openssh 
 +  openssh-clients 
 +  openssh-server 
 +  # MTA 
 +  postfix 
 +  # Outils de gestion des paquetages 
 +  yum 
 +  yum-rhn-plugin 
 +  rhn-setup 
 +  #Outils de monitoring 
 +  strace 
 +  sysstat 
 +  net-snmp 
 +  net-snmp-utils 
 +  # Installation Client Server X 
 +  xorg-x11-xauth 
 +  xorg-x11-fonts-Type1 
 +  xterm 
 +  # Divers 
 +  screen 
 +  subversion 
 +  libstdc++ 
 +  ntp 
 +   
 +  #### Paquetages non installé 
 +  -rhnsd 
 +  -yum-updatesd 
 +  -NetworkManager 
 +  -bluez-utils 
 +  -wpa_supplicant 
 +  -irda-utils 
 +  -coolkey 
 +  -ifd-egate 
 +  -ccid 
 +  -pcsc-lite 
 +  -ypbind 
 +  -yp-tools 
 +  ​
   %post   %post
  
- +==== Liens ==== 
 +  * http://​www.redhat.com/​docs/​manuals/​enterprise/​RHEL-5-manual/​Installation_Guide-en-US/​s1-kickstart2-options.html
informatique/linux/kickstart.1213876464.txt.gz · Dernière modification: 2018/09/06 19:00 (modification externe)