First, use the VSFTPD service to get the system source on the remote server (System source we use the ISO CD file, copy it to the FTP server directory)
1, installation Vsftp
Yum Install Vsftp
2. Connect the system CD to the virtual machine and mount it to the/mnt directory.
3. Copy all files under the/mnt directory to the/var/ftp/pub/directory to provide the installation source.
Second, use the DHCP service to assign an IP address to the host that needs to install the system.
1. Install DHCP service
Yum Install DHCP
2, configure the DHCP server, edit the vim/etc/dhcp/dhcpd.conf file, the content is:
Subnet and netmask Specify the network segment, range indicates the extent of the segment, and option routers indicates the route
Third, the use of graphical interface to generate automated scripts (ks.cfg files), installation of System-config-kickstart tools
1. Install the graphical KS file Generation tool
Yum Install System-config-kickstart
2, System-config-kickstart & Open the graphical tool to configure, generate KS file.
Iv. self-starting ISO (using isolinux from CD-ROM as Startup disk)
1, we will copy the/mnt/isolinux directory to the/root/iso/directory, the ISO directory needs to be created
Mkdir/root/iso
cp-rf/mnt/isolinux/root/iso/
Go to the/root/iso directory to change the isolinux/isolinux.cfg file
Then force the Save to exit
2. Exit to the/root directory to make the ISO file
3. Copy the ISO file to boot.
Copy to Desktop
4. Below we start the DHCP and FTP service, turn off firewall and SELinux service
Setenforce 0
Iptables-f
Service DHCPD Restart
Service VSTFPD Restart
5, create a new virtual machine, and then use their own to do boot.iso boot boot
Ask for at least 80G of disc size, and the next step is to start the installation completely automatically.
Just wait for the installation to finish. Isn't it convenient?
This is I step by step operation, rarely introduce theory, need theoretical things can learn from other materials
Unattended, automated installation of Linux operating systems