Linux getting started Tutorial: automatic installation script kickstart
Installing linux (My RedHat6.4 is used) during our exercises is complicated. There are thousands of computers in the enterprise. It is obviously time-consuming to manually set up and install them. Therefore, we need to use an automatic installation script. The program provided by redhat is kickstart. It is still very powerful. Next we will try to create an automatic installation script and execute the automatic installation.
----------------------------- Split line -----------------------------
Use PXE + DHCP + Apache + Kickstart to install CentOS5.8 x86_64
Linux PXE unattended installation of PXE-E32: TFTP OPen timeout Solution
Use PXE and kickstart to automatically install Linux
RHCE-certified unattended Linux system installation (FTP + TFTP + DHCP + Kickstart + PXE)
PXE network installation (on-duty and unattended installation)
----------------------------- Split line -----------------------------
1. Install the kickstart Program
The kickstart program system is not installed by default. To solve this problem, run the following command:
After executing this command, we can find it: (fourth to last, haha)
2. Use kickstart
After entering the main interface, it is actually very similar to the options we used during manual installation, but this time we can set it and save it as a file (format *. cfg ).
(1) the options in Basic Configuration include language, keyboard, time, and super user password settings. I will first demonstrate them.
Note that this option is selected one by one in the order on the left to prevent missing or disordered selections.
(2) Next we will set the installation source and mode:
(3) next:
(4) set our partitions:
(5) Add a NIC:
For more details, please continue to read the highlights on the next page: