TimeLinux1

Tuesday, September 21, 2010

Linux HowTo: Automated Install on Ubuntu - KickStart, PreSeed, Diskless Clients

-ubuntu automated install is based on redhat-kickstart and debian-preseed.
-diskless client -  multiple terminals running on a remote computer.
-automated install process:
        . boot to install screen
        . point to appropriate config file
        . let install proceed on its own
-debian-preseed is more flexible but no gui. redhat-kickstart has a gui.
-kickstart install:
        # sudo apt-get install system-config-kickstart
        # system-config-kickstart        - to config the install-text file
        . onscreen-dialog: 'File > save'    - to save install-text file
        . save to an http or ftp server
        . boot from install cd, press esc, type the foll:
        . boot: install ks=http://<ip addr>/<kickstart text file>
-note:    a kickstart install file based on current config is in works for ubuntu.
-'zerombr yes'    - option in the kickstart install file to wipe out previos mbr.
-preseed install:   
        . needs pkg debconf-utils
        . ubuntu install disk has a file called 'example-preseed.txt.gz'
        . in this file most lines start with 'd-i' short for debian installer

-diskless clients - are terminals running on older h/w but are not dumb terminals.
-diskless clients - dont require hard drive, but a monitor and video card
-diskless clients - use dhcp for ip addr assignment and
              - use tftp (trivial ftp) for file share across n/w
-tftp is insecure and runs on port 69. it should be blocked beyond local n/w.
-diskless clients / tftp - based on linux terminal server project (ltsp).
-diskless clients - require ltsp-server-standalone package
        # sudo apt-get install ltsp-server-standalone

-dhcp config file- /etc/dhcp3/dhcpd.conf &
             - /etc/dhcpd.conf

No comments:

Post a Comment