Supprimer Rendre public Rendre privé Add tags Delete tags
  Ajouter un tag   Annuler
  Supprimer le tag   Annuler
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Connexion

Kickstart – Automate Linux Install/shaare/MZrKcg

  • linux
  • linux

  1. Kickstart server

  2. Make Kickstart available on the network

  3. Make installation source available

  4. Make boot media available

  5. Start Kickstart installation

    cd /root
    anaconda-ks.cfg   # create for 1st install in root folder
  6. Steps:

    • cp /root/anaconda-ks.cfg /var/www/html/
    • chmod a+r /var/www/html/anaconda-ks.cfg
    • systemctl stop|disable firewalld
    • Create new VM with CentOS DVD ISO

      • Start VM → set boot to DVD
      • Change network adapter to bridged adapter
    • Boot: linux ks=https://192.168.1.x/anaconda-ks.cfg
    • Start automated installation

Example network config:

ksdevice=eth0 ip=192.168.0.50 \
netmask=255.255.255.0 \
gateway=192.168.0.1
8 months ago Permalien
cluster icon
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...
  • Screen & Tmux : Screen (Terminal Multiplexer) Multi-terminal sessions in one window Alt+a | → split vertical Alt+a Shift+s → split horizontal Alt+a Tab → switch wind...
  • Share folder (NFS and Samba) : NFS → Network File System Share folder NFS Server dnf install nfs-utils libnfsidmap systemctl enable rpcbind systemctl enable nfs-server ...
  • Firewall : Enable firewall firewall-config → GUI for options add ports firewall-cmd → CLI cat /etc/sysconfig/iptables-config cat /etc/firewalld/firewalld.co...
  • Bash : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...


(110)
Filtrer par liens sans tag
Replier Replier tout Déplier Déplier tout Êtes-vous sûr de vouloir supprimer ce lien ? Êtes-vous sûr de vouloir supprimer ce tag ? Le gestionnaire de marque-pages personnel, minimaliste, et sans base de données par la communauté Shaarli